#nichemedia_code

1 messages ยท Page 1 of 1 (latest)

amber iglooBOT
#

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

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

tight belfry
#

Hello

toxic sinew
#

Hey

tight belfry
#

If not, then it will always respond with redirect_to_url

#

As that indicates you want to handle the redirect yourself

toxic sinew
#

I actually don't have a setup where I do that.

Currently I only use stripe payment links to create the trials (they then become paid after 7 days OR when the user upgrades early in the modal). The code looks for any invoices that are in the right state and then attempts to charge the card.

I am not sure why the customer's card did this - but I can see in the payment intent it was a "link" decline. Would that trigger the use_sdk where a normal 3DS wouldn't?

Just to confirm - I do not use any stripe checkout or anything where I set the paymentintent - it is whatever happens on the no-code payment links

tight belfry
#

Ah, yes, that could trigger that response. However, with Payment Links you shouldn't need to do anything here -- it is all handled client-side for you within the Checkout Session.

toxic sinew
#

Ah - because I don't actually use stripe checkout at all. The only instance of stripe code in my app is the modal to 1-click upgrade from a trial (that was created using a no code payment link)

#

however

#

maybe I do need to create a payment intent during that flow

tight belfry
#

Hmm yeah I'm a bit confused then... can you share an example PaymentIntent here?

toxic sinew
#

Sorry - it's all very confusing to me

tight belfry
#

It sounds like actually you are confirming a Subscription's Invoice's PaymentIntent

#

And handling that part

toxic sinew
#

Yeah that's right

tight belfry
#

But yeah, can you share the specific example PaymentIntent?

#

Then I can see exactly what is going on

toxic sinew
#

sure - from the customer? 2 seconds I will paste it in

tight belfry
#

Thanks, looking

#

Interesting, okay yeah you are confirming server-side here and not passing use_stripe_sdk: true so I would have expected it to return a redirect_to_url next action... this may indeed be unique to Link. Give me a few minutes to dig into that.

toxic sinew
#

Thanks so much

tight belfry
#

Still looking but so far this does look like a bug to me. I'll circle back in a bit.

amber iglooBOT
toxic sinew
#

No worries at all. Thanks for your help

amber iglooBOT
oak seal
#

Hi there ๐Ÿ‘‹ we do believe this is is a bug and have flagged it to the appropriate team. If you're interested in receiving updates about that, please see the DM I'm about to have one of our bots send you to open a support case to receive those updates in.