Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

International Credit Card Processing

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 09-20-2012, 01:54 PM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default International Credit Card Processing

Anyone had this issue?...

If a customer enters billing information for a country that uses states (US, Australia etc) then then can get through and enter their credit card information.

If a customer enters billing information for a country that doesn't use states, in this case the Philippines, it generates an error:

Order processing error
Your payment did not go through.
This can happen if you mis-typed credit card information,
or clicked "cancel order".
Please review your data and try again.


My first thought was because I make the state mandatory, even if there isn't one, in which case X-Cart removes the field. But I removed the mandatory status and it still fails.

To get around it, I created a state for the customers address and am able to get to the credit card entry form.

Any thoughts?
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote
  #2  
Old 09-20-2012, 10:39 PM
 
joss joss is offline
 

X-Cart team
  
Join Date: Feb 2009
Posts: 60
 

Default Re: International Credit Card Processing

The State field is required by X-Payments API, and thus the error arises if it's not send.

Try to apply the patch attached to my message to your store, and let us know the results.
Attached Files
File Type: txt xpc.states.txt (1.4 KB, 19 views)
__________________
joss@x-cart.com
Reply With Quote

The following user thanks joss for this useful post:
ambal (11-12-2012)
  #3  
Old 09-21-2012, 08:13 AM
 
gblair gblair is offline
 

Advanced Member
  
Join Date: Jul 2008
Posts: 69
 

Default Re: International Credit Card Processing

Thanks very much. That worked perfectly. I had to patch manually, but it was a pretty simple patch.
__________________
paperwhimsy.com
Gale Blair
4.1.10
Reply With Quote

The following user thanks gblair for this useful post:
ambal (11-12-2012)
  #4  
Old 11-09-2012, 11:49 AM
 
bugaminute bugaminute is offline
 

Senior Member
  
Join Date: Oct 2004
Posts: 126
 

Default Re: International Credit Card Processing

Thanks much also! I applied the patch manually and now my int'l customers are happy again (so are we )
__________________
Xcart Version Gold 4.7.12
Prod Sys- Debian 9 Stretch
Prod Sys - Apache/2.4.25 (Debian)
CDSEO Pro- 2.2
Mysql Community Edition 5.7.32
PHP 7.3
Reply With Quote

The following user thanks bugaminute for this useful post:
ambal (11-12-2012)
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 04:11 PM.

   

 
X-Cart forums © 2001-2020