Paypal BuyNow - GET instead of POST with params for returnUrl

前端 未结 1 849
遥遥无期
遥遥无期 2020-12-21 06:39

I´m running into an issue that I detected today. I have the following paypal button config :

1条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-21 06:58

    We had the same problem. You need to enable "PDT", then the custom field will be returned in the "cm" variable of the return url post.

    "Auto Return" also needs to be enabled to use "PDT", but you can still set the return URL in the button form post instead of in the "Auto Return" config if you need it to be dynamic.

    https://developer.paypal.com/docs/classic/products/payment-data-transfer/

    Try out this sandbox pay button and see what the response looks like when it is recorded on our return URL.

    
    
     
     
     
     
     
    
    
    
    

    0 讨论(0)
提交回复
热议问题