Skip to main content
Solved

Debugging: Invalid Stripe. Make sure your Stripe account is properly connected.

  • November 2, 2021
  • 4 replies
  • 369 views

Forum|alt.badge.img+2

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?

Best answer by N.Smet

We managed to solve it, can be closed

 

 

View original
Did this post help you find an answer to your question?

4 replies

Forum|alt.badge.img+2
  • Author
  • Helper
  • 2 replies
  • Answer
  • November 3, 2021

We managed to solve it, can be closed

 

 


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • December 3, 2021

@N.Smet Facing the same issue. how did you solve this


Forum|alt.badge.img+2
  • Author
  • Helper
  • 2 replies
  • December 6, 2021

It was really weird and frustrating :D I didn’t setup RevCat, my colleague did. I tried to connect Stripe and it kept saying it was invalid. My colleague did it and it all worked magically …. so let the original account creator do it and maybe it’s fixed for you too 

 


Forum|alt.badge.img+1
  • New Member
  • 2 replies
  • December 7, 2021

Thanks @N.Smet.. worked for me :)


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings