#Hellruba

1 messages ยท Page 1 of 1 (latest)

gaunt rapidsBOT
mystic shard
#

I don't think it is trial related. Your understanding is correct that it should not ask for 3DS again if you are doing an off session payment like with a subscription. Trying to think of what might cause this

#

Do you have the ID of the test subscription that you are seeing this behavior on? (sub_123)

tidal hazel
#

yes id: sub_1MAWy62SkO9a7OrGcKJ15QLP

mystic shard
#

Thank you, checking in to that subscription...

#

Apologies for the delay. The things that I am thinking to check here seem to be set up properly

tidal hazel
#

No worries for the delay reading more documentation in the meantime to be sure i didn't miss a thing ๐Ÿ™‚

mystic shard
#

Quick question, what does your client side confirm code look like here?

#

I don't think that that is relevant because the setup intent has off session set up properly but it may help to know

tidal hazel
#

the window opened for the 3ds?

#

That's the window i get when using the card mentionned above for the 3ds check of the card

mystic shard
#

Uh I more mean, if this is your custom page, what js code are you using to confirm this setup intent?

tidal hazel
#

i use the stripe initiated with useStripe() hook and then await stripe!.confirmSetup({
elements,
redirect: 'if_required',
}); with elements being the elements retrieve from useElements() hook

#

 const elements = useElements();
 const stripe = useStripe();
result = await stripe?.confirmPayment({
                elements,
                redirect: 'if_required',
              });
#

better to see that way ๐Ÿ™‚

mystic shard
#

I think 3DS might be required here because it is assumed the payment would be on session with that kind of change

tidal hazel
#

oh didn't thought of that will check that out

#

It might be from that i guess, everytime we update a subscription if we expect it to be off_session we have to mention it?

#

or is it only specific on the trial case to mention it again since the payment will be applied?

#

it worked! ๐Ÿ˜„

#

When the trial end by itself from stripe, will it apply the previous off_session set during creation ? But otherwise thanks alot i would have been stuck around for hours ๐Ÿ™‚

mystic shard
#

Yes, when the end happens automatically from Stripe, we will signal that the charge is off session. I think that we do assume that API calls are from some user's on session action so you will want to mention that the action is off session via that parameter

#

I don't think it is just the trial case. Like even for a proration I think if you signal off session vs don't you will see that

tidal hazel
#

alright thanks i will take note of that and make adequate changes then ๐Ÿ™‚

mystic shard
#

Awesome! Glad we could get to the bottom of that one. It had me stumped for a bit