Hi,
We’re setting up Stripe on our webapp to work alongside our app. Now we’ve connected Stripe successfully through the dashboard and it looks ok there. But now when we want to save the receipt to RevCat is gives us this error:
{
"code": 7116,
"message": "Invalid Stripe. Make sure your Stripe account is properly connected."
}
Don’t think the problem is the call itself, but here is the code:
const _response = await fetch('https://api.revenuecat.com/v1/receipts', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'X-Platform': 'stripe',
'Authorization': 'Bearer ' + REVCAT_KEY,
},
body: JSON.stringify({
fetch_token: _subscriptionId,
app_user_id: _userId,
}),
});
Is there any way to get some clearer debug logs on what exactly is wrong?