项目中用到stripe去支付
需要在发单人发布任务时,预扣对应的费用,以便于确保任务完毕后,能有足够的资金支付
所以需要去研究stripe的预扣费用 预付费用 这方面的内容
python – Stripe – Check Card balance – Stack Overflow
Can I check whether a card is valid without charging it at the same time? : Stripe: Help & Support
Stripe API Reference Create a charge
stripe pre charge
->
两步支付 two-step payments
auth and capture
-》
auth==authorization授权 ==pre-authorization
capture==支付?
先auth,7天内再capture
Does Stripe support auth and capture? : Stripe: Help & Support
偶尔,有些银行,会把预授权,作为,实际的,真正的,扣款去处理
-》
邮件接收电子收据:
Auth, Capture, and two-step payment flows
Why does my customer see a $1 charge when their payment failed? : Stripe: Help & Support
Does Stripe support deferring a credit card charge? – Quora
The Life of a Stripe Charge :: Mastering Modern Payments
然后再去研究,如何去取消预授权:
stripe.net – Stripe cancel a pre-authorization – Stack Overflow
Does Stripe support auth and capture? : Stripe: Help & Support
“Note that a charge must be captured within seven days or it will be cancelled. You can also manually cancel an uncaptured payment by refunding it via the API or in your dashboard.”
-》可以得知,如果想要取消预授权的话,可以去调用:refund接口
Stripe API Reference Create a refund
转载请注明:在路上 » 【已解决】stripe预扣款(预授权)和取消预授权