Page MenuHomePhabricator

Validation for AmEx BINS in India
Closed, ResolvedPublic

Description

@AMJohnson and @krobinson flagged that we receive AmEx bank rejections from India, where AmEx is not accepted,. The IN form doesn’t list card types or show card logos.

Would it be possible to have the IN form validate on AmEx BINS to advise the donors that AmEx is unaccepted / ask them to use a different card before they submit their attempt? The volume of donors affected is small, less than a dozen a month, but it would save donors frustration and reduce rejections at Gravy.

Event Timeline

Change #1203551 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Show 'unsupported card' message for AmEx in India

https://gerrit.wikimedia.org/r/1203551

Change #1203551 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Show 'unsupported card' message for AmEx in India

https://gerrit.wikimedia.org/r/1203551

Ejegg subscribed.

Just deployed this, using the generic 'Unsupported card entered' error we already had translated.

XenoRyet set Final Story Points to 2.

Reopening this as @AMJohnson tested this and raised a good question:

"Per Localization in India we accept Visa, MasterCard, and Rupay. However, I was able to make a successful donation via a Discover card on the India donation form see d46d2e05-5334-4144-8a04-9711f766b3bb.

Is the information we have on what cards are actually accepted in India wrong, is it just a unique scenario as I'm trying to test INR with a US card that somehow allowed it to process, or is that new error message that's suppose to flag unsupported cards not working?"

I'm not sure if this is a Tech or a Payments question, should we accept Discover from India?

There’s no widespread “Discover credit card” issued in India like Visa or Mastercard. Although users from other countries can use Discover card on partner networks like Rupay or Diners. So in you case Michael, probably Discover used partner network letting the transaction go through.

Closing as the Amex issue is resolved. If we need to do something with Discover, we should make a new ticket for that.