#irina_unexpected
1 messages ยท Page 1 of 1 (latest)
๐ 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/1382041406331289621
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! Can you share the promo code / ID?
I had to delete it from the account but this has happened with all promo codes created
Cool.
Without an ID to use to look at things from my end, there isn't really anything I can do?
Let me create a new one
Can you also share the code you're using to create it please?
What is your Stripe Account ID?
acct_1Jgly3AfeCBsxPGK
EDIT: That Promo Code is not associated with a Customer: https://dashboard.stripe.com/test/logs/req_as61rzBdVafSqQ
I can see this one is not the one created, we created one in the production environment
I have created a new promo code with ID: 2maK7R67 (TEST2) and same issue happened
๐ stepping in here as timebox needs to step away
Can you provide at least a couple of the specific Invoices or PaymentIntents that you saw this promo code apply to?
There are no payments done for this promo code specifically
Its a testing one as we had to delete all promo codes because they were showcasing in all user accounts
What does "showcasing in all user accounts" mean?
Let's back up... can you lay out the exact steps you took and what is/was unexpected?
I created a coupon through Stripe for our application, this coupon is specific for one user (in this case the user that has an account under giulia.acchioni@zimconnections.com). When I click on create coupon, I can see the coupon in my app within my account (which is not giulia@zimconnections.com) and I can apply it to my products within my account, which should not be the case, as only Giulia should be able to apply and use ths promo code
By coupon you actually mean Promotion Code, correct?
Yes
And by specific for one user you mean you set the customer parameter, correct?
Okay and have you actually tried to apply the Promo Code to another Customer?
(I'd highly recommend doing all of this in test mode as I see you created your TEST2 code in live mode)
Yes, I applied the promo code in my account and it worked
We need to test it in live mode as the app is in production now...
Okay I need the example where you applied it and it worked on a different Customer
I applied it to my account (irinaghgh23@gmail.com)
That is your own UI
So I need the actual Stripe API request or Stripe object ID that it was applied to.
Can I add someone from my tech team into this chat?
Yep
How can I add them to the channel?
You should just be able to @ them if they are in this server, otherwise you can provide them the direct link to this thread
Hello
Hey @winged sail
So the main issue we have is that Coupons/PromoCodes and other features are not available with the PaymentSheet, only with pure Checkout integration
From my understanding it is because Checkout is a much higher level than PaymentSheet which only supports PaymentIntents
Hi there
Yeah PaymentSheet doesn't support promotion codes, that's correct -- it is a limitation of our Mobile SDK mostly.
Is there any workaround apart from maintaining the state of Promos on our side?
This is just for one-time payments or Subscriptions here?
one-type payments
And we can't use Checkout as it would mean either:
- Redirect outside the app
- Have an in-app webview which therefore disable any Apple Pay/Google Pay integrations (webview sandbox limitations)
Yeah unfortunately this is a rough edge for mobile + one-time payments. You are best off tracking promotion code state on your side here.
What if they were to be Subscriptions? Would we then fall under another category which would allow us to use Promo Codes and Products?
Yeah you could apply the promo code to the Subscription in this case: https://docs.stripe.com/api/subscriptions/create?api-version=2025-05-28.preview#create_subscription-discounts-promotion_code
And Products would fit as line items, cool thanks