DEV Community

Dawn Lambeth for Stripe

Posted on

November Developer Digest: The *new* Payment element, Node SDK + Cloudflare Workers, and Stripe Identity samples

📩 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

November Developer Digest

Introducing the Payment Element

Image of Stripe's Payment Element

The new Payment Element lets you build a custom payment flow that supports 18+ payment methods with a single integration. Once integrated, you can add additional payment methods with no frontend changes.
Explore our code samples or learn how to migrate from an existing integration.

Stay updated

Stripe Node SDK and Cloudflare Workers: You can now use the Stripe Node SDK with Cloudflare Workers. Learn how to integrate Cloudflare Workers and Stripe Checkout on Cloudflare’s blog post or get started with our example Cloudflare Worker Template.

Stripe Checkout:

  • Checkout email overwriting disabled: When you pass a customer email address into a Checkout Session, the customer will not be able to edit this email address. This will help eliminate duplicate subscriptions created for the same customer.
  • SEPA and Bacs in Subscription mode: Checkout in subscription mode now supports both SEPA direct debit and Bacs direct debit, allowing you to use these common payment methods for recurring payments.

New identity sample: There’s a new Stripe Sample on Identity to demonstrate how to verify a user’s identity using both the in-modal verification and a full redirect to a Stripe hosted page.

Klarna is now supported across Payment Intents, Payment Element, and Checkout: Klarna is a popular buy now, pay later payment method that lets customers break their payment into interest-free installments. Klarna is now available for Stripe developers in the US and 19 European countries. Learn more in the integration guide.

Developer contest in Japan: Create and publish a Stripe guide for your fellow developers. Winning entries will receive a cash prize or a Stripe voucher. The submission deadline is December 31, 2021 11:59pm (JST). Learn more about the contest here.

China UnionPay in the UK and EU: China UnionPay is now available in the UK and Europe, which allows users in those countries to sell to Chinese customers.

Mobile SDK updates

Stripe Android SDK version 18.1.0 and 18.2.0: Android version 18.1.0 introduces several new features to PaymentSheet, including support for more payment methods like SEPA Direct Debit, Bancontact, iDEAL, and Sofort as well as support for setting up future usage for cards and Google Pay. Version 18.2.0 introduces Klarna as a payment method, re-enables WeChat Pay, and includes several bug fixes.

Stripe iOS SDK version 21.9.0: iOS SDK version 21.9.0 introduces several new features to PaymentSheet, including support for more payment methods like SEPA Direct Debit, Bancontact, iDEAL, and Sofort as well as support for setting up future usage for cards, Apple Pay, and Google Pay.

Learn

Thumbnail of Payment Element video

Payment Element: In this edition, Charles walks through setting up the brand new Payment Element with a Node.js app using vanilla HTML and JavaScript on the client.

Deduplicating payment methods: When attaching payment methods to a customer, a common mistake is to store duplicate details. In this dev byte, you’ll learn how to use the unique fingerprint to ensure only unique payment methods are added to your customers.

Artisanal, machine-generated API libraries: Learn how Stripe builds and maintains 7 official client libraries in this talk at Strange Loop. Richard dives deep into how the codegen tooling works and how to think about data structures.

Building a paywall: Learn how to use Replit.Web and Stripe Checkout to build a paywall in this episode.

Community

Thank you to our top open-source contributors this month: arnav13081994, ajamous, deidyomega, ob1dev, vinistock, paracycle, Morriar, MathyouMB, ilyailya, hibariya.

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 email, or on Discord, Twitter, and Stack Overflow. View our code samples on GitHub.

—The Stripe team

Top comments (0)