0

What is the correct way to track PayPal purchases that use the standard payment button?

I see on https://www.x.com/developers/paypal/documentation-tools/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables I can fill out the return and rm parameters, but I read somewhere that it requires the user to click "continue" in their browser after the payment has been completed in order to be redirected back to your site. So if they just close the browser it doesn't register accurately.

Also, for the 'rm' parameter it says that if you specify 2, the buyer's browser is redirected and all payment variables are included via POST. But what are the payment variables??

Also how can I test that it's working correctly without actually paying myself?

2
Contributors
2
Replies
15
Views
4 Years
Discussion Span
Last Post by LastMitch
0

but I read somewhere that it requires the user to click "continue" in their browser after the payment has been completed in order to be redirected back to your site. So if they just close the browser it doesn't register accurately.

Yes, the link you find is correct.

You can edit the paypal page to return to original site. You add Daniweb logo on that paypal page.

Also, for the 'rm' parameter it says that if you specify 2, the buyer's browser is redirected and all payment variables are included via POST.

When customer double checking the info & items on the checkout sheet and then they click submit button to submit the checkout sheet.

Once it is submit the info will go to 2 directions.

The 1st direction it will insert the info in the database.

The 2nd direction it will redirect to the PayPal page for customer to enter payment info (credit card) the paypal form is filled already from the checkout sheet.

But what are the payment variables??

This is the form:

https://www.paypal.com/cgi-bin/webscr?cmd=_pdn_xclick_prepopulate_outside

Also how can I test that it's working correctly without actually paying myself?

You can test it out here (#3 - Test your integration):

https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-integration-outside

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.