The email and the name of the buyer from the previous payment are entered into the table

vrpr
Contributor
Contributor

I am writing a WordPress plugin that adds a paypal payment button to the page. I'm testing payments through a sandbox. I'm testing card payment (card data taken from Developer.paypal.com). When I enter card details, I also enter the payer's email and name. Then this data should be displayed in the admin section in the "Orders" table and an email will be sent to the buyer.

 

Sometimes it works correctly, but most often, for some reason, the email and the name of the buyer from the previous payment are entered into the table and, accordingly, the letter is sent to the wrong place.

 

Why is this happening?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.