#asadahmad27

1 messages · Page 1 of 1 (latest)

sweet pendantBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

cobalt blade
#

Hello

#

If you have specific questions or confusion then I'm happy to help.

#

I can't really do anything with just a screenshot

narrow epoch
#

ok let me explain. i have setup my checkout session and thena webhook to update my firebase code. when it comes to webhook code. it gives me this error

#

i don't know what's wrong. it's the same as your documentation

cobalt blade
#

Please redact that screenshot as it has your webhook secret in it which is sensitive

#

Next, how are you testing your webhook endpoint?

#

Are you forwarding from the CLI or you have an HTTPS endpoint?

narrow epoch
#

https endpoint

cobalt blade
#

Okay, have you logged out req.rawBody?

#

It should be binary here

#

If you see JSON then it means the raw body has already been manipulated

narrow epoch
#

it is giving me a json

narrow epoch
cobalt blade
#

Okay so then you need to figure out why the raw body is getting manipulated. You'll want to do some research into how to get the raw body of the request when using a firebase endpoint

#

I'm not very familiar with firebase so can't tell you that

narrow epoch
#

can you suggest from where to start

cobalt blade
#

You need to check your endpoint