This repository was archived by the owner on Feb 27, 2023. It is now read-only.
  
  
  
  
Releases: stripe/example-mobile-backend
Releases · stripe/example-mobile-backend
v19.0.0
v18.1.0
Adds example backend code to enable SEPA Debit and iDEAL payments in Stripe example apps
v18.0.0
- Adds a 
countryparameter to allow the client to specify which currency and payment methods to support. 
v17.0.0
Breaking changes
- Passing 
amountandcurrencyis 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_idinstead ofpayment_method. - Instead of 
confirm_payment, callconfirm_payment_intent. - Instead of returning 
secret, if the PI status is...requires_action-> returnsrequires_action: true, secret: abcrequires_captureorsucceeded-> returnssuccess: true- anything else -> 500
 
 
Other changes
v16.0.0: Stop returning `PaymentIntent` objects
- No longer returns 
PaymentIntentobjects, only returns the client_secret. - Adds 
/create_setup_intentendpoint to create SetupIntents. - Adds use_stripe_sdk for server-side Intent confirms
 
v15.1.0: Attach example test cards to Customer
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
Migrates from Charge to PaymentIntent API
v14.0.0: Updated PaymentIntent api
- Remove 
return_urlfrom PaymentIntent creation call #37 
v13.2.0: Metadata in Example App
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
iOS SDK adds PaymentIntent support in v13.1.0, and so does this version of the example-ios-backend.