#ben-handling-payment-success

1 messages · Page 1 of 1 (latest)

soft surgeBOT
#

Hello! We'll be with you shortly. 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.

pallid void
#

@unreal pewter let's chat here

unreal pewter
#

hi @pallid void

pallid void
#

hello, how can I help?

unreal pewter
#

once back on my success page, I have to credit my user by retrieving the session

#

but

#

how avoiding him to refresh the page and have more thant he paid for ?

#

for instance : he paid for a money called "goals"

#

he paid 5€ for 10 goals

#

paiment is good and he got to the success page

#

on this page, I credit him 10 goals

#

if he refreshes its page he will have 10 goals once again

#

the session is still up, so I think I have to kill the stripe session once I have credited him 10 goals

#

do you understand my point ?

pallid void
#

I mean its upto you on how you want to handle it. I don't believe Stripe APIs are involved in what the customer and your app does after the payment.

Once you issue credits, you'll need to track what session was used and so on.. Since its not an issue with Stripe, we can't help dive deeper into this unfortunately.