#Elamparithi

1 messages · Page 1 of 1 (latest)

mellow sundialBOT
tough panther
#

I am checking in to this and will get back to you with what I can find

#

Can you tell me more about what you are trying to do? It looks like we try to make a mandate on every card. Are you seeing some cards not even attempt to make a mandate?

old pulsar
#

As mentioned in docs, mandate will be not created for cards other than Visa or Mastercard. In my case i have to use PaymentIntent to create mandate and process payment, however payment would be succeeded but mandate will not be created. So payment should go through only if mandate is available. Is there any separate API to check whether mandate will be created or not for the particular cards?

#

@tough panther

#

@tough panther Any update?

tough panther
#

Not seeing any separate API for this at the moment. I will consult colleagues on this and get back to you with what I cna find

old pulsar
#

If not possible, please let me know any other workaround? @tough panther

tough panther
#

Though only certain flows let you look at that before submitting the payment

old pulsar
#

Not only card brands, Mandate will not be available for the following cases

A card isn’t an India-issued card.
The currency for the mandate isn’t supported by either the issuer or for the Stripe account’s country.
The India-issued card is neither Visa nor Mastercard. Stripe only supports mandates for these two card brands.

#

@tough panther

fading yarrow
#

Hi 👋 jumping in as the server is quite busy today.

#

In the future please refrain from tagging people, it tends to split their focus and slow things down.

#

No, there is not an endpoint for checking whether a mandate will be created, if you need to make that determination you will need to add custom logic to handle that.

old pulsar
#

is there any workaround?

fading yarrow
#

I'm not following, a workaround to what?

old pulsar
#

Mandate may be or may not be available in PaymentIntent response. However, payment will go through but mandate will not be available. I can't able to process next renewal if mandate is not available.

In simple, payment should go through only if mandate is available in payment intent response.

https://stripe.com/docs/india-recurring-payments
Please check this link for more info

Learn how to update an integration to support RBI e-mandates.

fading yarrow
#

So what do you want to happen? You want to block payments where mandates won't be created?

old pulsar
#

Payment should go through only if mandate is created so i can process next renewals with mandate.

fading yarrow
#

Okay, so to block those payments you'll need to implement a flow that gives you access to details about the payment method before you attempt to trigger a payment, so you can decide whether or not you want to continue with processing the payment.

You can use this flow for that:
https://stripe.com/docs/payments/build-a-two-step-confirmation

You will get access to the Payment Method object, and then check the country and brand, to determine whether a mandate will be craeted. If so your process can proceed to create and process a Payment Intent, otherwise you can surface an error to your customer.

old pulsar
#

Thanks! Toby