Stripe and countries (suggestion)

Discussion in 'Payments processing' started by 123Marketing, May 6, 2017.

  1. 123Marketing

    123Marketing Member

    Joined:
    Jun 4, 2005
    Messages:
    138
    I have a Stripe plugin feature idea...

    I just got charged $54.00 to process a subscription with Stripe from Australia!!!

    I only want clients in the USA and Canada.

    I asked Stripe about this... here is what they replied with:

    Hello there,

    Thanks for getting in touch with Stripe!

    If you'd like to block cards from a specific country you can build this on your end. Whenever you collect the card details from a customer, you get a Token object [1] back. That Token has the `country` property [2] in the `card` hash which tells you which country the card is from. You can build your integration so that you check at the country and only accept to charge the customer if the card is in a country you want to support. If it's not, you can simply return an error to them explaining why you can't charge their card.

    I hope this helps. If you've any further queries, please let us know!

    Kind regards.

    Dave

    [1] https://stripe.com/docs/api#token_object
    [2] https://stripe.com/docs/api#token_object-card-country

    Can you update your Stripe plugin with this feature?

Share This Page