doubu7134 2013-05-15 10:36
浏览 140
已采纳

麻烦整合paypal信用卡付款

I have setup express checkout on a php custom site for payments. Basically it shows me the classic screen of paypal with the order summary and the "choose a way to pay" options.

How do I detect which one the user has clicked on? Paypal option or "pay with a credit card" option, so that I would either do a DoExpressCheckout or a DoDirectPayment NVP API call?

I've been using the code from here (Saraan's site) to use the token for paypal.

  • 写回答

1条回答 默认 最新

  • doufei1852 2013-05-15 15:25
    关注

    If you are using Express Checkout, regardless if the buyer selects to log in with their PayPal account and make the payment, or select the guest checkout and pay with a credit card on PayPal pages you would still use the DoExpressCheckoutPayment API to complete the payment. You would not need to do the DoDirectPayment API call. This call would be used if you were setting up a payment page directly on your site, and did not want the buyer to leave your site to enter in their credit card information.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 fluent的在模拟压强时使用希望得到一些建议
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用
  • ¥15 Web.config连不上数据库
  • ¥15 我想付费需要AKM公司DSP开发资料及相关开发。
  • ¥15 怎么配置广告联盟瀑布流
  • ¥15 Rstudio 保存代码闪退