#lakshmi-mandate

1 messages · Page 1 of 1 (latest)

neon walrus
#

hi there, can you share an example source object id?

lone imp
#

We dont have one! we are trying to migrate payment methods of a few merchants from Stripe to Chargebee. Some merchants have source object id with them in which the mandate_reference is present for sepa_debit while others have payment_method_id in which there is no mandate_reference. So we asked the merchants for the mandate ID along with payment_method_id in order to migrate them from Stripe to Chargebee. Now, we want to understand whether the mandate _reference in the source object given by Stripe is the same as the mandate object id?

neon walrus
#

it should be. It would be better if you had an example for me to verify though

lone imp
#

Okay, let me try creating a EU account and add a sepa_debit payment method for a customer.
I have created a EU account.
Added sepa_debit payment method in the settings.
I have added a customer. But not getting option to add sepa_debit payment method to the customer. I have options to add only card and US Bank Account

#

Can u help here?

neon walrus
#

how are you adding these payment methods to a customer?

lone imp
#

Okay, ignore the above. I achieved it using the API "attach payment method to customer"

#

I have this payment method - pm_1KpluhK0t4Yucghqn3Ee2INK
added to the customer - cus_LWpGym8XRqKl4K
What is the mandate id of this payment method of the customer?

neon walrus
#

this particular request wouldn't have one. If you create the payment method using Payment Method API, a mandate wouldn't be automatically created.

The mandate is created either when you create the PaymentIntent or SetupIntent (you would need to include : https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method_options-sepa_debit-mandate_options), or alternatively the mandate would be automatically created if you're using the Payment Element to confirm the SetupIntent or PaymentIntent

lone imp
#

ok, i have setup this intent - seti_1KpmKdK0t4YucghqlgJwiWzC

neon walrus
#

ah yep, the mandate id is mandate_1KpmKdK0t4Yucghql48Guzhm for seti_1KpmKdK0t4YucghqlgJwiWzC

lone imp
#

How did u get this? Can you please let me know the steps please?

#

Sorry

#

Ignore

#

I have it in the response object