Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Oct 2008
    Posts
    187
    Plugin Contributions
    0

    Default checkout page problem using eWAY-rapid payment module

    I am trying to trace a problem when customers press GO TO CHECKOUT. It should take me to this page:

    HTML Code:
    https://mydomain.com/zencart/index.php?main_page=checkout_payment
    ...but it just refuses to load (just goes nowhere - keeps spinning). Can anyone help tell me exactly what page it is trying to load and where?

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: checkout page problem

    Quote Originally Posted by tpeck View Post
    I am trying to trace a problem when customers press GO TO CHECKOUT. It should take me to this page:

    HTML Code:
    https://mydomain.com/zencart/index.php?main_page=checkout_payment
    ...but it just refuses to load (just goes nowhere - keeps spinning). Can anyone help tell me exactly what page it is trying to load and where?
    Do you get an entry in the log files?

    A link to your site would be most helpful for us.

  3. #3
    Join Date
    Oct 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: checkout page problem

    not sure about the log's whereabouts either...

    Unfortunately, you have to login to be able to get to the link that fails:

    https://aapress.com.au/zencart/index...=shopping_cart

    Been working well for years...

  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: checkout page problem

    Quote Originally Posted by tpeck View Post
    not sure about the log's whereabouts either...

    Unfortunately, you have to login to be able to get to the link that fails:

    https://aapress.com.au/zencart/index...=shopping_cart

    Been working well for years...
    In ZC 1.5.1 the log files are located in yourdomain.com/logs, in older versions look into yourdomain.com/cache

    Let's see first if you find anything there before we look further

  5. #5
    Join Date
    Oct 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: checkout page problem

    Thanks - the logs appear to be in mydomain.com.au/zencart/logs. The latest entry says:

    Code:
    [25-Jun-2014 18:25:58] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home3/aap/public_html/zencart/includes/modules/payment/eway_rapid.php on line 131
    [25-Jun-2014 18:25:58] PHP Parse error:  syntax error, unexpected T_STRING in /home3/aap/public_html/zencart/includes/modules/payment/eway_rapid.php on line 131

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: checkout page problem

    Quote Originally Posted by tpeck View Post
    Thanks - the logs appear to be in mydomain.com.au/zencart/logs. The latest entry says:

    Code:
    [25-Jun-2014 18:25:58] PHP Warning:  Unexpected character in input:  '\' (ASCII=92) state=1 in /home3/aap/public_html/zencart/includes/modules/payment/eway_rapid.php on line 131
    [25-Jun-2014 18:25:58] PHP Parse error:  syntax error, unexpected T_STRING in /home3/aap/public_html/zencart/includes/modules/payment/eway_rapid.php on line 131
    Not familiar with eway but could you post that file and highlight line 131?

  7. #7
    Join Date
    Oct 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: checkout page problem

    line 131 is the one that begins $service = ...

    PHP Code:
            require_once(realpath(dirname(__FILE__).'/eway_rapid/lib/eWAY/RapidAPI.php'));
            
    $__username MODULE_PAYMENT_EWAYRAPID_USERNAME;
            
    $__password MODULE_PAYMENT_EWAYRAPID_PASSWORD;
            
    $__sandbox = ( MODULE_PAYMENT_EWAYRAPID_MODE == 'True' ) ? true false;

            
    $eway_params = array();
            if (
    $__sandbox$eway_params['sandbox'] = true;
            
    $service = new eWAY\RapidAPI($__username$__password$eway_params);

            
    // Create AccessCode Request Object
            
    $request = new eWAY\CreateAccessCodesSharedRequest(); 

  8. #8
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: checkout page problem

    Quote Originally Posted by tpeck View Post
    line 131 is the one that begins $service = ...

    PHP Code:
            require_once(realpath(dirname(__FILE__).'/eway_rapid/lib/eWAY/RapidAPI.php'));
            
    $__username MODULE_PAYMENT_EWAYRAPID_USERNAME;
            
    $__password MODULE_PAYMENT_EWAYRAPID_PASSWORD;
            
    $__sandbox = ( MODULE_PAYMENT_EWAYRAPID_MODE == 'True' ) ? true false;

            
    $eway_params = array();
            if (
    $__sandbox$eway_params['sandbox'] = true;
            
    $service = new eWAY\RapidAPI($__username$__password$eway_params);

            
    // Create AccessCode Request Object
            
    $request = new eWAY\CreateAccessCodesSharedRequest(); 
    Just downloaded that module and opened the file zencart/includes/modules/payment/eway_rapid.php

    Download link: http://www.zen-cart.com/showthread.p...93#post1187193

    Line 131 of that file reads

    PHP Code:
    $request->ShippingAddress->Country strtolower(strval($order->delivery['country']['iso_code_2'])); 
    Are you using that module?

    If so, has it been installed according to instructions as that file looks different to the one I just downloaded?

  9. #9
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: checkout page problem

    Quote Originally Posted by frank18 View Post
    Just downloaded that module and opened the file zencart/includes/modules/payment/eway_rapid.php

    Download link: http://www.zen-cart.com/showthread.p...93#post1187193

    Line 131 of that file reads

    PHP Code:
    $request->ShippingAddress->Country strtolower(strval($order->delivery['country']['iso_code_2'])); 
    Are you using that module?

    If so, has it been installed according to instructions as that file looks different to the one I just downloaded?
    Frank, did you check both versions? (May have been the older version that caused the problem. I'm also not able to open zip files at the moment to independently confirm.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Oct 2008
    Posts
    187
    Plugin Contributions
    0

    Default Re: checkout page problem

    I think I should contact eWay and speak with them, since I am paying for their service. I suspect that it might be something they have changed their end, in which case, they really should let us know about it. But, then again, it might be something gone bung on my site. It's a very good service actually. If I discover the error, I'll post the answer. Thanks for your help guys...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. eWAY Payment Gateway - Rapid 3.0 API [Support Thread]
    By maclean_cherry in forum Addon Payment Modules
    Replies: 40
    Last Post: 27 Nov 2020, 06:53 AM
  2. Eway Payment Module Problem
    By hrtrulz in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 8 Oct 2007, 04:45 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR