Can't get the correct parameters from paypal's new screen

falah
New Community Member

Please I really need help. Thank you!

i´m developing an application in rails, my problem is that now, with the new design of paypal's screen, when it redirects the client to my web page to notify him if the transaction has been done correctly, i only get in [: params] the controller's and the action's name, when I should recieve this two params: [: payment_status] and [: payer_status].

 

I'll try to explain it better, sometimes, when the user finishes the checkout on my web page and clicks on the "buy" button, my page redirects him to a paypal screen that has the description of the products buyed in the top of the page, and sometimes to another screen that has the description in the right side of the screen.

 

After he pays on paypal, he has the option to return to my page, where he would be notified with a message like "The transaction has been done". The problem is that always that the user is redirected to the second paypal's screen, after he pays and returns to my page, appears a message like "The transaction could not be finished correctly", because, like i said before i don't get the correct parameters. But always that the user is redirected from the first screen, i get the correct parameters and i can show the "transaction completed" message correctly.

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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