#Kromolabs Developer

1 messages · Page 1 of 1 (latest)

ashen mortarBOT
sweet jolt
#

Hi there!

#

Can you share the subscription ID (sub_xxx)?

mortal apex
#

Hi, here I am

#

sub_1MvdFhG1EiuzslYu4OZejCl8

#

this is one, but i have more

#

pi_3MvdFhG1EiuzslYu0S66P0Oz

#

this is the failed pi

sweet jolt
#

Thanks! Give me a few minutes to look into this.

#

That payment needed 3DS. That's why it got invoice.payment_action_required and invoice.payment_failed. Then 3DS was completed and the invoice got paid.

mortal apex
#

Yes but it feels like that the payment failed arrived before the customer completed 3dsecure

sweet jolt
mortal apex
#

I need to check hotjar but it feels like that when i create the subscription a trial of payment starts automatically, even if I pass 'payment_behavior'=>'default_incomplete'

sweet jolt
#

Not sure I understand your question. Here you created a new subscription with an existing payment method. And the status of the subscription was incomplete because the first payment required 3DS.

mortal apex
#

yes, I create a subscription with an existing method, but i don't want that stripe automatically try to pay it

sweet jolt
#

What do you want to happen instead?

mortal apex
#

just create the subscription. Then I'm going to pay the payment intent manually via javascript frontend in order to show 3dsecure and avoid payment failed event

sweet jolt
#

I think it's simpler to keep your current integration, and just ignore the payment failed event.

ashen mortarBOT
mortal apex
#

Ok yes, i understand. The problem is that each client that tries to pay a subscription receive a payment failed email notification (which is attached to that invoice.payment_failed event) before the payment succeeded notification. It's okay, i'm gonna check via hotjar if it's client issue that wrongs typing 3dsecure or if it is the system that automatically tries to charge that method even if 3dsecure is requested

#

Thanks for the support anyway, i'll reach you later if i can find more info about the failing of that payments

quiet swallow
#

Hey, taking over here. Let me know if there's any follow-up Qs I can answer!