ashpack-stripe

0.0.263 • Public • Published

Setup Functions

Functions like onCreateAccountCreate require stripe.api_key to be configured in the firebase environment:

firebase functions:config:set stripe.api_key='{STRIPE_SECRET_KEY}'

You can find the your STRIPE_SECRET_KEY here: https://dashboard.stripe.com/apikeys

Setup Context

Make sure the context is wrapped by the Soil context:

<SoilContextProviderComponent firebaseOptions={FIREBASE_OPTIONS}>
  <StripeContextProviderComponent stripePublicKey={STRIPE_PUBLIC_KEY}>
    <MainApp {...props} />
  </StripeContextProviderComponent>
</SoilContextProviderComponent>

You can find the your STRIPE_PUBLIC_KEY here: https://dashboard.stripe.com/apikeys

Readme

Keywords

none

Package Sidebar

Install

npm i ashpack-stripe

Weekly Downloads

10

Version

0.0.263

License

MIT

Unpacked Size

22.5 kB

Total Files

15

Last publish

Collaborators

  • dmurawsky