#mattwoberts
1 messages · Page 1 of 1 (latest)
Hi!
We have a customer (cus_7rutQlVy22Y4AY)
They have an invoice created on the 27th May (in_0NCKH4EHSdXPilfDceCyTeEI) that had a payment intent (pi_2NCLDSEHSdXPilfD16fZPWOj).
From looking at this event (evt_2NCLDSEHSdXPilfD13WJTNLy) it looks like the payment_intent was created, and set to a status of “requires_payment_method”. However there is a BACS payment method on the customer set as the default. There are no default payments on the sub.
Why did the payment intent not succeed? Why did it not attempt to use the default PM on the customer?
Any help appreciated!
Thanks! Give me a few minutes to look into this.
Why did it not attempt to use the default PM on the customer?
We did attempt the payment, but there was an error. You can see the request with the error message here: https://dashboard.stripe.com/logs/req_VcVs8s98xtLneg
Ok just looking
Is that link valid - I just get an error when I try to view it?
"No request log found with the specified ID."
You are probably not logged into the correct Stripe account.
I only have one stripe account
I'll see if I can see it in the logs list, hang on
What date was it on?
What is your Stripe account ID (acct_xxx)? It's at the top of this page: https://dashboard.stripe.com/settings/account
acct_28nFEHSdXPilfDCrxxxB
What it looks like to me is that the invoice is created and then the payment intent is created with a status of "requires_payment_method", I can't see any error other than the invoice.payment_failed.
Oh - could be this "The log may have passed its retention period." - maybe you can see it but I can't because it's expired?
Hum... not sure. Please give a me few minutes to look into this.
Ok
that internal error basically is that there are multiple mandates available for the payment method and we can't pick which one to use
doesn't seem like something you could fix from your own code and is more of a product issue or bug on our side so best to write to https://support.stripe.com/?contact=true to try and manually fix it or find a solution
Ah OK thanks, that sounds like something else we had recently too actually.
Am I able to look at the mandates, and assign one to the customer (i.e. the latest one), something like that?
(Via the API I mean)
I don't think so
it's the PaymentIntent API that wants to be told which mandate to be used
but you can't do that
since it has nothing to do with you, it's us and our own recurring Invoice logic that is confirming the PaymentIntent, internally
so as I said it's a product issue/bug that probably needs us to investigate or manually fix something. If you really need to get unblocked I suppose deleting all the Customer's PaymentMethods and getting them to enter a new one and then setting that as default_payment_method might work, but seems like a bad choice
So is there anything we need to do on ourside to "manage" this situation where the customer has got multiple mandates?
I don't know, I've never seen this happen before, which is why I say it's our issue/bug and has to be investigated properly by the feature teams