PayPal Refund URL Not Working

I have a form like this:

<input type='hidden' name='cmd' value='_xclick'> <input type='hidden' name='business' value=' co_1331738237_per@gmail.com '> <input type='hidden' name='item_name' value='Nueva compra en mi web'> <input type='hidden' name='amount' value='10.15'> <input type='hidden' name='page_style' value='primary'> <input type='hidden' name='no_shipping' value='1'> <input type='hidden' name='return' value='http://someurl.com/reserva-realizada/'> <input type='hidden' name='rm' value='2'> <input type='hidden' name='cancel_return' value='http://someurl.com/reserva-cancelada/'> <input type='hidden' name='no_note' value='0'> <input type='hidden' name='first_name' value='NOMBRE'> <input type='hidden' name='last_name' value='APELLIDOS'> <input type='hidden' name='night_phone_b' value='TELÉFONO'> <input type='hidden' name='custom' value='Nota'> <input type='hidden' name='lc' value='es'> <input type="hidden" name="currency_code" value="EUR"> <input type='hidden' name='country' value='ES'> 

The problem is that after payment I need to sing the user on my site and return it does not work. When I tried to pay something in the paypal sandbox, it does not return ...

Any idea?

+4
source share
1 answer

go to your PayPal sales agent account β†’ Settings - Website sale settings β†’ Automatic return to the website Payments, turn on the switch, by default it should turn off. Hope this helps you.

+6
source

Source: https://habr.com/ru/post/1437414/


All Articles