#pilou-authentication-401
1 messages · Page 1 of 1 (latest)
401 means authentication error, usually it means you're passing and invalid API key
you should be able to look at the exact error we return which would tell you what the problem is
pilou-authentication-401
I don't understand how can i use the subscription creation insteed
i didn't manage to create one this is my code :
customerID,
{ items: [{ price: productID }] },
).catch((err) => {
setVerifCardStripeLoad("");
setVerifCardStripeError("Une erreur est survenue lors du paiement, veuillez verifier les informations de votre carte.");
return;
});
Why when i add something after customerID there is no errors
I'm sorry I have no idea what your questions means
What's the problem? What error do you get in your code?
also you're missing {} around the params let subscription = await stripe.subscriptions.create({ customerID, { items: [{ price: productID }] }, })
Ok it's my fault thx
If i want to set a end date for the subscription with value i have to set ?
👋 stepping in