#cheesus-hip-savedpm
1 messages ยท Page 1 of 1 (latest)
so they can use choose their saved payment method on the invoice payment page
@half timber are you referring to Stripe's own hosted Invoice page? Or something else?
Stripe's own hosted invoice page
Then as far as I know that's impossible, we don't pre-fill with existing/saved PaymentMethods
cheesus-hip-savedpm
Is there any way to pay the invoice using the saved ACSS payment method?
Via direct API call?
Can you advise on the actual way to pay an invoice with stored ACSS? Both of these calls give me the error:
You cannot provide both a mandate id and mandate information to payment_method_options.
Stripe::Invoice.pay('in_123', { payment_method: 'pm_111'}, { stripe_account: 'acct_2222' })
Stripe::Invoice.pay('in_123', { mandate: 'mandate_111'}, { stripe_account: 'acct_2222' })
I'm going to need more than this like an exact API request. But really you should pass both payment_method: 'pm_123' and mandate: 'mandate_abc'
Stripe::Invoice.pay(invoice.stripe_invoice_id, { mandate: 'mandate_1NeOAPAyHIYmEn4OobW0vew1', payment_method: 'pm_1NeOAMAyHIYmEn4OzyGG9cAG'}, { stripe_account: invoice.stripe_account })
Does that have the info you need? req_YgkFool9rU3tQi
looking
And you get the same error without mandate? I assume it's a limitation of Invoices. ACSS Debit is... extremely hard to use because it comes with extremely strict restrictions around what you are allowed to do
I was able to pay an invoice with a source_
But trying again in the same way with a mandate and payment_method on req_9w9G7oxw6EKAqa gives the same error:
You cannot provide both a mandate id and mandate information to payment_method_options.
Then it looks like a bug with ACSS specifically unfortunately you'll have to report this to our support team so that they can investigate: https://support.stripe.com/contact
I've previously tried this whole integration with Checkout::Session and it also didn't work. I can store ACSS with the proper 'sporadic' mandate but never re-use it
I will contact support -- is there anything I should reference to them?
Be crisp about the overall issue, provide details information, exact request ids, exact Invoice ids, etc.
And.... is there any known way to store an ACSS Debit PM on a customer and re-use it? I've tried Checkout::Session and now Invoices and neither have worked
Try a PaymentIntent without anything else first, that's really step 1
I was able to pay a basic payment intent using one of those same stored acss_debit PMs.
pi_3Nf5tYAyHIYmEn4O1Jb3U6sl
So does this seem like a glitch with invoices?
๐ stepping in here as koopajah needed to step away
Thanks ๐
Hmm yeah this does seem like a bug to me.
Have you tried setting the PaymentMethod as the default on the Customer and then just hitting /pay ?
I was thinking that too but there is no option to set it as the default method via dashboard
Hmm that seems like a gap that I can flag. In the meantime, can you set it via the API using https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-default_payment_method ?
Wild. Setting the default payment method to the acss_debit pm and paying the invoice with no other params worked!
req_jHbffk8aT9dHM4
Interesting
Thanks for testing
I'll certainly follow up internally as you should be able to use either method -- paying via the default or specifying the saved PM + mandate
Does this unblock you temporarily?
I'll have to investigate here a bit more to see if we can find a way to make this flow work. I would definitely prefer being able to specify pm + mandate to allow users to chose their payment method at the time of payment.
I can send this info to Stripe support and hand it to them if that's a better channel
?
Yes that would the proper way to file a bug report and then Support can keep you updated on when it has been fixed.
Will do. Thanks for helping me troubleshoot
Happy to help
Ciao - have a great day