取消网址回应贝宝 [英] cancel url response paypal

查看:72
本文介绍了取消网址回应贝宝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是使用Paypal的新手,我将在1天内搜索此问题.我需要你们的帮助.我已经完成了Express Checkout API的编码,并且成功获得了付款交易,但是我的问题是取消网址.当我取消付款时,它会返回我的取消网址,并且贝宝会给出这样的网址http://www.example.com/?token=EC-75630865LV806263H

I'm new using paypal and I'm searching this question in 1 day. I need your help guys. I've done coding express checkout API and I successfully getting the payment transaction but my problem is the cancel url. When I cancel my payment, it returns to my cancel url and the paypal gives token like this url http://www.example.com/?token=EC-75630865LV806263H

当客户单击取消"并返回到我的取消URL时,是否可以获得客户的名字,姓氏或任何信息?

Is it possible to get the firstname, lastname or any info about the client when the client click the cancel and return to my cancel url?

如果可以的话,您可以给我链接或教程,以了解在取消url时如何获取客户端信息的情况.

If ever possible can you give me link or tutorial on how to get the info of client when do cancel url.

提前谢谢.

推荐答案

我不认为,因为通常在身份验证之前按下取消"按钮,但我也没有在过程中尝试过该按钮.通常情况下,他们会登录并确认付款,然后PayPal会将其退回您的付款完成页面.但是也可以调用 getExpressCheckoutDetails 验证后取消.再说一次,我从未尝试过.但是最糟糕的情况是PayPal无法返回任何东西.

I would assume not, since usually the cancel button is pressed before authentication but I've not tried it mid-process either. Normally the process is they log in, confirm payment and PayPal bounces them back to your payment completion page. But it could be possible to call getExpressCheckoutDetails if they cancel after authenticating. Again, I've never tried. But the worst that will happen is PayPal fails to return anything.

这篇关于取消网址回应贝宝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆