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.

Top comments (0)