Blog

Share this post on Twitter

iOS SDK updates

Ben Guo on June 29, 2017

We just released version 11.0 of our iOS SDK, which adds a few new features:

UpdateSimpler integration

We’ve greatly simplified the integration for our pre-built UI components. Previously, it required maintaining multiple endpoints on your backend. Now, just a single endpoint lets you take advantage of features like Apple Pay detection and optimized UI flows for collecting and managing your customer’s payment details.

NewSources support

The SDK now supports creating and retrieving Sources, Stripe’s unified API for accepting any payment method (like SEPA or iDEAL) with a single integration. For more information, you can refer to our guide to using Sources in the iOS SDK.

NewCard scanning

If you use STPPaymentContext, you can now give your users the option to scan a card instead of entering it manually. Just install card.io, a popular open-source card scanning library, and we’ll show a "Scan Card" button above the card field:

NewCity and state auto-fill

Our billing and shipping address forms now fill in city and state automatically based on your customer’s zip code if they are located in the United States.

UpdateCustomer pre-fetching

Our pre-built UI components now have the ability to pre-fetch and cache your customer’s information from the Stripe API, making it easy to build a smoother checkout experience. To take advantage of this, initialize STPCustomerContext before your customer enters the checkout flow.

If you’re new to the Stripe iOS SDK and are interested in these features, we’ve put together an integration guide to get started. If you already use STPPaymentContext, you can follow these instructions to migrate to simpler integration in the latest version.

As always, if you have any questions or feedback, you can email us (or file an issue on Github).