Problem with eway checkout

  • Posts: 6
  • Thank you received: 0
12 years 2 months ago #41455

Hello,

I have the following php error message when I try to insert the credit card details and try to checkout.

There was an error while processing your transaction:

Warning: xml_error_string() expects parameter 1 to be long, resource given in /home/otrainco/public_html/plugins/hikashoppayment/eway/eway.php on line 437


I would really appreciate some assistance with this.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 81568
  • Thank you received: 13078
  • MODERATOR
12 years 2 months ago #41610

Hi,

Please change the line:
$this->myErrorMessage = xml_error_string( $this->parser );

to:
$this->myErrorMessage = xml_error_string( xml_get_error_code( $this->parser ) );

in the file plugins/hikashoppayment/eway/eway.php
That should display the correct error message which should help you/us understand why it doesn't work.

The following user(s) said Thank You: otrain

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
12 years 1 month ago #41794

Hi,

Thanks, I figured the issue. It was with the customer ID.

The customer ID was wrong.

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 1
11 years 10 months ago #54591

--

Last edit: 11 years 10 months ago by Mat.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum