DEV Community

Robert
Robert

Posted on • Edited on

Collecting creditcard details in Stripe with SetupIntent

Collecting creditcard details in Stripe with SetupIntent

What is a SetupIntent?

SetupIntent is the process of saving a customer's payment credentials for future payments source.

Why is it important?

As a business owner, you want to get creditcard details, in order to enable a Payment in the future.

How to implement it in Rails?

I've looked at the Sinatra implementation first. Used the Stripe CLI for the setup, made a comment about the setup which was applied to improve the README. The result is an experimental implementation here.

Image of Datadog

Create and maintain end-to-end frontend tests

Learn best practices on creating frontend tests, testing on-premise apps, integrating tests into your CI/CD pipeline, and using Datadog’s testing tunnel.

Download The Guide

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more