#adaxer-checkout-failedpayments

1 messages ยท Page 1 of 1 (latest)

steep turretBOT
haughty sable
#

Hi ๐Ÿ‘‹

I'm goind to need much. more detail if I'm going to help.

  1. What Stripe APIs are you using?
  2. How is your server collecting payments from your customers?
  3. Do you have an example ID for the failing payment?
hasty birch
#
  1. I'm using the following:

'checkout.session.completed'
'invoice.payment_succeeded'
'invoice.payment_failed'
'customer.subscription.deleted'

  1. I'm sending them to stripe by creating a checkout session.
  2. pi_3OiwKLEKarudGTfP0fyoPwYv - This is an example of it happening to one of my customers.
#

It usually looks like it's when a verification step from the user is needed. Not 100% though.

haughty sable
hasty birch
#

I'm never setting the expires_at timestamp, does that mean that I am reusing the session?

This is the code that creates the checkout session:

               line_items=[
                   {
                       'price': price_id,
                       'quantity': 1,
                   }
               ],
               mode='subscription',
               success_url=request.build_absolute_uri('/checkout/success/'),
               cancel_url=request.build_absolute_uri('/checkout/error/'),
               metadata={
                   'user_email': user_email,
                   'plan': plan,
               },
               allow_promotion_codes=True,
           )```
haughty sable
#

No, if you never set it then it will expire by default.

#

They do not appear to have completed the authentication

hasty birch
#

So it's on their end? Or is there something I can do to resolve this - or pheraphs prevent it?

haughty sable
#

Based on the example you gave, this is on their end. The bank that issued their payment method required additional authentication and they did not complete it.

hasty birch
#

That's very odd. 2/3 of my users get this exact error. I have a hard time believing they all do not complete it, even more when this user tried 5 times.

haughty sable
#

Looking at your account logs, I do see customers attempting to use checkout URLs that are no longer active as well as plenty of failed payments

hasty birch
#

Can you see any other problem that may account to this?

haughty sable
#

A number of the failed payments look like generic card declines, in addition to the failed validation

hasty birch
#

Welp, that's unlucky I guess? I can't see it being any different in the future though.
This is my first time using stripe so I don't really have a reference to any other website selling subscriptions, maybe this is common?

haughty sable
#

IT depends on how you secure your site. Exposed checkout pages are often used to test the validity of stolen card numbers

hasty birch
#

Okay thank you!

haughty sable
#

I'm happy to shed what ๐Ÿ’ก I can ๐Ÿ™‚