Capture Membership 2 Pro address, city, state, and zip code

We're trying to have Membership 2 Pro plugin capture City, State, and Zip code just as it does with name and country. This will further secure our credit card transactions. Plus we would like to have that information sent in the automated emails that go out to the customer and administrator so they can send out the printed newspaper to the customer through the mail.

  • Kasia Swiderska

    Hello Robert,

    I tried to check how your site is now working but I cannot access it - I see only this error:

    Your access to this site has been limited
    
    Your access to this service has been temporarily limited. Please try again in a few minutes. (HTTP response code 503)
    
    Reason: Access from your area has been temporarily limited for security reasons

    I'm currently connection from Serbia - is that a reason I'm blocked?

    Are you using BuddyPress extended profile fields to add country name to registration form or other method to add new fileds to registration form?

    kind regards,
    Kasia

  • Rupok

    Hi Bob, hope you had a wonderful day.

    At least I could check your registration process. What I found is you are using regular registration procedure. No custom input fields are there now. But you said "just as it does with name and country" and I didn't have to enter my country anywhere during my signup with membership process.

    I registered from "http://okobserver.net/register-3/?step=register" this URL. Is this the current location?

    However, you can add extra fields in your Membership signup form with this plugin: https://wordpress.org/plugins/cimy-user-extra-fields/

    It should integrate automatically with Membership 2 registration form. Can you try this and let us know how it goes? Please let us know if you face any difficulty in doing this. We will be glad to investigate further.

    Have a nice day. Cheers!
    Rupok

  • Adam Czajczyk

    Hello Robert!

    Any extra fields captured by WordPress registration will not be used directly by payment processor. Data that you get in an e-mail from payment gateway/processor is the data gathered by either them directly during payment process or by their API (which is implemented following official guidance) from data that is provided during registration. What I mean is that it's the matter of payment gateway implementation and that is only done in a way that's officially documented and required by payment gateway operator.

    To be able to send values of extra fields gathered during registration to the subscriber via an e-mail that the subscriber gets from payment processor, a custom implementation of that payment processing API would be required and I'm not sure if every gateway lets you pass all additional info to that.

    The option could be to send an additional e-mail directly from your site and such an e-mail could include data from registration but would probably not include all the data that's automatically send by payment gateway. Usually, any additional data about the user is stored as user meta:

    https://codex.wordpress.org/Function_Reference/get_user_meta

    With some custom coding based on WP core functions and (optionally) Membership 2 Pro API (that's documented "in plugin" on Membership 2 -> Help -> API Docs page) that should be possible to achieve. It would however require custom development so you may want to post a question on our "Jobs & Pros" job board (please note: no WPMU DEV staff involved!) here:

    https://premium.wpmudev.org/wordpress-development/

    Kind regards,
    Adam