We're in a bit of a fix. We made some changes to one of X-Cart's payment Processors (Clear Commerce) - [url removed, login to view] to allow our X-cart 3.8 site's payment system (HSBC) to work using the API. We now have a similar site, using the exact same payment system, but this is on v 4.1 of x-cart rather than 3.8 and the cc_fuse payment gateway has changed...!
We're trying to keep the authorisations on the same site, rather than directing to HSBC's payment gateway, and it works REALLY well on the existing site. Authorisation happens "behind the scenes" and the customer never leaves our pages. As a result, we're frustrated that it won't work on the new site.
I've attached 3 files.
1) The modified (working) [url removed, login to view] from 3.8 x-cart
2) The "pure" (not-working) [url removed, login to view] from 4.1 x-cart
3) The XML API reference document from HSBC (pdf)
Also, here's the forum entry that gave us the detail of how to modify 3.8's [url removed, login to view]:
[url removed, login to view]
Out of the box, however, the 4.1 version doesn't even work for visa/mc. Errors such as "Payment processing gateway is not available. Please try again later. " or "Reason: System error. (CcErrCode: 1067)Country code value &apos GB&apos specified for the &apos BillTo&apos address is not a valid country code. (ResourceID: 15) (Sev: 6) (DocumentId: 462784b2-c5d5-3001-002b-0003bac00fc9)" are not uncommon!