#stass_checkout-webhooks

1 messages · Page 1 of 1 (latest)

grand laurelBOT
#

đź‘‹ Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1249845787421179945

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

rotund atlas
#

Hi there!

#

Can you provide more context about your use case? Does the restaurant have a Stripe account? Is Connect involved?

blissful salmon
#

Hey!
They have a stripe account, but via Wix, and they would like to get rid of Wix. I don’t believe they have connect.

They currently have fixed amounts but want to have variable amounts. I’ve fixed that bit, but when I look in products they don’t show up (which I gather is correct as it’s archived by strips straight away). So now I would like to trigger a notification that they have a new gift card they need to post out. I started reading about webhooks which feels like it could be a good fit, but just looking for guidance tbh!

rotund atlas
#

Do you have an example ID from their account that I can look up? A PaymentIntent ID will help

blissful salmon
#

No unfortunately. I believe it’s all integrated with Wix and they don’t use the stripe dashboard at all.
I created my own dashboard to test though - would that help?

rotund atlas
#

You shouldn't need the Dashboard to retrieve an ID. Are you currently using the API to retrieve and update objects on their account?

#

I mostly wanted an ID to see how they're currently handling this. It sounds like they might be creating one-off Products for "gift cards", vs. using Stripe Issuing to create gift cards: https://docs.stripe.com/gift-cards

blissful salmon
#

Sorry for not being clear. I am doing an entirely new website for them and testing stripe myself

#

Ah sorry I can’t get the link to work but yes, I believe you are right about how they are using it

rotund atlas
#

Okay, got it. And as part of their move away from Wix, they want to be able to charge a customer for a gift card product, where the customer can choose the amount?

blissful salmon
#

Exactly right! I based my solution on the variable pricing video from the stripe devs

rotund atlas
#

Can you share a link to the video you're referencing?

blissful salmon
rotund atlas
#

And are you looking to use Checkout as well or the PaymentElement?

blissful salmon
#

I am using checkout with a stripe hosted page. I’m happy to switch to PaymentElement if it’s a better fit

rotund atlas
#

No, that's fine

#

Okay, so where are you stuck exactly? If a customer purchases a gift card for $75 for example, you'll want to build an integration that listens for a successful payment and then decides what to do next based on that purchase

grand laurelBOT