populating guest checkout form

andrearo
Contributor
Contributor

Hi there,

 

Using a custom form that sends information to Paypal using this URL: https://www.paypal.com/cgi-bin/webscr

 

The customer gets the option to login and pay using their paypal account  or pay as a guest. I  have used the Paypal variables to populate the guest form (if it selected) and all of these fields are populated correctly except "email". So, first_name, last_name, address1, etc. are all appear on the guest form, but the email variable does not.  What appears for email is the last email one used to attempt to login to Paypal (it has been cookied). Is there a way of overriding this? Perhaps clearing the cookies automatically before sending the email variable?

 

thank you to anyone who can help

Login to Me Too
2 REPLIES 2

MTS_Chiranjeevi
Moderator
Moderator

Good day @andrearo,

 

Thank you for posting to the PayPal community.

 

Yes, please make sure that your clearing the web browser cache/cookies and pass the valid payload to PayPal System.

 

https://developer.paypal.com/api/nvp-soap/paypal-payments-standard/integration-guide/Appx-websitesta...

 

PayPal Website Payments Standard (WPS) is a legacy integration. 

 

We recommend merchants to integrate our latest PayPal Checkout (Smart button) product soon.


Guide link : https://developer.paypal.com/docs/checkout/standard/ 


Please follow the below steps via your PayPal account. 

Login PayPal.com >> click on "settings icon" >> go to "Account settings" >> Website payments >> PayPal buttons >> select button type >> fill all the required details.

(Or)

Login PayPal.com >> go to direct link "https://www.paypal.com/buttons/" >> follow the above steps

 

If your still facing any issues, please create a MTS ticket via - https://www.paypal-support.com/s/?language=en_US  with the detail information and error details.

 

Sincerely,

Chiranjeevi

PayPal/Braintree MTS

 

If this post or any other was helpful, please enrich the community by giving kudos or accepting it as a solution.

Login to Me Too

andrearo
Contributor
Contributor

Thank you for your time. I will open a ticket. Not actually using a button, but a custom form. I was hoping to be able to clear the cache for the customer somehow so it populates with the email they enter on our form. 

 

I will look into the smart buttons and see if we can switch this, because, as you said, it is legacy. 

 

Andrea

Login to Me Too

Haven't Found your Answer?

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