问题
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.
Question: It is possible to to tell Paypal to charge selected items as subscription and the others as one-time payments?
Thanks in advance.
回答1:
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).
Caveat: This is a WIP for me, relaying what information I could find.
来源:https://stackoverflow.com/questions/19194872/paypal-express-checkout-mixed-recurring-and-non-recurring-items