#irina_unexpected

1 messages ยท Page 1 of 1 (latest)

tight ledgeBOT
#

๐Ÿ‘‹ 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.

still lantern
#

Hi! Can you share the promo code / ID?

icy ferry
#

I had to delete it from the account but this has happened with all promo codes created

still lantern
#

Cool.

#

Without an ID to use to look at things from my end, there isn't really anything I can do?

icy ferry
#

Let me create a new one

still lantern
#

Can you also share the code you're using to create it please?

icy ferry
#

WeYgyVJq

#

The code is: TEST

still lantern
#

What is your Stripe Account ID?

icy ferry
#

acct_1Jgly3AfeCBsxPGK

still lantern
icy ferry
#

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

tight ledgeBOT
winged sail
#

๐Ÿ‘‹ 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?

icy ferry
#

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

winged sail
#

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?

icy ferry
#

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

winged sail
#

By coupon you actually mean Promotion Code, correct?

icy ferry
#

Yes

winged sail
#

And by specific for one user you mean you set the customer parameter, correct?

icy ferry
#

Yes

#

I choose the "limit to a specific customer" feature

winged sail
#

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)

icy ferry
#

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...

winged sail
#

Okay I need the example where you applied it and it worked on a different Customer

icy ferry
winged sail
#

That is your own UI

#

So I need the actual Stripe API request or Stripe object ID that it was applied to.

icy ferry
#

Can I add someone from my tech team into this chat?

winged sail
#

Yep

icy ferry
#

How can I add them to the channel?

winged sail
#

You should just be able to @ them if they are in this server, otherwise you can provide them the direct link to this thread

icy ferry
#

Perfect, on it! Thank you

#

@warped lotus

warped lotus
#

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

winged sail
#

Hi there

#

Yeah PaymentSheet doesn't support promotion codes, that's correct -- it is a limitation of our Mobile SDK mostly.

warped lotus
#

Is there any workaround apart from maintaining the state of Promos on our side?

winged sail
#

This is just for one-time payments or Subscriptions here?

warped lotus
#

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)
winged sail
#

Yeah unfortunately this is a rough edge for mobile + one-time payments. You are best off tracking promotion code state on your side here.

warped lotus
#

What if they were to be Subscriptions? Would we then fall under another category which would allow us to use Promo Codes and Products?

winged sail
warped lotus
#

And Products would fit as line items, cool thanks