0.0.1-beta.2 • Published 4 years ago
stripe-axios v0.0.1-beta.2
Stripe-Axios
Call Stripe.js APIs using Axios.
Note: This isn't an offical Stripe library. I am building it mainly for using it with React Native.
Installation
Use npm
to install the Stripe.js module:
npm install stripe-axios
Usage
Instanciate this libraray using your Stripe Publishable Key:
import StripeAxios from 'stripe-axios'
const stripeAxios = new Stripe('pk_test_TYooMQauvdEDq54NiTphI7jx');
Replace this sample stripe publishable key by yours.
Feature availables
Feature | Method |
---|---|
Create a paymentMethod | stripeAxios.paymentMethods.create |
Clone
- Clone this repo to your local machine using
https://github.com/dommangetnicolas/Medium_React_Native_Lottie-app
Contributing
To get started...
Step 1
Option 1
- 🍴 Fork this repo!
Option 2
- 👯 Clone this repo to your local machine using
https://github.com/dommangetnicolas/stripe-axios
- 👯 Clone this repo to your local machine using
Step 2
- HACK AWAY! 🔨🔨🔨
Step 3
- 🔃 Create a new pull request using
https://github.com/dommangetnicolas/stripe-axios/compare/
. - Comment your pull request so I can edit the medium article
FAQ
- How do I do specifically so and so?
- No problem! Just do this.
Support
Reach out to me at one of the following places!
- Website at
nicolas-dmg.fr
- Email at contact@nicolas-dmg.fr
About me
License
- MIT license
- Copyright 2020 © Nicolas Dommanget-Muller.
0.0.1-beta.2
4 years ago
0.0.1-beta.1
4 years ago