Paypal Express结帐:重复发生的和非重复发生的项目 [英] Paypal Express Checkout: Mixed Recurring and Non-Recurring Items

查看:73
本文介绍了Paypal Express结帐:重复发生的和非重复发生的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用公司的购物车,其中装有人们可以订阅或直接购买的产品.问题在于它应该要求客户在单个订单中添加两种类型.

I am working on our company cart which contains products that people can either subscribe to or just buy outright. The problem is that it should require customers to add both types in a single order.

问题:是否可以告诉Paypal将选定的项目作为订阅收取费用,将其他项目作为一次性付款收取费用?

Question: It is possible to to tell Paypal to charge selected items as subscription and the others as one-time payments?

谢谢.

推荐答案

根据高级功能文档第47/48页,这可以通过以下方式来实现:调用SetExpressCheckout,将重复使用的产品作为BillingAgreements,而将其他产品正常调用,然后如果有一次性付款,则调用DoExpressCheckoutPayment,然后再使用CreateRecurringPaymentsProfile重复产品(最多10个).

According to the advanced features documentation page 47/48, this is possible by calling SetExpressCheckout with the recurring products as BillingAgreements and the other products as normal, then calling DoExpressCheckoutPayment if there are one-time payments followed by CreateRecurringPaymentsProfile for the recurring products (up to 10).

注意:这是我的WIP,传达了我可以找到的信息.

Caveat: This is a WIP for me, relaying what information I could find.

这篇关于Paypal Express结帐:重复发生的和非重复发生的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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