#mandalorianiv_webhooks

1 messages ¡ Page 1 of 1 (latest)

cobalt sandalBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1217086036807778426

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

carmine waveBOT
#

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.

celest gate
#

Hello

toxic charm
#

Hey! Bit of a broad question! Is there a specific use case you're trying to account for?

celest gate
#

I'm implementing stripe for flutter but I need to ask a question about webhooks. After payment is success, I would like to close an order

toxic charm
celest gate
#

in app, if you try to close an order in app after success is received by stripe

#

it may corrupted

celest gate
#

but with webhook we can close an order as soon as payment is success

#

problem is we need to use a bearer token, in order to close an order but I can not share my bearer token to achieve this, is this secure to share bearer token in stripe's payload=

#

?

toxic charm
#

Why you need the bearer token ?

celest gate
#

so backend can close the order

toxic charm
#

Stripe will call your webhook endpoint which is one of your backend endpoints

celest gate
#

yes I know we already listening events without problem

toxic charm
#

Great, then in the webhook endpoint you update the order status

celest gate
toxic charm
#

That method is in your own system/integration so you can share whatever you want with it

celest gate
#

hmm, got i

#

I would like to ask another approach to this

toxic charm
#

Yes.

celest gate
#

we also created a structure that takes care of everything in backend , but if there is a 3D payment, we screw :D. So is there any change that backend can return a redirectURL so I can redirect user to a webview so 3d actions can be done

toxic charm
#

but ideally you should handle this in your mobilde SDK

celest gate
#

all stripe users that needs to close an order via app uses webhook ?

#

If we are on the right path, then I will try to find a way to use webhooks anyway

celest gate
#

OK thank you

#

appriciated a lot

#

have a good day!

toxic charm
#

Happy to help!