0

我正在将 PayPal 集成到我的 Web 应用程序中。在这里我想做完整的结帐流程。它有直接付款和快速结帐。

In Express checkout we need only PayPal account like 

1)Clicking Check out with PayPal
2) Logs into PayPal to authenticate
3)Reviews the transaction on PayPal
4)Confirms the order and pays from your site
5)Receives an order confirmation 

In Direct checkout(A generic checkout flow),
1)Checks out from the shopping cart page
2)Provides shipping information
3)Chooses a payment option and provides
4)billing and payment information
5)Reviews the order and pays
6)Receives an order confirmation

这就是流量。在直接结帐中,当您选择付款方式为 PayPal(第 3 步)时,您需要登录并付款。无论如何,PayPal 帐户中都有一个默认送货地址,而且您必须在第 2 步中提供送货地址。

现在我想将完整的购物车详细信息和送货地址发送到 PayPal?我想在这里直接结帐(通用结帐流程)?任何人都可以帮我做到这一点吗?

4

1 回答 1

0

使用 Express Checkout 和 DoDirectPayment (Website Payments Pro)。Express Checkout 为您提供重定向到 PayPal 和登录功能,而 DoDirectPayment 允许您直接在您的网站上进行卡付款。
此外,您可以通过在 SetExpressCheckout API 调用中指定 ADDROVERRIDE=1 来覆盖买家的 PayPal 配置文件送货地址。请记住,您还需要传递适当的送货地址详细信息。

https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_SetExpressCheckout

于 2011-06-28T12:22:05.467 回答