#gurvinder

1 messages · Page 1 of 1 (latest)

delicate badgeBOT
mellow harness
kind cipher
#

sure, one sec

#

req_W3IkBxXZ1XEjp6

#

btw I am also trying the official chat support option and it says 3 minutes response but I have been waiting for over 30 minutes

mellow harness
#

Okay I think the issue is the mandate that has been created for this payment method will only support a payment in INR.

kind cipher
#

so when creating a mandate during setup intent, do I need to pass USD as currency? If so then what should we pass for amount value given the max can be 15,000 inr but the forex rate fluctuates. it isn't very clear from the docs

delicate badgeBOT
arctic harness
#

Hello! I'm taking over and catching up...

kind cipher
#

thanks! I think from what i understand we would need to create mandates by passing USD instead of INR, I'm confused about the amount stuff. And I assume we would need to ask all of our customers to re-add their cards once we do change it for a new mandate to be established?

arctic harness
#

Then you tried to use it with a USD payment.

#

The currencies don't match, so you got the error.

kind cipher
#

ah ok, so if I want to charge in USD, then the mandate options need to be something like this? payment_method_options={ "card": { "mandate_options": { "reference": "{{REFERENCE}}", "description": "{{DESCRIPTION}}", "amount": 20000, "currency": “usd”, "start_date": 1675238400, "amount_type": "maximum", "interval": "month", "interval_count": 1, "supported_types": ["india"], }, }, },

#

20000 (200 USD) would be pretty close to the 15,000 INR amount and the higher amount will just be ignored I guess?

arctic harness
#

Yes, I think so. Or you'll get an error if you try to charge too much.