#sorec_api
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/1254825322436628603
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hello ๐ , looking in to this
Can you send me the URL of this coupon's page in your dashboard?
Can you try passing the promo_ version of the promo code ID instead? (promo_1PNi82CoKsKwTu0gBt3OgY2U)
From the error that you saw and reading that field's description in the API reference, I think that may be what we are expecting https://docs.stripe.com/api/subscriptions/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So for discounts.promotion_code its expecting the promo id rather than the user/client facing id?
Ok so that worked, thanks. I guess the wording used in the docs was a bit confusing.
Correct, I beleive