Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Payment error HSBC


themilkman

Recommended Posts

Posted

Can anyone please tell me what this error mean?

 

 

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

 

 

--------------------------------------------------------------------------------

 

Invalid at the top level of the document. Error processing resource 'https://www.mydomain.com/catalog/hsbc_api_process...

 

Array

^

 

 

I also rand the curl_test script and got the following info but do not knwo how to interprete it:

 

Array

(

=> [url=https://www.secure-epayments.apixml.hsbc.com/]https://www.secure-epayments.apixml.hsbc.com/

[content_type] => text/xml

[http_code] => 200

[header_size] => 106

[request_size] => 93

[filetime] => -1

[ssl_verify_result] => 0

[redirect_count] => 0

[total_time] => 0.528268

[namelookup_time] => 0.317458

[connect_time] => 0.347301

[pretransfer_time] => 0.495673

[size_upload] => 0

[size_download] => 835

[speed_download] => 1580

[speed_upload] => 0

[download_content_length] => 835

[upload_content_length] => 0

[starttransfer_time] => 0.52688

[redirect_time] => 0

)

 

Errors: 0

 

HTTP/1.1 200 OK Server: CCE_XMLIC/1.0 Connection: close Content-Type: text/xml Content-Length: 835 6 16 Merchant CcxXmlInput.A CcxXmlInput 1 793 CcxXmlInstance.cpp 20:00:41Nov 6 2006 8 6 The HTTP method received is not valid. Only POST is accepted. EOF

 

Any ideas?

 

 

 

Thanks

Whats the point of a signature?

Posted

The server CURL info is:

 

curl

CURL support enabled

CURL Information libcurl/7.13.2 OpenSSL/0.9.7e zlib/1.2.2 libidn/0.5.13

 

 

 

 

 

Can anyone please tell me what this error mean?

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

 

Invalid at the top level of the document. Error processing resource 'https://www.mydomain.com/catalog/hsbc_api_process...

 

Array

^

I also rand the curl_test script and got the following info but do not knwo how to interprete it:

 

Array

(

=> https://www.secure-epayments.apixml.hsbc.com/

[content_type] => text/xml

[http_code] => 200

[header_size] => 106

[request_size] => 93

[filetime] => -1

[ssl_verify_result] => 0

[redirect_count] => 0

[total_time] => 0.528268

[namelookup_time] => 0.317458

[connect_time] => 0.347301

[pretransfer_time] => 0.495673

[size_upload] => 0

[size_download] => 835

[speed_download] => 1580

[speed_upload] => 0

[download_content_length] => 835

[upload_content_length] => 0

[starttransfer_time] => 0.52688

[redirect_time] => 0

)

 

Errors: 0

 

HTTP/1.1 200 OK Server: CCE_XMLIC/1.0 Connection: close Content-Type: text/xml Content-Length: 835 6 16 Merchant CcxXmlInput.A CcxXmlInput 1 793 CcxXmlInstance.cpp 20:00:41Nov 6 2006 8 6 The HTTP method received is not valid. Only POST is accepted. EOF

 

Any ideas?

Thanks

Whats the point of a signature?

Posted

Okay I just tried the same in Firefox and got a better rsult when trying to process an order I get:

 

Array ( [0] => [1] => [2] => 1.0 [3] => [4] => OrderFormDoc [5] => [6] => USERNAME [7] => PASSWORD [8] => 364 [9] => [10] => [11] => Payment [12] => [13] => [14] => Y [15] => [16] => [email protected] [17] => [18] => [19] => ewrr [20] => [email protected] [21] =>

[22] => erw ewr [23] => EREWdewqDE [24] => R [25] => rewe [26] => wre [27] => reEWQE [28] => 12 [29] =>

[30] => [31] => [32] => [33] => [34] => 1 [35] => 345 [36] => 02/16 [37] => 4444333322221111 [38] => 1 [39] => [40] => [41] => [42] => [43] => Auth [44] => my domain : Online Wines, Champagnes, Sparkling, Port, Sherry, Madeira | Spirits & Liqueurs [45] => [46] => [47] => 650 [48] => [49] => [50] => [51] => [52] => [53] => ) 1.0 OrderFormDoc 47d231ff-de86-3003-002b-0003bac62f71 Payment 6 16 Merchant Director Director 3 876 CcxInput.cpp 19:43:05Nov 6 2006 7 6 Insufficient permissions to perform requested operation.

rewe 12 erw ewr reEWQE wre EREWdewqDE R

[email protected] ewrr [email protected] 1 345 02/16 4444333322221111 1 Y Auth 364 USERNAME PASSWORD 1205088161073 1205088161088

ID =

MAXSEV = 6

ACTION =

CCRETURNMSG =

FRAUDRESULT =

CCERRCODE =

ORDERID =

TRANSACTIONID =

TRANSACTIONSTATUS =

AUTHCODE =

 

Warning: Cannot modify header information - headers already sent by (output started at ....../public_html/catalog/hsbc_api_process.php:224) in ............./public_html/catalog/includes/functions/general.php on line 33

Whats the point of a signature?

  • 1 month later...
Posted

Hi Toni

 

It looks like you either don't have the right permissions setup on your HSBC account or similar as the two errors you are getting

 

CcxInput.cpp 19:43:05Nov 6 2006 7 6 Insufficient permissions to perform requested operation.

 

CcxXmlInstance.cpp 20:00:41Nov 6 2006 8 6 The HTTP method received is not valid. Only POST is accepted. EOF

 

I'd check with HSBC that you account is enabled for direct HSBC XML API access (not the other types) and also changing the options in hsbc_api_process.php to be less strict

 

$disable_curl_ssl_check = true;    // Set to true (no quotes)
                                   // if you are having problems connecting to the protx servers
$use_more_accurate_order_id = true;  // May not work for everyone (depending upon database permission
                                    // Set to false to use less accurate method

 

If you want us to debug it for you get in touch at alex at skywire dot co dot uk and we can help out for a small fee or even a few bottles :-)

 

Alex

 

 

Can anyone please tell me what this error mean?

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

 

Invalid at the top level of the document. Error processing resource 'https://www.mydomain.com/catalog/hsbc_api_process...

 

Array

^

I also rand the curl_test script and got the following info but do not knwo how to interprete it:

 

Array

(

=> https://www.secure-epayments.apixml.hsbc.com/

[content_type] => text/xml

[http_code] => 200

[header_size] => 106

[request_size] => 93

[filetime] => -1

[ssl_verify_result] => 0

[redirect_count] => 0

[total_time] => 0.528268

[namelookup_time] => 0.317458

[connect_time] => 0.347301

[pretransfer_time] => 0.495673

[size_upload] => 0

[size_download] => 835

[speed_download] => 1580

[speed_upload] => 0

[download_content_length] => 835

[upload_content_length] => 0

[starttransfer_time] => 0.52688

[redirect_time] => 0

)

 

Errors: 0

 

HTTP/1.1 200 OK Server: CCE_XMLIC/1.0 Connection: close Content-Type: text/xml Content-Length: 835 6 16 Merchant CcxXmlInput.A CcxXmlInput 1 793 CcxXmlInstance.cpp 20:00:41Nov 6 2006 8 6 The HTTP method received is not valid. Only POST is accepted. EOF

 

Any ideas?

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...