#pradeep-gururani_api

1 messages ยท Page 1 of 1 (latest)

exotic mulchBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1247858020910759997

๐Ÿ“ Have more to share? Add details, code, screenshots, videos, etc. below.

onyx relic
torn vessel
#

when we apply a coupon then price is deducted after discount
but we're not able to see the redemption anywhere in the dashboard

onyx relic
#

what are you expecting to see precisely?

#

what do you see instead?

torn vessel
#

when we apply stripe coupons or discount code with our subscriptions (that we created at the end of stripe) then we can usually see the redemption number under coupon or discount code respectively, but when we apply the coupon or discount code with product (that does not recurrent and apparently stripe charges the discounted price) then we don't see any redemption under coupon or discount code. I need to understand if there is an issue with our integration or stripe does not display any info about redemption of coupon or discount code if they applied to a product.

onyx relic
#

as ar as I know we do show that(but this chat is really about the API, not Dashboard-behaviour specifics)

#

if you're seeing otherwise please provide an example so we can investigate what might be happening , it's likely easiest to open a support ticket at https://support.stripe.com/?contact=true and share screenshots/links/object IDs

exotic mulchBOT
torn vessel
#

we have the following test mode redemptions for this [coupon]

https://dashboard.stripe.com/test/coupons/MARCELLO30

sample payment 1 for the above coupon
https://dashboard.stripe.com/test/events/evt_1POGLMEUdH8iAtR7nPlbvkjo

payment 2 (charge)
https://dashboard.stripe.com/test/payments/pi_3POEtQEUdH8iAtR70Rcv8f4Q

here in the second one, we don't see the discount object

timber mulch
#

Coupons don't work with one-time payments created outside of Checkout such as that intent you shared. They only work on recurring payments, one-time invoices or Checkout

torn vessel
#

could you please share some documentation link ragarding that

timber mulch
torn vessel
#

we're not using the stripe checkout flow, we're having a custom integration, is it same for that also ?

timber mulch
#

Yes, as the table explains. The 'custom flow' does not support coupons/discounts for one-time payments

torn vessel
#

but I see in the same page its showing support for discount and coupons

timber mulch
#

Check the footnotes:

Available for Subscriptions & Invoices only.

torn vessel
#

so, can we apply coupons for a product's invoice ?

#

I'm not sure

timber mulch
torn vessel
#

is there a workaround to handle coupons with charges ?

timber mulch
#

I don't know what you mean

torn vessel
timber mulch
#

Yeah, seems expected as Coupons work with Subscriptions

#

But you can't apply the Coupon directly to a Payment Intent/Charge you create via the API

timber mulch
torn vessel
#

but this event I shared is for a charge, and it apparantly is charging 89.99 instead of the original price 99.99 and the price is reduced as per the copon's discount percentage

timber mulch
#

Yes, because we apply the discount internally to the underlying charge/payment as part of the subscription process

#

There's no API/parameter to do that

torn vessel
#

you mean in the paymentIntent flow ?

timber mulch
#

Yes

torn vessel
#

okay, thanks a lot for your help ๐Ÿ™