#.alirt

1 messages · Page 1 of 1 (latest)

thin oracleBOT
agile owl
#

hi, what is the question?

molten compass
#

currently im using coupon coupon with %. so i doesnt affect the when i charge full payment or as split payment for the amount. but now i am moving to provide the coupon with fixed amount. like i have coupon of 15 rs. and i have product cost 60. and have two payment method full payment and split of 3. when user pay 60 rupees it discount 15 ruppess. but when it is spit payment each payment will charge 20 but coupon discount will 15 for each payment. in short toital discount become 15*3 = 45. how can i manage it in case of split payments?

#

??

agile owl
#

patience.

#

so you are using three separate Invoices for these split payments?

molten compass
#

yes

agile owl
#

well then sure, if you have an Invoice for $20 and you use a coupon for amount_off:1500 you are going to have a $15 discount on that one payment.

#

if that's not what you want, create and use Coupons that have a smaller amount_off.

molten compass
#

can i divide that discount among the split payment? do stripe provide this functionality?

agile owl
#

yep, you'd divide it yourself

#

it's not Stripe functionality, we have no way to know that your three invoices represent one payment you are splitting, that is all logic on your side; and it's the logic/code on your side that has to divide your discount amount and call our API to tell us to create the Coupon(s) you want.

molten compass
#

dear
my follow is like :
i create the coupon seperately like with amount of 10
give it to the user
and in my code side i just pass the coupon id if provided by user to the checkout.
and rest is handle by checkout

so now you are saying i need to create it another coupon to in case of split payment while creating the checkout.

agile owl
#

I think that's what I mean, yes.