populating guest checkout form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- PayPal Pay buttons a mysterious process in PayPal Payments Standard
- Guest checkout card billing address entered is being replaced in REST APIs
- Credit card payment error in woocommerce in PayPal Payments Standard
- Card issues open Guest Checkout popup in Braintree Client-side Integration (JS, iOS, Android SDKs)
- Payment link guest checkout in PayPal Payments Standard