I am searching for a way to implement PayPal Express Checkout for a subscription model on a website.
People only need to enter an email address to buy a subscription for an easy purchase flow = we don't get any PII like first name + last name + address = we can't analyze customer data.
I am trying to find a way to get the PayPal PII from that PayPal account while only requiring an email address on our site to make the purchase as easy as possible.
So far I found:
- https://developer.paypal.com/docs/archive/express-checkout/ec-get-payment-details/
- https://developer.paypal.com/api/nvp-soap/do-express-checkout-payment-nvp/
- https://developer.paypal.com/api/nvp-soap/get-express-checkout-details-soap/
which should work according to the docs for my use case with using GetExpressCheckoutDetails. But all those are deprecated/legacy.
Is there a modern replacement for GetExpressCheckoutDetails? Couldn't find anything in the current recommended REST API (https://developer.paypal.com/api/rest/).
When using a current Subscriptions integration, whether it be a custom API+JS SDK integration or created via www.sandbox.paypal.com/billing/plans , the resulting profile id will have collected a shipping address by default. Example response:
Billing information, such as the name and address associated with a card used, or address of the PayPal account, is kept private to the sender's PayPal account by design. (This security is one of the advantages of using PayPal as a payment method on random websites a payer hasn't done business with before)
If you need to collect additional information along with a subscription, use your own form fields.