Results 1 to 10 of 3052

Hybrid View

  1. #1
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,673
    Plugin Contributions
    1

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by dbltoe View Post
    includes/modules/payment/paypalwpp.php around line 270. It's all an image from PayPal itself.

    MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG
    Many Thanks dbltoe

  2. #2
    Join Date
    Jul 2013
    Location
    Brisbane, Australia
    Posts
    39
    Plugin Contributions
    0

    Default Re: One-Page Checkout [Support Thread]

    Since I couldn't find this referenced on the ZC forum, here's some info in case it can help another not-so-experienced Zenner out there like me. Cindy, please see text in blue below re whether this affects OPC code.

    An OPC javascript-like error started to appear i.e. on checkout entry, instead of the usual OPC screen, only this is displayed:
    HTML Code:
    Sorry, but our expedited checkout process cannot be used. Click here to use our alternate checkout process
    .
    FYI, javascript errors (Firefox: F12; Console menu) displayed while SQUARE was enabled (the middle ones disappeared when SQUARE was disabled): Click image for larger version. 

Name:	OPC Javascript errors.jpg 
Views:	474 
Size:	34.6 KB 
ID:	18321
    However, I couldn’t track the problem down & resolve this issue for ages because, just through bad luck, a server PHP version issue happened at the same time and 'muddied the waters'. But more about the PHP issue later…

    My system: ZC1.5.5e; OPC v2.0.5; Template: RSB v2 modified; various payment & shipping modules including SQUARE v, Direct Bank Deposit & Australia Post Shipping Modules; lots more plugins & mods. My website: (currently under development so closed for maintenance): https://recoveredheritage.com.au/ .

    First, the OPC issue + solution:
    That OPC error message was caused by 2 x database entries in my zones table including an apostrophe: Côte-d'Or & Côtes-d'Armor. Internet research mentioned that one could use "a SqlParameter object to pass in values...so you don't have to worry about the apostrophes users enter in". However I did a manual work-around (replaced those apostrophes with spaces) since I'm not sure whether OPC has that functionality or if one of my other mods is interfering.

    Where did the apostrophe errors come from? Back in January, after getting OPC to play well with SQUARE (with Cindy's help - thanks), I added extra countries into my zones table in the database using ZC plugins including this one. After working through ZC1.5.5 compatibility issues with the old ZC version SQL files, I did lots of testing...and thought I had nailed it . When I tested OPC the next day or so, I started getting error logs at the same time. With hind-sight being 20-20, I now know those error logs had abolutely nothing to do with the OPC issue but were, instead, to do with the PHP issue (below). But I didn't know that then so... since a site can only have one active PHP version, I headed in the wrong direction and started in on upgrading to PHP 7.2.

    Now that this OPC issue is solvedI've reverted to backups and am free instead to progress towards launching the website (using PHP 7.1) while upgrading to ZC1.5.6(maybe b) locally with WAMP where I can run PHP 7.3 while testing.

    And now the PHP issue:

    Don't take it for granted that your hosting company will tell you when they upgrade the server PHP default version to 7.2. Mine didn't (inMotion hosting). So...if you start getting error logs out of the blue like these ones, investigate whether you can just change your site PHP version manually back to PHP 7.1 FIRST - before you assume you have to do a full PHP 7.2 upgrade like I did.

    While I still had to address a few error logs even after I had reverted to Site PHP 7.1, there aren't too many so far. I think these occur when the cPanel currency cron job runs &, of course accessed the default server running PHP 7.2. (I haven't yet been able to get the SQUARE cron job to work...so fingers crossed.)

    Hope this helps.

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Thanks for the great job of analysis and data-gathering, @GerriM! I'll see if I can reproduce the issue to correct the underlying issue.

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: One-Page Checkout [Support Thread]

    Greetings =)

    I am having an issues where guest checkout is not updating totals for order total modules such as low order fee and minimum order fee. Neither works and checkout proceeds without adding them at all.

    Zen Cart 1.5.5F
    PayPal Express & WPP
    PHP 7.1.26
    OPC 2.0.5 (2018-12-23)
    ZCA Bootstrap 1.0.6


    Code:
    [06-Feb-2019 15:56:26 UTC] PHP Notice:  Undefined property: ot_loworderfee::$credit_class in /home/----/public_html/includes/classes/order_total.php on line 125

    Code:
    2019-02-06 15:56:26 checkout_one: CHECKOUT_ONE_AFTER_ORDER_TOTAL_PROCESSING
    order_total::__set_state(array(
       'modules' => 
      array (
        0 => 'ot_subtotal.php',
        1 => 'ot_shipping.php',
        2 => 'ot_coupon.php',
        3 => 'ot_tax.php',
        4 => 'ot_loworderfee.php',
        5 => 'ot_mfg_min_order.php',
        6 => 'ot_gv.php',
        7 => 'ot_total.php',
      ),
    Code:
        <tr id="otsubtotal">
    <td colspan="2" class="text-right bg-white">
    Sub-Total:</td>
    <td class="text-left bg-white">
    $53.85</td> 
        </tr>
    
        <tr id="otshipping">
    <td colspan="2" class="text-right bg-white">
    USPS (Priority Mail&trade;):</td>
    <td class="text-left bg-white">
    $11.16</td> 
        </tr>
    
        <tr id="ottotal">
    <td colspan="2" class="text-right bg-white">
    Total:</td>
    <td class="text-left bg-white">
    $65.01</td> 
        </tr>
    I can provide the whole log if necessary, it's a dev environment.
    Code:
    2019-02-06 15:56:36 checkout_one_confirmation: Initial order information:order::__set_state(array(
       'info' => 
      array (
        'order_status' => '1',
        'currency' => 'USD',
        'currency_value' => '1.00000000',
        'payment_method' => NULL,
        'payment_module_code' => NULL,
        'coupon_code' => NULL,
        'shipping_method' => 'USPS (Priority Mail&trade;)',
        'shipping_module_code' => 'usps_Priority MailTM',
        'shipping_cost' => 11.160000000000000142108547152020037174224853515625,
        'subtotal' => 53.85000000000000142108547152020037174224853515625,
        'shipping_tax' => 0,
        'tax' => 0.0,
        'total' => 65.0100000000000051159076974727213382720947265625,
        'tax_groups' => 
        array (
          'Sales Tax' => 0.0,
        ),
        'comments' => '',
    Any ideas?

    Thanks,
    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Melanie, I just tried a < $50.00 order on my demo site (the configured low-order fee cut-off). Running zc155f/OPC 2.0.5/responsive_classic and had no issues regarding the low-order fee's addition to the order (verified that it's included in the order-confirmation email, too).

    I've never used a "Minimum Order Fee", so I can't comment on its operation. I suppose the next step is to see what differences are seen between the bootstrap templates versions of the OPC template files (as-shipped in the /template_default subdirectory).

  6. #6
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,247
    Plugin Contributions
    58

    Default Re: One-Page Checkout [Support Thread]

    Question. I have been using this for sites instead of FEC. Problem is that I create a start template and thus it's already installed and customized. When I port over the live site's info the added SQL installation pieces are lost. It doesn't recheck even if I remove the admin installation.

    Can you provide a means to install the SQL changes after installation?
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  7. #7
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,949
    Plugin Contributions
    96

    Default Re: One-Page Checkout [Support Thread]

    Quote Originally Posted by mprough View Post
    Question. I have been using this for sites instead of FEC. Problem is that I create a start template and thus it's already installed and customized. When I port over the live site's info the added SQL installation pieces are lost. It doesn't recheck even if I remove the admin installation.

    Can you provide a means to install the SQL changes after installation?
    I don't understand. If the live site doesn't currently have OPC installed, then the admin-side processing will auto-create those configuration settings.

    If you're porting from a test- to live-site, I suggest taking a snapshot of the test-site's OPC settings and updating those on the live site.

 

 

Similar Threads

  1. Set number of products displayed per page (support thread)
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 146
    Last Post: 2 Nov 2023, 12:50 AM
  2. v151 Banners In Main Page - Support Thread
    By stevesh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 18 Sep 2021, 03:36 PM
  3. v151 Site Map/Page Not Found: Combined [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 4 Jan 2016, 02:19 PM
  4. v151 PayPal Express Checkout Using NVP 84.0 [Support Thread]
    By lat9 in forum Addon Payment Modules
    Replies: 32
    Last Post: 28 Dec 2015, 04:54 PM
  5. Checkout Amazon Style -- Support Thread
    By CJPinder in forum All Other Contributions/Addons
    Replies: 72
    Last Post: 13 Apr 2011, 08:18 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