Redirection to the original site after purchase is completed in Paypal

前端 未结 3 1555
逝去的感伤
逝去的感伤 2020-12-18 17:25

I\'m making one web app. I\'ve integrated Paypal in it using simple form submission to the Paypal site. Everything works well. but whenever the payment gets successful it sh

3条回答
  •  萌比男神i
    2020-12-18 17:55

    According to the spec for PayPal button parameters, you need to set the return method.

    
    
    

    The values are as follows:

    • 0 - Don't redirect, and use GET.
    • 1 - Automatically redirect to the return URL using GET.
    • 2 - Automatically redirect to the return URL using POST, including all payment variables.

提交回复
热议问题