#SatriaRizali

1 messages · Page 1 of 1 (latest)

oblique oracleBOT
cold cobalt
#

hello! i'm afraid i don't quite understand what you're trying to achieve here, can you illustrate with an example maybe?

keen hull
#

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 ?

cold cobalt
#

no that's not possible

#

if it gets redirected to success_url, that means the payment was successful

keen hull
#

there is no way buyer refund the transaction ?

cold cobalt
#

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.

keen hull
#

thank you

keen hull
#

i want to ask can i setup order id in stripe checkout ? what parameter ?

cold cobalt
#

what do you mean by setup order id?

keen hull
#

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 ?

cold cobalt
#

sure, you can add any key-value pairs that you want to the metadata

keen hull
#

can we use special character like space , comma ?

cold cobalt
#

it's possible to use space and comma

keen hull
#

so better use metadata rather tha user client refference id ?

cold cobalt
#

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

keen hull
#

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 ?

cold cobalt
#

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

keen hull
#

for transaction information only , it's enough using checkout session event ?

cold cobalt
#

i don't know what specific information you need so i can't tell you if it's sufficient