O'Reilly logo

Take My Money by Noel Rappin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Charging Cards with Server Authentication

With our Stripe account set up and our application configured to speak to the Stripe API, it’s time to actually charge some credit cards.

Stripe offers at least three ways to manage our interaction with the user’s credit card data:

  • A traditional web form that sends the customer credit card information to the server, to be authenticated by Stripe.

  • A custom form that authenticates with Stripe client-side before sending information to the server, which sends the server a one-time token rather than the credit card information.

  • Stripe’s generic checkout form, which can be added as an overlay to any checkout page. This form behaves like the client-side form but requires less coding and has less flexibility. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required