Skip to content

Instantly share code, notes, and snippets.

Avatar

Arsene arsewizz

  • Freelacer
  • Drc
View GitHub Profile
View gist:c59ca68267df4b103e56082f06f9a288
  1. create a ionic project
  • ionic start ionicStripe blank
  1. install the stripe plugin
  • ionic cordova plugin add cordova-plugin-stripe
  • npm install --save @ionic-native/stripe
  1. add stripe to module.ts import { Stripe } from '@ionic-native/stripe';

  2. in payment page :

  • import stripe again import { Stripe } from "@ionic-native/stripe"; and add it to constructor