This happens after I try to create the subscription for a logged user. Looks like it was able to save the subscription to firestore but the cloud function is failing at this point. I have a product setup on stripe and a plan and included the plan_id in the cloud function variables. I also double checked the keys are all correct (public key in the React app and private key in the function env file).
Hi,
I'm getting this error while trying to create a new stripe subscription.
Error is happening on this function (function/lib/subscription.js):
This happens after I try to create the subscription for a logged user. Looks like it was able to save the subscription to firestore but the cloud function is failing at this point. I have a product setup on stripe and a plan and included the plan_id in the cloud function variables. I also double checked the keys are all correct (public key in the React app and private key in the function env file).
Thanks in advance,
Geraldo