paypal - Payment and billing plan in one transaction -
this first time using paypal api go easy on me.
the case trying handle follows: customers can purchase software licenses can either 1 time payments, or yearly payments. can multiple products cart, , each product can have either 1 of pricing plans mentioned above.
if understand correctly, "payments" in api handle 1 time transactions, , "billing plans" used recurring payments.
is possible processes both in 1 call api? if not, there different way achieve this?
any suggestions appreciated! tia!
not 1 api call, can in 1 checkout flow multiple api calls.
for paypal wallet payments (logging in paypal , paying) recommend using express checkout w/ recurring payments.
with using setexpresscheckout, getexpresscheckoutdetails, , either doexpresscheckoutpayment, createrecurringpaymentsprofile, or combination of both of depending on products in card , whether need one-time payment or recurring.
the crpp call allow setup recurring profile , include "initial payment" charged when profile created. used 1 time payment if want, , wouldn't need decp call.
alternatively, use decp process 1 time payment , follow crpp create profile. there advantages , disadvantages different methods depending on business needs.
for setting profiles direct credit cards you'll need paypal payments pro. in case either use same crpp call mentioned above, used , include credit card details. or, depending on version of pro put on, depends on version of paypal account have, might end using payflow instead.
if you're working php paypal php sdk make of api calls quick , easy you.
i know that's pretty broad answer, that's because it's pretty broad question. :)
Comments
Post a Comment