如何允许用户通过PayPal的REST API进行付款,而不必注册贝宝帐户? [英] How do I allow the user to pay via PayPal's REST API, but without them having to register a PayPal account?

查看:261
本文介绍了如何允许用户通过PayPal的REST API进行付款,而不必注册贝宝帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我想要的用例:

  • 我通过PayPal的REST API创建付款.
  • 我给用户付款的链接,该链接由PayPal发送给我,供用户遵循.
  • 用户选择是通过其PayPal帐户,存储的信用卡还是立即通过信用卡进行付款而无需注册 .
  • 我收到确认信.

除了倒数第二步,我可以做所有事情:我只能成功之一:

I can do everything except the penultimate step: I only manage to succeed either:

  • 允许用户通过其现有的PayPal帐户付款,或
  • 允许用户通过信用卡付款他们给了我详细信息.

我不想知道他们的信用卡号.我只想让他们通过贝宝(em)通过贝宝(em)支付他们想要的任何方式,然后将确认发送给我.

I don't want to know their credit card number. All I want is for them to pay any way they want, via PayPal, and then have a confirmation sent to me.

这可能吗?

如果是,怎么办?

谢谢!

推荐答案

您可以使用新的 REST API 完成您所提及的内容.

You can use the new REST API to do what you are mentioning.

要进行检查,我建议尝试使用sample/payments/CreatePaymentUsingPayPal.php.

To check it out, I would recommend trying sample/payments/CreatePaymentUsingPayPal.php.

关注下图所示: 打开样本.点击PayPal帐户付款Execute button {2nd链接} 使用该网址转到Paypal进行付款 这将打开此默认页面.注意按钮借记卡或信用卡付款" 填满并享受

Follow the Images shown below: Open the Samples. Click on PayPal Account Payments Execute button {2nd Link} Use the URL to go to Paypal to pay This will open this default page. Notice the button Pay with Debit or Credit Card Fill it up and enjoy

这篇关于如何允许用户通过PayPal的REST API进行付款,而不必注册贝宝帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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