How can I set up location-based credit card payments?

Hi,

I need to charge the orders in different credit cards according the location

We are a Spanish company with 2 warehouses. One warehouse handles half of the country and the other warehouse handles the other half of the country.

For example… Warehouse 1 charge all the orders from Madrid and warehouse 2 charge all the orders from Barcelona.

The question is, could we add two credit cards to receive the payments automatically according to the location?

Thanks!! :folded_hands:

You should create 2 store separates, I guess.

2 stores? Do you mean 2 different websites? :thinking:

Yes. I guess so!

there must be an option to charge with one payment method or another depending on the location…

could i make a custom payment method that allows this requirement?

I have checked payment setting in Shopify admin and it does not have option to do that with my store. But you can try use 2 payment methods and add 2 cards to each payment and then change name of them for example Madrid customers, Barcelona customers