douquan1015 2012-02-23 09:02
浏览 40
已采纳

PayPal API定期付款

I need add recurring payments to my site. Before registration user must pay for example 10 GBP for 1 month and thereafter 9 GBP every month. I try to create recurring payment according to [PayPal][1]. But in IPN i am not recieved responce subscr_signup or other. When i completed doExpressChechoutPayment i recieved status Pending. How much time i must wait for authorization is complete? i use sandbox.

  • 写回答

1条回答 默认 最新

  • donglunzai4288 2012-02-24 00:22
    关注
     'PAYMENTREQUEST_0_PAYMENTACTION'=>urlencode('Authorization'),
    

    Should be:

     'PAYMENTREQUEST_0_PAYMENTACTION'=>urlencode('Sale'),
    

    An authorization will 'hold' the transaction amount (guaranteed by PayPal for up to 3 days, afterwards available for another 26 days), after which you can capture a partial or full amount of the authorized transaction.
    In order to immediately capture the funds, set the paymentaction to 'Sale'.
    See also PayPal.com: Using Authorization & Capture

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

报告相同问题?

悬赏问题

  • ¥15 vscode的问题提问
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类
  • ¥15 微带串馈天线阵列每个阵元宽度计算
  • ¥15 keil的map文件中Image component sizes各项意思
  • ¥20 求个正点原子stm32f407开发版的贪吃蛇游戏
  • ¥15 划分vlan后,链路不通了?
  • ¥20 求各位懂行的人,注册表能不能看到usb使用得具体信息,干了什么,传输了什么数据
  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 Centos / PETGEM