cancel
Showing results for 
Search instead for 
Did you mean: 

Charge based on IPs

Hi, 

 

We currently have 2 Authorize.net accounts, one for USD charges and one for CAD. Is it possible to integrate these 2 separate accounts with one woocommerce shop to charge customers based on their IPs?

 

Thanks in advance.

azin
Member
2 REPLIES 2

@azin 

 

To my knowledge auth.net has no such feature in their API. However, you or your programmer could implement something like that. The answer to "is it possible" is almost always yes, the question is how much time (and money) do you want to spend on it. What you would have to do is put a script in your server side code to detect IP addresses and have your form post url be dynamic based on the IP.  

Renaissance
All Star

It would be pretty easy to dynamically populate the appropriate Authorize.net account login based on an IP address. The main functionality would be determining the geolocation based on the IP address. There are a number of free databases and APIs that could help you to archieve your desired functionality. 

Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor