How to do return auto URL on paypal

4

I have a page with a form that, after submitted, sends the data to the paypal, after the client makes the payment I wanted it to be redirected to the return url that I send along with this form, however, whenever the client makes the payment is sent to a page that says that the payment has been finalized and the customer is only redirected to the url that indicated by clicking on the link that says "Click Here to return to ...". but I wanted it to go right to the page that in 10 sec is redirected

Follow the screen you want to jump:

IhavetheReturnURLactiveandconfiguredonthepaypalsite

Iwantedtheuserafterpaymenttobepromptlyredirectedtothispage,thusbeingredirecteddirectlytothesite.

    
asked by anonymous 04.02.2016 / 17:36

1 answer

0

Log in to your Paypal account and enable Auto Return.

You will usually find it in "Payment Preferences" (Selling Preferences).

There is a field for entering a return URL. You can place any URL because this URL can be customized in the payment requests.

The checkout parameters

return -> URL absoluta da página de retorno
rm -> 1: GET, 2: POST
custom -> parametro_que_vc_quer_receber=valor_desse_parametro

Example

return: http://foo.bar/order/paypal/return
rm: 2
custom: order_id=10

This will inform Paypal to return by the (rm == 2) POST method and include a order_id parameter with 10 value. The URL you will receive is http://foo.bar/order/paypal/return

For more references (English): link

IPN Listener

To reinforce, we recommend that you also set the notification URL.

The parameter is notify_url . To learn more, please see: link

    
04.02.2016 / 18:27