#donglerio

1 messages · Page 1 of 1 (latest)

outer breachBOT
turbid bane
#

constructEvents expects the raw payload body. You're passing a string

final matrix
#

raw payload body means the 'payload' variable, right?

turbid bane
#

No, it means the axctual event payload sent from Stripe

#

Which you can't easily emulate

final matrix
#

shouldn't sending the signed header enough tho?

#

as a stripe-signature

#

without sending the event object

#

like if i send the 'payload' object directly

#

and the signature

turbid bane
#

You aren't passing a raw request object (a Buffer) though

#

Equally it's not a signed object. As I said, this is hard to emulate

final matrix
#

mh ok, so i need to use the stripe cli t

#

is there any way to automate the cli for a ci/cd environment?

turbid bane
#

Can be used in Docker I know that

final matrix
#

yep i just saw that, thanks again!