Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2010
    Location
    United Kingdom
    Posts
    477
    Plugin Contributions
    0

    cart error Skrill Payment Method [Support Thread]

    I am adding a new payment method for skrill.
    I am not the author so cannot help with errors etc
    This thread is a place where errors can be discussed and hopefully correct for the future.
    All credit goes to webchills

  2. #2
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default Re: Skrill Payment Method [Support Thread]

    Has anybody tried Skrill on 1.5.5?
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  3. #3
    Join Date
    Jun 2009
    Location
    Europe
    Posts
    58
    Plugin Contributions
    1

    Default Re: Skrill Payment Method [Support Thread]

    I have installed Skrill module (for ver. 1.5.4) in Zen-cart version 1.5.6.
    It seems to work ok, but throws some PHP warnings.
    These are basically because some language variables such as
    MODULE_PAYMENT_SKRILL_TEXT_DESCRIPTION
    MODULE_PAYMENT_SKRILL_VERSION
    MODULE_PAYMENT_SKRILL_TEXT_TITLE etc.
    causes PHP Warning: Use of undefined constant
    Calling URI is skrill_orders.php in the admin section.
    Called class is skrill.php in /includes/modules/payment/skrill.php
    These constants are in fact defined in the catalog section (e.g. /includes/languages/english/modules/payment/skril.php)
    however they are not seen inside the admin section when the skrill class in the modules section is instantiated.
    Any idea why this might happen?

  4. #4
    Join Date
    Jun 2009
    Location
    Europe
    Posts
    58
    Plugin Contributions
    1

    Default Re: Skrill Payment Method [Support Thread]

    Also, skrill_orders.php on admin pages instantiates a new order class on line 162

    Code:
      $order = new order($skrillGwayInfo->zc_oid);
    and obviously with a NULL order_id input. This causes inside the cart method in 274 to trow an error for currencies->get_decimal_places

    Code:
      $decimals = $currencies->get_decimal_places($_SESSION['currency']);
    I reckon, there is no session currency definition for the admin area.
    How to overcome this error?

    The exact PHP error message is like this:

    [30-Jan-2019 11:36:51 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_decimal_places() on null in /httpd.www/includes/classes/order.php:277
    Stack trace:
    #0 /httpd.www/includes/classes/order.php(49): order->cart()
    #1 /httpd.www/admin/skrill_orders.php(162): order->__construct(NULL)
    #2 {main}
    thrown in /httpd.www/includes/classes/order.php on line 277

 

 

Similar Threads

  1. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  2. v154 PagaMasTarde payment gateway support thread
    By afatsini-pmt in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Nov 2015, 01:17 PM
  3. Paycard payment module - support thread
    By prez in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 May 2011, 01:02 AM
  4. Globe GCash payment module support thread
    By JayMot in forum Addon Payment Modules
    Replies: 0
    Last Post: 13 Sep 2010, 06:55 AM
  5. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

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