#fest_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ 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/1250908324757504012
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there ๐ can you share the ID of the Subscription where you saw this behavior?
How did you apply your Coupon? Looking at the creation request that was made to create the Subscription, I'm not seeing a Coupon in it:
https://dashboard.stripe.com/logs/req_4rpv1RpJ7MdhKs
i made the coupon on Products > Coupons > New
You need to apply the Coupon where you want to use it after it's been created.
Removing the screenshot as this is a public forum and it seemed to contain real customer information.
Did you get your Coupon flow working as expected in testmode before beginning to use it in livemode?
Please stop posting sceenshots with your customer's data here.
If you need a private discussion where it's okay to share that content, you'll want to reach out to our Support team to open a ticket.
https://support.stripe.com/?contact=true
Did you create a Promotion Code in addition to a Coupon? It looks like a Promotion Code was used for a previous Subscription for the Customer, but that wasn't applied to the Subscription you initially shared as well, so it wouldn't be expected to impact the second Subscription.
https://dashboard.stripe.com/logs/req_gKPVRjm8kpkGyM
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
so what is the correct way to add coupons to a suscription? because i followed all tutorials i could find on stripe
Did you create a Promotion Code in addition to a Coupon? I have no idea jaja
You did it in the request I shared most recently, well a Promotion Code, but the concept is the same.
Instructions for applying Coupons to Subscriptions are here:
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api#discount-subscriptions
Instructions for applying Coupons to Customers instead, are here:
https://docs.stripe.com/billing/subscriptions/coupons?dashboard-or-api=api#discount-customers
ok thanks, i will take a look and this documentation
This is exactly what i did, and still didnt work
Which Subscription?
Please be explicit, I'm juggling several threads here so the more context you can provide me the faster I can look into things.
I made a cupon on the dashboard for one of my suscription plans called Lite, I made the coupon and its promotion code. I add 3 month duration, but my client was charged one minute later . I dont understand why he was charged after appliying the coupon, after accepting the $0 Fee
You have to add the Coupon to the Subscription you create, as shown in the linked instructions. Coupons don't automatically apply to every Subscription you create, that's not expected behavior.
Ok ok ok ok know i think i see the issue. sorry for the mess and thanks for the help
No worries, I'm happy to help! Let us know (I'll be stepping away soon but I have a teammate who is around now) if you're still unable to get those Coupons or Promotion Codes to be applied.
I'd strongly recommend leveraging our Test Clocks so you can create Subscriptions in testmode, and advance them through their lifecycle. This will let you test the full lifecycle and ensure the Coupons are working the way you're hoping/intending.
https://docs.stripe.com/billing/testing/test-clocks
Ok thanks. That looks great. One more thing, is there a way to give coupons to new costumers? so i dont have to add the coupon to his suscription? i mean appliy the coupne while he creates his account?
Yup, Customer objects accept a coupon field:
https://docs.stripe.com/api/customers/create#create_customer-coupon
but test and make sure the duration works the way you're hoping if you do that. I don't recall exactly offhand how that works with Coupons with a duration.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ok thanks a lot, I will