#CodyL-mandate

1 messages · Page 1 of 1 (latest)

wheat path
#

Hi there! You locate mandates based on either charges or SetupIntents.

#

What type of paymentmethod are you talking about specifically? And how are you collecting the mandate details?

dusty flint
#

ACH Debit

#

So I can see setting the mandate on setupIntent, but how can we retreive it after the fact

#

additionallly ACH Debit says that the mandate will be invalidated after a dispute so how would we know that without being able to see the mandate on the Payment Method

#

or do we have store the mandate in the db on our side? Seems like it should be retreivable by customer

wheat path
#

Yes it is recommended that you store it yourself, depending on how you want to surface it to the customer if need be.

dusty flint
#

Definitly seem to be going away from having things stored on the customer

#

No default payment methond (there is a default source)

wheat path
#

In terms of knowing invalidated... you would listen for mandate.updated

dusty flint
#

but no way to see if the mandate associated with the saved paymentmethond has been invlidated

#

by querying stripe

wheat path
dusty flint
#

but only if you know the mandate id

#

There is no way to see the mandate id assoicated with the payment method attached to the customer. right?

wheat path
#

As I said, you have to retrieve the SetupIntent to grab the mandate ID. So in the case you would list SetupIntents by Customer to get to the Mandate.

dusty flint
#

I guess I thought the setup intent was no longer needed once you completed it and got the payment method attached to the customer.

#

Is that not the case?

wheat path
#

Well that depends on whether you store the mandate ID on your end or not.

dusty flint
#

Seems like a bit a of a hole that we can't see the mandate id associated to the payment method attached on the account which could cause a payment to fail if it is invalidated.

wheat path
#

You can certainly make the argument that you would like the mandate ID to be associated directly to the PaymentMethod object, but that simply wasn't how this was built. You can do exactly what you are saying.

dusty flint
#

Yeah I'm starting to think I might put this on the back burner for 6 months or so. This all feels a bit under baked. I know the ACH Debit portion with the mandates was just released.

#

And just continue to use the sources api

#

Anyway thanks for your help.

#

Happy to give my feedback as a consumer of the API with 50K ach debits per year if anyone is interested.

wheat path
#

We certainly would be interested and I appreciate the feedback. If you are willing, I'd recommend writing into our Support team and they would happily pass your feedback to our ACH product team and also keep you in the loop if your feedback is actioned.

dusty flint
#

OK I will open a support ticket. It has been increasing difficult to deal with them however as they increasingly seem just be copying and pasting from a knoweledge base

#

but I'll give it a shot