#vikasjson

1 messages · Page 1 of 1 (latest)

onyx cedarBOT
fervent panther
#

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.

fast cloud
#

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

fast cloud
#

can we use 2 coupons at atime in checout session ?

fervent panther
#

no, sorry

fast cloud
#

okk

#

and can we send the wallet_amount ?