Authorize/Capture for PayPal

后端 未结 1 1422
半阙折子戏
半阙折子戏 2021-02-11 02:55

Using PayPal IPN, can we implement delayed payment. Perfect example is Groupon where card is charged only when deal is tipped. Can someone throw light on implementation part usi

相关标签:
1条回答
  • 2021-02-11 03:17

    For Authorize And Capture:

    To make a payment authorize you will have to pass "authorization" in paymentmethod parameter instead of "sale"

      <input type="hidden" name="paymentaction" value="authorization" />
    

    So, For this type of payment, paypal will not charge the sender immediately but will wait till receiver confirmation. To capture this payment two methods are available:

    1. Receiver will either click on capture button in account
    2. It can be done via a API - to capture the payment use DoCapture and void the payment use DoVoid
    0 讨论(0)
提交回复
热议问题