#orrc

1 messages · Page 1 of 1 (latest)

stray swallowBOT
sharp glacier
#

Yeah AFAICT there's no mandate field on the pm_xxx object. The only way I think you can do this is via the Setup Intent that originally created the Payment Method

#

So, pm_xxx -> setup_intent -> mandate

polar hound
#

I see it on a sepa_debit PM, but it's null. Though I can see the Setup Intent on the Dashboard under that PM.

The paypal PM type doesn't have this item in the API, and doesn't show the Setup Intent on the Dashboard… but I can find it by searching for the user's email address.

So I'm still not sure how to get the Mandate programmatically.

Is this something that's known, and might be improved? 🙂

#

(either way, it looks like I need to make sure to handle the Mandate webhooks)

proper cairn
#

hi! I'm taking over this thread.

#

So I'm still not sure how to get the Mandate programmatically.
looking into this, but not sure either. In the meantime yes listening to the webhook event should work.

polar hound
#

Thanks.

It's just kinda weird that someone can cancel their mandate, and there's no sign of this on the Dashboard, whether you look at the Customer, their events and logs, and same for the Subscription and PaymentMethod.