#noah-classdojo_api

1 messages ¡ Page 1 of 1 (latest)

cinder talonBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1245064730964656170

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

velvet meadow
#

Hello! Payment Intents are low-level payment objects with no concept of Promotion Codes or other discounts. If you're handling discounts by modifying the amount on your end you should also be managing promotion codes/coupons/discounts on your end and not using Stripe's Promotion Codes at all.

boreal timber
#

Ok, thanks - the idea behind using stripe's system was to allow non-engineers access to creating/managing promo codes in the stripe dashboard, and to facilitate future migration away from payment intent. The workaround to adjust the amount works just fine, so I was hoping there was a simple API to just mark a code as redeemed, but I guess we'll need to come up with our own system. Thanks!