#tamako9910

1 messages · Page 1 of 1 (latest)

royal cryptBOT
hazy pecan
#

hello! can you describe the behaviour in detail? when does it not call back, and what does your page show instead? Any errors?

versed wigeon
#

Hi @quartz ledge I just reopened this thread

quartz ledge
#

i have 2 payment options

#

1st is credit card

#

2md is promtpay

#

credit card will have 100% success to callback to success url

#

but in promtpay sometimes it will not callback

#

in stripe dashboard have success status

#

just not callback

versed wigeon
#

OK, are you relying on the callback to update your DB for the payment results?

quartz ledge
#

yes

versed wigeon
#

OK. I'd suggest you to listen to webhook events instead.

#

Webhook is a more reliable way of getting notified of payment results

quartz ledge
#

can you please provide some example in C#?

versed wigeon
quartz ledge
#

can you brife explain how does it work?

versed wigeon
#

Sure, so when a checkout session is completed by your customer, Stripe will send a POST request to your webhook endpoint (i.e., https://www.yourdomain.com/webhook) with checkout session data. From there you can retrieve the checkout session and fulfill the order.