#mtanzi - coupons

1 messages · Page 1 of 1 (latest)

lone geode
#

Hi there!

#

Where do you apply the coupons? On a subscription, a Checkout Session, something else?

sullen plank
#

Can you share the sub_123 id of the customer where you saw this behavior?

verbal snow
#

sure sub_1LQqwMJfYi7qv89i5iwJqsq5

#

when you look at the customer you can see that the invoice are 2 one on the full price and the other the refund

sullen plank
#

Ah I see what's happening. Looks like a coupon wasn't applied at checkout, but after the initial payment succeeded. Somewhere in your code this api call was made to update the subscription with the coupon after the initial invoice: https://dashboard.stripe.com/logs/req_zoepgT8dTXH4UX. Source is Stripe/v1 RubyBindings/5.44.0, so your Ruby code is initiating the call

verbal snow
#

mmm weird... let me check

#

thank you!

sullen plank
#

No problem