php - trouble integrating paypal credit card payment -
i have setup express checkout on php custom site payments. shows me classic screen of paypal order summary , "choose way pay" options.
how detect 1 user has clicked on? paypal option or "pay credit card" option, either doexpresscheckout or dodirectpayment nvp api call?
i've been using code here (saraan's site) use token paypal.
if using express checkout, regardless if buyer selects log in paypal account , make payment, or select guest checkout , pay credit card on paypal pages still use doexpresscheckoutpayment api complete payment. not need dodirectpayment api call. call used if setting payment page directly on site, , did not want buyer leave site enter in credit card information.
Comments
Post a Comment