HSBC XML API Support Thread
#1
Posted 28 November 2007, 16:26
The HSBC API Module allows OSCommerce to directly interface with HSBC in the UK using HSBC's XML API interface.
Installing this module is relatively straight forwards, however has a number of key steps so please follow the instructions carefully.
©Skywire 2007
#2
Posted 29 November 2007, 01:36
We are thinking about converting from zen cart to OSC because of interaction with HSBC
If there is a problem with the order and HSBC holds the payment in fraud review - does this script allow the order to be seen in OSC back end flagged with an error - the HSBC error handeling is very important to which shopping cart we go to next - and as Im sure you have come accross the absolute lack of help from HSBC - any info on this would be helpfull
Thanks
Edited by sabian, 29 November 2007, 01:37.
#3
Posted 04 December 2007, 13:26
sabian, on Nov 29 2007, 01:36 AM, said:
We are thinking about converting from zen cart to OSC because of interaction with HSBC
If there is a problem with the order and HSBC holds the payment in fraud review - does this script allow the order to be seen in OSC back end flagged with an error - the HSBC error handeling is very important to which shopping cart we go to next - and as Im sure you have come accross the absolute lack of help from HSBC - any info on this would be helpfull
Thanks
At the moment, the management of HSBC transactions in each order is fairly light weight, as we have our client's system set to reject fraudulant transactions, rather than to hold them.
If you look at the Protx Direct module, this has been extended a little further to have refund/accept/reject for each transaction in the order section and we were going to add similar functionality however with this being v1.0 haven't done yet.
If anyone's feeling like adding it - it would be a good addition to have.
Alex
#4
Posted 08 December 2007, 15:15
sabian, on Nov 29 2007, 01:36 AM, said:
We are thinking about converting from zen cart to OSC because of interaction with HSBC
If there is a problem with the order and HSBC holds the payment in fraud review - does this script allow the order to be seen in OSC back end flagged with an error - the HSBC error handeling is very important to which shopping cart we go to next - and as Im sure you have come accross the absolute lack of help from HSBC - any info on this would be helpfull
Thanks
I have actually found HSBC very helpful and did solve some problems when I integrated previously.
Though I didnt use this module my HSBC CGI is working fine
Mike
#5
Posted 03 January 2008, 23:19
ALtough I have not tried it yet but I am in process of getting merchant ID from HSBC.
I am using PAYPAL at present but finding it very costly.
1.Can you please advise me if this module integrate with OScommerce system like Paypal, as no one even feel what card Processing company working behind.
2. If after completion of order Order details appear on Admin order Page like Paypal and google.
3. I understand Refund method is developing, kindly advise when you expecting this to be ready.
Regards
Zee
#6
Posted 20 March 2008, 15:03
All works fine except that card errors do not show up.
I get:
Credit Card Error!
That's all i get on the page, no error message.
I do get the error message in the URL -
?payment_error=hsbc_api&error=Unfortunately+there+has+been ... etc.
Is this related or simply as checkout_payment.php problem? I have checked the file against a stock version but found no differences.
Solar powered gadgets at down to earth prices.
CheekyNaughty
Promoting British Design
#7
Posted 20 August 2008, 19:44
What is the difference between this module and the HSBC CPI module.
I mean understand that this uses the HSBC XML API service, but if I sign up with HSBC epayments, can I choose which service I want. To clarify, I have a client who wants to use HSBC secure epayments, but I'm unclear right now if that still leaves me with the choice of CPI or XML API
CPI looks like a nightmare by all accounts, so I would prefer to use this approach if I can.
Any advice is greatly appreciated
Thanks
Subd
#8
Posted 03 September 2008, 22:32
subdian, on Aug 20 2008, 08:44 PM, said:
Any advice is greatly appreciated
Thanks
Subd
I may be wrong but it all depends on what your client wants! Has he/she applied for an API or CPI a/c?
The choice comes down to money for the client in the end.
The HSBC Secure ePaymnets Card Processing DVD (impress stock order No. 96301-2 MCP 24494 01/06) will give the client a fairly good explanation if you don't want to advise them on their choice.
Once your client has made a decision, finishes applying to the bank and gets the paperwork so you can set up the module Admin side you should be alright.
Suggest you give HSBC secure epayments tech line a buzz (sorry dont have their number). Alex says that they have been most helpful in the past.
Let me know how you get on if you like.
Thanks!
Edited by trainwatcher, 03 September 2008, 22:34.
#9
Posted 14 October 2008, 21:51
#10
Posted 25 November 2008, 15:28
Does this latest update encorporate 3D Secure Integration?
Mike
#11
Posted 27 November 2008, 17:09
Beta -> you'll be glad to know that we are currently trying to update the module to include 3D secure for mastercard and visa. Check back soon for the new version
#12
Posted 29 November 2008, 20:16
valguss, on Nov 27 2008, 05:09 PM, said:
Beta -> you'll be glad to know that we are currently trying to update the module to include 3D secure for mastercard and visa. Check back soon for the new version
Valguss,
Many thanks for the information, I assume it already includes Maestro Secure Code integration? I run a small site but currently use a HSBC CPI Payment gateway but this does not include integration of secure code and HSBC are now requesting this to be done immediately.
All help appreciated,
Mike
#13
Posted 11 December 2008, 11:56
OSCommerce Community Add-Ons: UK Debit Card (Switch) payment facility
Why is this needed? Does this module receive credit card details on the same server as osCommerce ie the customer is not transfered to HSBC's secure server? If that's the case then another pre-requisite surely is that the server needs to be PCI DSS compliant.
#14
Posted 16 December 2008, 12:13
I installed all the files correctly
but i got this error
Fatal error: Cannot redeclare class hsbc_api in /home/hiperma/public_html/catalog/includes/modules/payment/hsbc_api.php on line 37
what should i changed
note: maybe my account is not valid or that is not the problem ?
thanks in advance !
~amr
#15
Posted 08 January 2009, 16:47
I am trying to impliment this system and I keep getting the error message MODULE_PAYMENT_HSBC_API_TEXT_HSBC_ERROR ()
and the error code returned from HSBC is 1067 which could mean anything. Anybody got some bright ideas?
#16
Posted 12 January 2009, 12:15
is there any news on the 3D secure implementation? I've just spoken to HSBC secure epayments tech team and they say if I use a third party module such as this it will need to support 3D secure).
I haven't tried it yet as I'm just in the initial stages of setting up the whole site but my client is adamant we use HSBC!
Many thanks, TTFN
#17
Posted 02 February 2009, 10:58
Does anyone actually have this contribution working?
I am very interested in using this module to replace an exisitng HSBC payment system (due to fraud flags)
Mike
#18
Posted 20 April 2009, 22:41
Warning: include(/home/*****/public_html/*****/includes/languages/english/modules/payment/hsbc_api.r1.2.php) [function.include]: failed to open stream: No such file or directory in /home/*****/public_html/*****/admin/modules.php on line 166
Warning: include() [function.include]: Failed opening '/home/*****/public_html/*****/includes/languages/english/modules/payment/hsbc_api.r1.2.php' for inclusion (include_path='.:/usr/local/php52/pear') in /home/*****/public_html/*****/admin/modules.php on line 166
Fatal error: Cannot redeclare class hsbc_api in /home/*****/public_html/*****/includes/modules/payment/hsbc_api.r1.2.php on line 37
Any ideas where I have gone wrong? I have followed the instructions to a T!
Thanks
#19
Posted 12 May 2009, 13:57
I am currently looking at changing from actinics to oscommerce and would like to know if it is possible to get the module to run seperately from the orders as my customer run an account and need the option of top up there account?
Regards
jay cee
#20
Posted 24 June 2009, 12:54
2nd domain for SSL
[Duplicated message - more appropraitely placed here rather than general install / config area]
I have recently added SSL for my site, which I thought was working fine, until I have come to test it with the HSBC XML API module. Further more, to reduce the costs from my ISP I am sharing the secure area with another domain. Site www.firstsite.com redirects over to www.secondsite.com/hsbc-payment-area-for-firstsite/ to take the payment, login and account details. Although I haven't fully got the API module working yet, I think it is ok.
The problem I was/am having is that the login did not redirect to a valid page (once SSL installed) despite the URL showing what should be a valid page. Instead I got a 404 error. I fixed this by editing catalog/includes/functions/general.php and changing
function tep_redirect($url) {
if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
$url = HTTPS_SERVER . DIR_WS_HTTPS_CATALOG . substr($url, strlen(HTTP_SERVER . DIR_WS_HTTP_CATALOG)); // Change it to SSL
}
}
header('Location: ' . $url);
tep_exit();
}
to
function tep_redirect($url) {
if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page
if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url
$url = HTTP_SERVER . DIR_WS_HTTPS_CATALOG . substr($url, strlen(HTTP_SERVER . DIR_WS_HTTP_CATALOG)); // Change it to SSL
}
}
header('Location: ' . $url);
tep_exit();
}
This edit resulted in the login page going back to the index.php page and showing the welcome screen rather than an error 404 page which seemed fine.
However, when coming to test the payment section, I give 3 choices. Cheque, Paypal or Credit Card via HSBC XML API. The first two work fine. But the HSBC module redirects me back to the login, where even when the correct u&p are entered it simply reloads the login page.
I'm assuming the HSBC module should not redirect me to the login page when I'm already logged in??
Changing the HTTPS to HTTP is not the cause of the issue as have tested the payment area with and without the extra "S".
I am inclined to think that the login page issue I originally had with regards to the error 404 page may have something to do with this error as they both centre around the login.php page.
Any idea greatfully received.
Thanks
Matt
Edited by 000---000, 24 June 2009, 12:54.














