#Meta Krypto
1 messages · Page 1 of 1 (latest)
With server-driven approach you would create PaymentIntent server-side https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=server-driven#create-payment
And if you follow this guide, you would get some webhook events outlined in this section https://stripe.com/docs/terminal/payments/collect-payment?terminal-sdk-platform=server-driven#webhook-events
Hi, I already have a webhook created in my stripe dashboard, and it does receive the payment status when I do the payment with card online. Only when I tried the card reader payment, it doesn't send any webhook to this
Yes, but are you following the above Doc? I see some discrepancy as you mentioned you create the PaymentIntent client-side, while with Server-driven approach you should create it server-side
Yes I do. Actually I took the exact code from stripe sample code
https://github.com/stripe-samples/terminal/blob/main/server-driven/server/go/server.go#L79
Which make the right way to create a payment intent server-side
Hey! Taking over for my colleague. Let me catch up.
The guide you were sharing is creating a PymentIntent in the server side.
Can you please clarify the fact that you are creating a PaymentIntent in the client-side ?
I don't create the payment intent with client side. I want to create it server-side. My question was with server-side approach, why I can not receives any webhook?
I am not sure, as I don't receives any webhook