This repository was archived by the owner on Feb 27, 2023. It is now read-only.
v17.0.0
Breaking changes
- Passing
amount
andcurrency
is ignored, hardcoded on the backend instead. (https://jira.corp.stripe.com/browse/IOS-242)
Automatic PI confirmation:
- Rename
create_intent
->create_payment_intent
Manual PI confirmation:
- Instead of
capture_payment
, callconfirm_payment_intent
. Passpayment_method_id
instead ofpayment_method
. - Instead of
confirm_payment
, callconfirm_payment_intent
. - Instead of returning
secret
, if the PI status is...requires_action
-> returnsrequires_action: true, secret: abc
requires_capture
orsucceeded
-> returnssuccess: true
- anything else -> 500