How to collect payments through a rails app

Posted By: Dylan Hunt

Published: August 15, 2016 20:13

Collecting money online is a lot more simple these days than it used to be. With Stripe you can accept credit cards through your rails app with a simple gem. Let's start by installing the Stripe Gem:

Then, run bundle install to install the gem.

Next, generate a new Charges controller:

The controller does two things:

Shows a credit card form (using Checkout).

Creates the actual charges by calling our API.

Now Add two actions to the controller:

To be continued....Follow the rest of the guide here

Need help implementing any of these guides?

Contact Me