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

Releases: stripe/example-mobile-backend

v19.0.0

09 Feb 21:10
9a3a470
Compare
Choose a tag to compare

Add support for Heroku-20

v18.1.0

30 Oct 22:16
2093551
Compare
Choose a tag to compare

Adds example backend code to enable SEPA Debit and iDEAL payments in Stripe example apps

v18.0.0

04 Oct 21:25
9ac448f
Compare
Choose a tag to compare
  • Adds a country parameter to allow the client to specify which currency and payment methods to support.

v17.0.0

13 Sep 20:35
67cb89f
Compare
Choose a tag to compare

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)

v16.0.0: Stop returning `PaymentIntent` objects

18 Jul 22:19
09dbcfa
Compare
Choose a tag to compare
  • No longer returns PaymentIntent objects, only returns the client_secret.
  • Adds /create_setup_intent endpoint to create SetupIntents.
  • Adds use_stripe_sdk for server-side Intent confirms

v15.1.0: Attach example test cards to Customer

03 Jun 21:16
5354ebd
Compare
Choose a tag to compare

The example backend now attaches some example cards to the Customers it creates, for testing convenience.

v15.0.0: Migrate from Charge to PaymentIntent API

28 May 17:27
8ae297d
Compare
Choose a tag to compare

Migrates from Charge to PaymentIntent API

v14.0.0: Updated PaymentIntent api

13 Nov 23:26
1a5ce55
Compare
Choose a tag to compare
  • Remove return_url from PaymentIntent creation call #37

v13.2.0: Metadata in Example App

07 Aug 19:51
f1a25cc
Compare
Choose a tag to compare

Augments the example backend to support client-side metadata, and adds server-side metadata to objects created using the Stripe API.

These metadata fields are meaningless, and the values are just random constants created with uuidgen.

IOS-356

v13.1.0: PaymentIntent Support

13 Jul 17:57
0a58d62
Compare
Choose a tag to compare

iOS SDK adds PaymentIntent support in v13.1.0, and so does this version of the example-ios-backend.