Stripe with Ionic2

Hi there,

Here is a template that you can use to learn how to integrate Stripe in your Ionic2 app.

In case you are interested to add Stripe to an Ionic 1.x app, then please refer to this great starter with extensive documentation.

Stripe Payments with Ionic2 is the easiest and quickest way to start monetizing your Ionic2 app. The template contains the full source code for a payment form that processes payments using Stripe. Stripe is the best software platform for running an internet business and handles billions of dollars every year.

Specifically, the template illustrates how to:

  1. validate the credit card details;
  2. handle the responses;
  3. proceed with charging the customer using the validated token.

The payments are immediately transferred to your Stripe account and visible in your Dashboard, in which you can for instance handle refunds or test the card details for fraud.

The starter also illustrates how to use a Stripe Payments API (which essentially saves you a lot of time and money) to process the payments, or alternatively how to setup your own payment server. The latter includes the full source code.

In summary, with the starter Stripe with Ionic2 we can:

  • Integrate a payment form in our Ionic2 app or website
  • Validate the credit card details of the user
  • Process payments
  • Handle almost any currency

In addition, with Stripe we can:

  • View and manage all payments
  • Process refunds
  • Prevent fraud
  • And much more

To download the full source code of this starter, please visit the Stripe with Ionic2 product page. For the full documentation on how to setup the package, please refer to this Github repo.

2 Likes