#Verge_729

1 messages · Page 1 of 1 (latest)

modern pikeBOT
lime yoke
#

Hello

#

Overall, no, you can't pass other references to the Pricing Table

#

What is the other data you need?

#

Mostly you would store this other data in your database and associate it to the UUID you pass via client_reference_id

stable otter
#

I am looking to pass a JWT. All current interactions between the webhook and my database use the admin secret to access the database. I am wanting to improve the security of the database by using the JWT instead of the admin secret.

The purpose of this particular webhook is to update parts of my database based off the Stripe Event and current state of the user.

lime yoke
#

Yeah there is no custom fields or metadata that you can pass with Pricing Table so that won't be possible to pass a JWT.

#

That said, the Webhook should be secure — you should be verifying the Webhook signature so you ensure you are only actioning Webhooks that come from Stripe

#

The purpose of this particular webhook is to update parts of my database based off the Stripe Event and current state of the user.
And yep — all you need is the UUID that you passed in client_reference_id

modern pikeBOT
stable otter
#

Cool cool cool cool cool cool cool.

Yeah, I am verifying the Stripe Events. Thank you for your answers and help!

Out of curiosity, why does the pricing table not support metadata?