X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   X-Payments issues & questions (https://forum.x-cart.com/forumdisplay.php?f=50)
-   -   International Credit Card Processing (https://forum.x-cart.com/showthread.php?t=64917)

gblair 09-20-2012 01:54 PM

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?

joss 09-20-2012 10:39 PM

Re: International Credit Card Processing
 
1 Attachment(s)
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.

gblair 09-21-2012 08:13 AM

Re: International Credit Card Processing
 
Thanks very much. That worked perfectly. I had to patch manually, but it was a pretty simple patch.

bugaminute 11-09-2012 11:49 AM

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 :-) )


All times are GMT -8. The time now is 10:39 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.