Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2007
    Posts
    1
    Plugin Contributions
    0

    Default Problem with a payment - getting 500 internal errors - Finnish bank gateway

    Hi! (sorry my english, I hope you understand it)
    I've encountered a major promlem with a finnish bank gateways.
    By the first, I tested two of them (nordea.php and op.php) in my local server and they works.
    But live server there are two promlems.
    Minor is : If the customer select first one (nordea.php) and push checkout button everything is OK.
    But if the customer select second option (op.php) and push checkout button error message appear.
    But if the customer push browser back button and select first option and press checkout and again browser back button and now select second options and press checkout button then him/her can can enter bank for payment.
    Error message is 1064 somekind of that 'check your mysql syntax ....".

    Major problem is:
    When customer reach bank and do payment. return shop and then http error 500,internal server error.
    In my local it works.

    Any ideas or want to more details?

  2. #2
    Join Date
    Jan 2004
    Posts
    11
    Plugin Contributions
    0

    bug Re: Problem with a payment - getting 500 internal errors

    Same problem here, is there any solution?

    OP payment error:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' . MOD_FI_BANK_ID . ' (session_id) VALUES ('2232af79f2cd8a98838
    in:
    [INSERT INTO ' . MOD_FI_BANK_ID . ' (session_id) VALUES ('2232af79f2cd8a98838813feee35f0cf')]

    ?n the old version of zen, it's working normally.

  3. #3
    Join Date
    Jan 2004
    Posts
    11
    Plugin Contributions
    0

    Default Re: Problem with a payment - getting 500 internal errors - Finnish bank gateway

    I found the bug in Osuuspankki file includes/modules/payment/op.php

    OLD:
    -------------
    if (empty($refid->fields['id'])) { // If not, we create a new one
    $db->Execute("INSERT INTO ' . MOD_FI_BANK_ID . ' (session_id) VALUES ('" . session_id() . "')"); // Make the reservation

    ------------
    NEW:
    -------------

    if (empty($refid->fields['id'])) { // If not, we create a new one
    $db->Execute("INSERT INTO " . MOD_FI_BANK_ID . " (session_id) VALUES ('" . session_id() . "')"); // Make the reservation

 

 

Similar Threads

  1. Replies: 23
    Last Post: 9 Nov 2011, 12:16 AM
  2. Getting an HTTP 500 internal message
    By hottrendz in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 16 May 2010, 09:09 PM
  3. HDFC Bank payment gateway
    By raunharman in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Jul 2009, 07:52 AM
  4. Getting 500 Internal Error trying to install
    By garthwm in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 28 Mar 2008, 08:03 AM
  5. Occasional HTTP 500 Internal Server Errors
    By aaelghat in forum General Questions
    Replies: 3
    Last Post: 21 May 2007, 08:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg