#vikasjson
1 messages · Page 1 of 1 (latest)
hi! hmm, not really, if you mean you just want to send exact numbers for the "cart" breakdown like that.
You can pass line items, and explicitly pass coupons against it. I'd suggest playing around with that API and see what you can accomplish
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-discounts
I don't know what 'wallet_amount' would be.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
actually we have wallet facility in our dashboard wallet_amount is the amount customer used against the order
you mean we need to create the coupon to the stripe and use that in the session
we cannot send the discount amount directly ?
@fervent panther
yes
can we use 2 coupons at atime in checout session ?
no, sorry