Return url on payment success contains no POST data with rm='2' when auto return is on

frankni
Contributor
Contributor

My html form is like below:

 

 

<form action='https://www.sandbox.paypal.com/cgi-bin/webscr' method='POST'>
<input type='hidden' name='cmd' value='_s-xclick'>
<input type='submit' value='Continue &gt;&gt;'>
<input type='hidden' name='encrypted' value='-----BEGIN PKCS7-----

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-----END PKCS7-----
'>
</form>

 

 

Inside the encrypted data, I set rm='2'.

 

When I turn off auto return from my seller account, buyer clicks the return button after successful payment, the return url has all POST payment data.

 

When I turn on auto return from my seller account, the return url has empty data. No POST are sent to me.

 

This happens on both sandbox and live

 

What do I do wrong?

Login to Me Too
1 REPLY 1

frankni
Contributor
Contributor

Anyone helps, please?

 

 

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.