Name appearing in PayPal transactions - Stack Overflow

admin2025-04-15  2

I managed to handle PayPal payment transactions with REST API calls and a minimal browser interaction; this interaction is only requested for handling direct credit card payments without worrying for 3D2, SAQ D, etc. compliance, and is carried out through the custom cardFields of PayPal SDK. These fields, along with the PayPal main button, are rendered on a mobile app, not in a web site, and the request, through the PayPal SDK is handled by a web service for creating the order and capture the corresponding payment. Everything works fine, either in sandbox and live, but I cannot find any info on the REST API docs on passing a name for the payer. If I complete an order with my fake PayPal account, I see the name associated with the account (the well-known John Doe...) in the merchant sandbox transaction dashboard, but if I complete the order with a direct card payment no name appears in the transaction. I receive the callback from their SDK with the transaction id, but I cannot find a way to associate a name to the transaction, so identifying the payer is a hard task for the payee. A name appears only if I use one of the fake cards generated from PayPal. Anyone have an idea where can I pass such info ?

P.S.: I've managed to have the customer's name appearing in the transaction dashboard, through the payer object of the order's body. But PayPal has classified such object as deprecated, and putting the customer's name in the suggested object (payment_source.paypal) doesn't work.

转载请注明原文地址:http://www.anycun.com/QandA/1744726350a86770.html