• Resolved nunks

    (@nunks)


    Hello,

    I’d like to know how to get checkout information asked from the user by PayPal Express, since I need it for tax invoicing purposes in my country, mainly billing name and address.

    I’m experimenting with PMPro and PayPal Express checkout on a testing account and was first puzzled by the fact that the checkout form consists of just the PayPal button, no billing address and other details asked.

    I then thought this information would surely be asked by PayPal and sent back via IPN (since I’m setting up recurring membership payments), so I turned on IPN debug logging and also logged to file the variables passed to the pmpro_after_checkout hook, but the info I need is nowhere to be found, the IPN info is logged to file, but without any address fields. The respective fields (billing_name/street/zip…) in the wp_pmpro_membership_orders table are also empty for the test order.

    Am I missing something, or expecting something that shouldn’t happen in reality, here? Are these fields supposed to be filled after a successful order? Is this happening because I’m trying this in a test setting?

    I know I can add the fields I need with PMPro Registration Helper plug-in, but would like to receive feedback on what is the best approach for my needs before going that route.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    Hi @nunks

    PayPal Express doesn’t require billing fields to process the charge. This information may be stored inside PayPal payment information but doesn’t automatically link to Paid Memberships Pro.

    To add billing fields to your checkout, you may use the Capture Name & Address for Free Levels or for Offsite Gateway Add On -https://www.paidmembershipspro.com/add-ons/capture-name-address-free-levels-offsite-gateway/

    When using the above Add On it will capture the details to the order.

    Alternatively, the billing fields can be done via Register Helper as well, please create these fields using the default billing field names in order for them to save to the order correctly.

    Please note that these solutions are on Paid Memberships Pro side and does not synchronize the data between the gateway, as the customer would need to login to their PayPal account and adjust their details from their merchant account (for PayPal).

    You may use this Add On for free by visiting – https://www.paidmembershipspro.com/free

    Thread Starter nunks

    (@nunks)

    Thank you very much for the clarification, @andrewza

    I’ll consider the options you gave me, as well as maybe get a bit more involved in the future and try to pull the data via the PayPal API.

    Thanks again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Paypal Express Billing Address’ is closed to new replies.