#SatriaRizali
1 messages · Page 1 of 1 (latest)
hello! i'm afraid i don't quite understand what you're trying to achieve here, can you illustrate with an example maybe?
So example i create stripe checkout session
after that i enter some credit card information and success the payment
it is possible if the payment got refunded or failed after the stripe checkout redirect to success_url ?
no that's not possible
if it gets redirected to success_url, that means the payment was successful
there is no way buyer refund the transaction ?
i think you're referring to your customer disputing the transaction - a dispute can't happen that fast.
A refund is done by the merchant i.e. you, not the customer.
thank you
i want to ask can i setup order id in stripe checkout ? what parameter ?
what do you mean by setup order id?
for metadata parameter , we can add order id on for our system ? can we also add other key like product name(using space) / product id ?
sure, you can add any key-value pairs that you want to the metadata
can we use special character like space , comma ?
it's possible to use space and comma
so better use metadata rather tha user client refference id ?
it's entirely up to you. If you have only a single id to pass in, then you would use client_reference_id, if you have more data to pass in, then using metadata would make sense
Okee thankyou!
One last thing , i'm only using stripe checkout , so for webhook is only that i need to get is stripcheckout session event for monitoring transaction only ?
this depends on your requirements, if you can get all the information you need from the checkout.sessions.* events, then great! otherwise, if you need more information which is not available in those events, then you would need to look elsewhere
for transaction information only , it's enough using checkout session event ?
i don't know what specific information you need so i can't tell you if it's sufficient