Not getting the parameter value after payment completion

ghanshyamkumar1
Contributor
Contributor

Hi,

 

We have made a payment using sandbox account. But after payment, it is not redirecting me directly to the specified return URL of PayPal form.

I can see two buttons. First is "PayPal Account Overview" and 2nd is "Return to test Store". 2nd Button redirects me to the return URL which I specified but it doesn't pass the parameter value which I mentioned in the return URL of PayPal form.

 

Please help me to fix it.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hi @ghanshyamkumar1

Ensure you have enabled Auto Return and Payment Data Transfer within your account.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_profile-website-payments

Also ensure that your using the "RM" (return method) variable with a value of "2" (POST).

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitesta...

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
1 REPLY 1
Solved

MTS_Justin
Moderator
Moderator
Hi @ghanshyamkumar1

Ensure you have enabled Auto Return and Payment Data Transfer within your account.

https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_profile-website-payments

Also ensure that your using the "RM" (return method) variable with a value of "2" (POST).

https://developer.paypal.com/docs/classic/paypal-payments-standard/integration-guide/Appx_websitesta...

Was my post helpful? If so, please give me a kudos!
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.