Setting Up Our First Payment Gateway

We’ll be using Stripe as our first payment gateway. In my experience, Stripe is the easiest of the gateways to get started with, but the basic API concepts are the same across most of the gateways that are not PayPal.

Before we do anything with Stripe, we need to set up an account. The account will provide us with API keys that we’ll use for authentication, and we’ll also get a dashboard with some nice reporting services.

Creating our stripe account is pretty simple. We go to http://dashboard.stripe.com/register and enter an email address and a password. Stripe then sends us an email to authenticate the account, which you must do before you start accepting payments. Once we do so, Stripe takes us to our ...

Get Take My Money now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.