Open maxmdev opened 3 weeks ago
Somehow, on localhost this function returns undefined.
On test / prod, returns valid ID and everything works.
When I console.log(subscriptionId) inside function checkoutWithStripe, I have value on server. But it is not passed to the client.
Anything am I missing?
Somehow, on localhost this function returns undefined.
On test / prod, returns valid ID and everything works.
When I console.log(subscriptionId) inside function checkoutWithStripe, I have value on server. But it is not passed to the client.
Anything am I missing?