#yassinehamdouni - Promo Code
1 messages ยท Page 1 of 1 (latest)
Hi! Standard accounts
Okay so my next question is, where do the Coupon or Promo codes live? On which account?
on the connected account
would it be helpful if i sent the coupon and promo code IDs?
Sure.
coupon ID: xaMzTLj8
promo code: promo_1LMw1kPUqzYnESmYdOjPkMND
connected stripe account ID: acct_1LIxqQPUqzYnESmY
Thanks, I'll look into these
thank you!
And do you have the request ID for the Checkout Session?
The API request that created it?
"cs_live_b19a4U9UReWNIyzxBQYJLZAV73GgE3YRkYXA6BtDhLSzle4LiAmYSwZ3FC"
Also I notice that the coupon is named "First test coupon" but that livemode is set to True. Testing in live mode is not recommended and is, in fact, a violation of the Stripe terms of service. We have a very robust and functional Test mode. Please use that for all testing.
One thing that jumps out at me is that the coupon is for 100% off. But your checkout session is created with an application fee amount of $10
That might be causing the error we see here
ah i see
we set the application fee to 10%
i figured by setting coupon to 100% it was "100% of the discountable amount"
what should i be setting instead?
You didn't set the application fee for 10% on this request
When you specify application_fee_amount it is for a set amount of funds
ah yes you're right โ i calculate the amount on the backend
as for this โ i will try with a different percentage and see if it works
Yes I think our API is having trouble figuring out how it is going to get you your $10 if we aren't charging the customer anything ๐