#private-coupon-product
1 messages · Page 1 of 1 (latest)
I have have question about how the mechanics work on the coupons. There are many options in creating a coupon. For example, what is the difference in the two different limits on total number of times redeemed.
Also on duration in regards to subscriptions, does setting 12 months mean they can use it over and over for 12 months, or does it mean after they use it once it credits their account with 12 months of pre paid subscription?
Are you the developer yourself?
For example, what is the difference in the two different limits on total number of times redeemed.
not sure what the "two different limits" refer to
Also on duration in regards to subscriptions, does setting 12 months mean they can use it over and over for 12 months, or does it mean after they use it once it credits their account with 12 months of pre paid subscription?
the coupon duration has nothing to do with the subscription duration. The duration of a coupon is how long it will stay active on that Subscription or Customer. When it's active it applies to any Invoice created on that customer
And FYI: On the https://dashboard.stripe.com/coupons/create page the learn more link for duration doesn't target a _blank window like the other learn more links, and opens in the same window taking you out of the create coupon process.
Yes, im doing the API coding myself.
the first one applies to the Coupon. The second one applies to the PromotionCode. A Coupon can have multiple PromotionCodes
So if i just want to use promo codes? I have to create coupons to hold them in? If i want to give 10 different people their own promo code that gives them a free subscription, id have to create 10 different coupons and each coupon has a promo code for the customer?
no?
You create one coupon and then you create a PromotionCode for each customer with their own unique code, assuming they map to the same coupon in your head like 10% off
Okay, square one. My end goal. I want a way to give selected customers free subscriptions. Say i want to give them their first 6 months for free, give them a code, they use it in place of their credit card, after 6 months it will want to renew and require them to supply a credit card to keep the subscription going, if they don't then the subscription ends.
If i set the coupon redemption limit to 1, and create multiple promo codes under that coupon, only 1 customer can use those codes? It will prevent multiple customers from using the multiple promo codes under that coupon?
And is there a way to limit the promo code to just one of the price codes? I only see where i can specify which products but it then would give them access to all the prices for that product.
https://stripe.com/docs/api/promotion_codes/create#create_promotion_code-max_redemptions you can control the redemption per code which matches what you want
And you define on the Coupon with products they apply to https://stripe.com/docs/api/coupons/create#create_coupon-applies_to-products
@west field is taking over!
And can i add additional promo (customer facing) codes after the coupon is created? Or once i click the create coupon button no more promo codes can be added to that coupon?
Yes, I'd recommend that you read here: https://stripe.com/docs/billing/subscriptions/coupons for more information
Yes, that link has a more info than the "Learn More" links on the dashboard.
The docs mention allowing promo codes on the checkout page with allow_promotion_codes. Is there a setting in the dashboard i can just enable instead of passing that setting in the API?
Im not finding any options for that on the dashboard products page
There is not a setting in teh Dashboard for it, you would need to pass it on your checkout creation via the API. However, if you're seeking for Dashboard only option and using PaymentLinks, you'd be able to allow coupon: https://dashboard.stripe.com/test/payment-links/create
Not using payment links, i am using the API for checkout on the website.
In that case, passing allow_promotion_codes via the API is it
I added it to the API call, it worked
Okay, i tried a promo code, it discounted the check out price to $0 however it still expects credit card details to continue. Is there any way to allow them to "checkout" without cc details?
And i dont see a way to edit/add applicable products to a coupon on the dashboard after the coupon has been initially created.
Is there a cc number place holder they could enter for cc details similar to test mode?
Can you share the request id for this happened? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
You'd specify the products at the creation of the coupon on the Dashboard
For Checkout, you'd need to have at least the minimum amount, https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts that is required by Stripe. Or else, if it's $0, you'd encounter an error.
So for this reason, we'd require cc details
Testing this on my end as well
Are you saying if i give someone a 100% off promo code, they will still have their card charged the minimum 0.50 ?
No, if you apply a 100% coupon and then try paying, it should error. It won't automatically charge 0.50 USD.
Testing this, hang on please
As I'm testing, if I try to add 100% promo, it does not even work. It error out right away
Can you share the coupon id with me please?
Error out at what point? I can checkout, i get the payment page, i can apply the promo code, it shows me $0 balance, but then it wont let me click purchase button without providing cc details.
My checkout page errors with 'Invalid coupon code' when I try to enter it in the Checkout UI
Looking at your checkout page now
Ah, you're doing % off
Is there another way?
On my test, I just had an amount instead of percentage
If there is another way to go about this, my end goal is to allow someone to use the checkout process to create a free subscription (which would expire and then act like a paid subscription) without them having to enter their credit card details. I want them to go through the checkout process so stripe creates a customer account and fires off a webhook which creates an account on my backend linking their account on my side with their newly created strip customer account.
Hello! I'm taking over and catching up...
I think there might be a way to do this, but let me test...
If you set payment_method_collection to if_required when creating the Checkout Session does it work the way you want? https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_method_collection
trying ... brb
What is default for payment_method_collection, i dont see it on that page.
I believe the default is always.
That solves it, it works. You can delete this thread. Thank you.
Happy to help!