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
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