#lakshmi-mandate
1 messages · Page 1 of 1 (latest)
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?
it should be. It would be better if you had an example for me to verify though
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?
how are you adding these payment methods to a customer?
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?
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
ok, i have setup this intent - seti_1KpmKdK0t4YucghqlgJwiWzC
sorry a correction, the mandate data should be passed in : https://stripe.com/docs/api/payment_intents/object#payment_intent_object-payment_method_options-sepa_debit-mandate_options
ah yep, the mandate id is mandate_1KpmKdK0t4Yucghql48Guzhm for seti_1KpmKdK0t4YucghqlgJwiWzC