Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

v17.0.0

Compare
Choose a tag to compare
@yuki-stripe yuki-stripe released this 13 Sep 20:35
· 28 commits to master since this release
67cb89f

Breaking changes

Automatic PI confirmation:

  • Rename create_intent -> create_payment_intent

Manual PI confirmation:

  • Instead of capture_payment, call confirm_payment_intent. Pass payment_method_id instead of payment_method.
  • Instead of confirm_payment, call confirm_payment_intent.
  • Instead of returning secret, if the PI status is...
    • requires_action -> returns requires_action: true, secret: abc
    • requires_capture or succeeded -> returns success: true
    • anything else -> 500

Other changes

  • Fixed webhooks
  • Add support for DEFAULT_CUSTOMER_ID and DEFAULT_PAYMENT_INTENT_ID env variables (#63)
  • add customer ID as param for create_setup_intent (#64)
  • Update automatically attached credit cards for 3DS2 testing (#66)