#whimsical_raccoon_51035
1 messages · Page 1 of 1 (latest)
Ok, you should set stripeAccount in StripeProvider
I don't understand.
How do I set the stripe provider in the react code? I am a bit confused.
Wait, it's react, not react-native
Sorry for the confusion, you should set it in loadStripe
It's next/js
Yes I have that line:
const stripePromise = loadStripe(process.env.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY);
YOUR_KEY,
{
stripeAccount: 'YOUR_ACC_ID',
}
)