DEV Community

Charles Watkins for Stripe

Posted on

March Developer Digest: Better time travel with Billing test clocks ⏰

📩 We're sharing our most recent developer digest here on DEV! If you're interested in subscribing to monthly developer updates, sign up here.
Horizontal rule

March Developer Digest

Better time travel with Billing test clocks ⏰

Billing clock flow - create simulation, advance the test clock, review test objects in the dashboard

Building apps with recurring payments can be difficult to test. How can you simulate when an annual subscription is about to expire? What happens to the user experience at the end of a trial period? To answer these questions, we’re excited to introduce the top-requested Stripe Billing dev feature: test clocks.

With test clocks, you can now simulate the forward movement of time in test mode in order to change state and trigger webhook events for resources such as subscriptions, trials, and upgrades.

Try out test clocks in our docs.

Stay updated

Cross-selling on Checkout and Payment Links: Cross-selling products is now available. You can increase your revenue by allowing customers to purchase complimentary products via Checkout or Payment Links.

Build your crypto business with Stripe: From NFTs to wallets and exchanges to marketplaces, explore the common use cases to build with Stripe payments support for crypto.

Apple App Clips: The Stripe iOS SDK now has support for Apple App Clips, allowing customers to make purchases without installing a native app.

Konbini payment method: Merchants in Japan can now use the popular Konbini payment method to sell to customers in Japan. Read more here in the docs.

Checkout fonts and border radius: With Checkout, you can now customize the font and border radius of input elements in the hosted Checkout page to more closely align with your company branding.

Invoicing integration builder: A new integration builder for Invoicing is now available to help you learn about using Invoicing with your favorite programming language.

Future-proofing blog post: Dawn Lambeth, a developer advocate at Stripe, has written this comprehensive guide on future-proofing your integration. It covers many relevant topics, from API versioning to Stripe tooling.


Building an ecommerce store with Jamstack: In this three part miniseries with Sia Karamalegos (@TheGreenGreek) and Matt Ling (@mattling_dev) from Stripe, you’ll learn how to build an ecommerce store on Netlify.

Checkout 101: There are several new episodes available in the Checkout 101 series to help you quickly get up and running. Now you can learn how to build custom order confirmation pages, make line items adjustable, and recover abandoned carts.

Test clocks: Testing subscription lifecycles was a common challenge, so we built test clocks to simulate moving billing objects through time. Watch this episode to see how to create test clocks and test your time-sensitive webhook handlers.

Migrating to Stripe React Native: Check out the new multi-part series by Callstack and @souhepend on how to migrate payments from Tipsi to the new official React Native SDK.

VS Code Day 2022 videos: Check out the playlist of developer talks covering GitLens, GitHub Pages, Python, Laravel, and Stripe.


Open-source software updates:
Thank you to our top open-source contributors this month: AbrahamBrookes, LeonMelis, Arsaev, kaznovac, christianaranda, ilyailya, vinistock, Morriar, paracycle, KaanOzkan, hibariya, swiknaba, rwstauner, and dougedey-shopify.

Stay connected

💬 Follow us at @StripeDev on Twitter for updates and answers to your developer questions. Let us know what you’re working on with the Stripe API!

👾 Join the Stripe Discord server to chat live with other developers.

📺 Subscribe to Stripe Developers on YouTube for office hours, live streams, and online technical workshops.

📚 Add us on DEV for how-to articles and past editions of this developer digest.

Horizontal rule

What would you like to see more (or less) of? Let us know by replying to this email. If you have questions, comments, or need help with code, we’re here to help via Discord, Twitter, and Stack Overflow. View our code samples on GitHub.

—The Stripe team

Top comments (0)