Support » Plugin: MarketPress - WordPress eCommerce » Is AmEx a Supported Form of Payment?

  • Resolved jlmkl

    (@jlmkl)


    Theme: Twenty Eleven
    MarketPress Version 2.9.6.2

    I have had a couple of recent complaints from customers trying to use an AmEx card. Upon checkout, they only have the option of entering a 3-digit CVC, but AmEx’s CVC is 4 digits.

    I am using Simplify by MasterCard as our payment processor.

    Is there a way to accept a 4-digit CVC in the MarketPress checkout interface?

    Thanks for your help.

    https://wordpress.org/plugins/wordpress-ecommerce/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @jlmkl,

    I hope you’re doing great today! Good catch with this one, I searched the Simplify gateway files and found this on line 85 of
    \wordpress-ecommerce\marketpress-includes\plugins-gateway\simplify.php:

    $content .= '<div class="span4"><label for="cc-cvc">' . __('CVC', 'mp') . ': </label><input class="input-block-level" id="cc-cvc" type="text" maxlength="3" autocomplete="off" value="" placeholder="' . __('CVC', 'mp') . '" /></div>';

    The maxlength=”3″ appears to be the issue.

    You should be able to replace that like so:
    $content .= '<div class="span4"><label for="cc-cvc">' . __('CVC', 'mp') . ': </label><input class="input-block-level" id="cc-cvc" type="text" maxlength="4" autocomplete="off" value="" placeholder="' . __('CVC', 'mp') . '" /></div>';

    I’ll try and notify the developers so they can look into and update it if that sorts it.

    Perhaps that tiny edit will help with it for now though?

    Cheers,
    David

    Moderator Bet Hannon

    (@bethannon1)

    Support Team Volunteer Coordinator

    jlmkl, do be aware that when you change the code in the plugin files like this, it will be overwritten the next time you update the plugin.

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey guys,

    How are you doing today?

    @david thanks for helping! You’re awesome 🙂

    @bet Hannon thanks for your input 🙂 We do appreciate it! In this case editing plugin core files would be fine because for next release we’re intending to release major 3.0 update which is completely new rewritten version of the plugin.

    @jlmkl Please try solution provided by @davidm and let me know if this works for you. I’ve tested the new MarketPress with the same payment gateway and Security Code field doesn’t have this problem.

    Best regards,
    Bojan

    That seems to have worked!! Thanks so much. Can’t wait for the 3.0 update! Take care all.

    Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey again jlmkl,

    Glad to hear the above solution worked for you 🙂

    Have a nice day!

    Cheers,
    Bojan

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Is AmEx a Supported Form of Payment?’ is closed to new replies.