Paid Memberships Pro
[resolved] Rrequire first/last name extension no longer working (6 posts)

  1. essaysnark
    Posted 2 years ago #

    Hey Jason - Sometime in the past month or so, after upgrading either PMPro (we're on 1.6.1) or WP (we're on 3.5.1), our extension to include the user's first and last names stopped working.

    Specifically, it's still showing the fields on the signup screen, but they're not being captured in the user meta in WP after the transaction is complete. It saves only the default PMPRo user fields.

    We're using the PayPal Standard integration and had implemented the code from http://www.paidmembershipspro.com/2011/09/add-first-and-last-name-fields-to-the-checkout-form/ (also tried https://gist.github.com/1389944 ). We've disabled all but the PMPro plugin and our customization plugin to test, no dice.

    Any ideas?


  2. ladypop2012
    Posted 2 years ago #

    @EssaySnark Hows it going? Just wanted to stop by and help you out, being that this ext requires you to add this to your Functions.php file of the active theme you are using? My thought would be to ask Did you update your theme recently possibly overwriting your functions.php file.

    If you did have important details within you functions.php file, you can possible retrieve a backup from your hosting provider. Just tell them the case and they can possible go back and get the old file, usually within a week of the last previous update the hosting provider ran.

    That would be my idea on this matter, buzz back in if you have any further details on this.


  3. essaysnark
    Posted 2 years ago #

    Hi ladypop2012 - The code is in its own plugin, and had previously been working. We've tested it as the only plugin enabled with PMPRo and it's not working now. That's why we've asked Jason about it. Thanks though!

  4. essaysnark
    Posted 2 years ago #

    OK, figured it out. We'd changed the PMPro payment setting from PayPal Express to PayPal Standard a few weeks ago to try and fix some other issues, and it resulted in this behavior with the first-last not saving. Changing the PMPro setting back to PayPal Express gets the names to save in the user meta.

    So the new question for Jason: Do you know of any reason why the extra-fields extension wouldn't work when PMPro is set to PayPal Standard?

    Our actual PayPal account type is PayPal Standard.

  5. Jason Coleman
    Plugin Author

    Posted 2 years ago #

    Essaysnark, if you implemented that code a while ago, it might not have been written in a way to function with PayPal Standard.

    PayPal Standard works a bit different than the other versions of PayPal. It would be best to use the register helper plugin to add those fields now: https://github.com/strangerstudios/pmpro-register-helper

  6. essaysnark
    Posted 2 years ago #

    Thanks a bunch, Jason, appreciate the quick response. We actually may stick with the PayPal Express setting now - the flow for customer signups on the PayPal side is waaaay better. If we need to switch back to PayPal Standard then we'll be sure to grab that new plugin.

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Paid Memberships Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.