#ronymia.

1 messages · Page 1 of 1 (latest)

elder depotBOT
clear island
#

hi! what does your exact code for handling the webhook http endpoint look like?

severe echo
#

this is my webhook method, even i tried signinng secret as string, in case it is not fetch from db

clear island
#

don't call json_decode on the $payload

severe echo
#

when customer trying to subscribe then i am getting this line error

severe echo
clear island
#

you have to pass the exact raw payload as received , that's what we show in all the docs

severe echo
#

but in test mode the process is working smootly ,

#

it's giving error in live card payment

clear island
#

what's the event ID evt_xxx of an example that failed?

severe echo
#

where will i get it ?

#

should ii try now ?

clear island
#

you could try yes

clear island
severe echo
severe echo
clear island
severe echo
#

any idea from here ?

minor stream
#

hi! I'm taking over this thread.

#

the error message you just shared seems pretty clear, no?

severe echo
#

that means, should i connect plan after making switching live mode on stripe ?

minor stream
#

it looks like you are using your live API keys, so you can only use objects created in live mode.

severe echo
#

let me try

minor stream
#

also I noticied you shared multiple time your webhook endpoint secret in this public thread. so make sure to expire your secret from the dashboard.

severe echo
#

ok, sorry for that

#

thanks