Results 1 to 10 of 10
  1. #1
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Ship2Pay Support thread

    This is the support thread for Ship 2 pay starting from Version 1.6
    earlier versions are not supprted (in this thread)
    The module can be found here
    Version 1.6 will be submitted today.
    What this module does: Limit the number of payment options depending on the chosen shipping method. For example When a customer chooses pickup at store he should be able to select cash on pickup or moneyorder and when he chooses flat rate shipping he should be able to select cash on delivery or moneyorder.

  2. #2
    Join Date
    Jan 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Ship2Pay Support thread

    Hi,
    I have 1.5.5e and if I put sql the error is below.

    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 'IF NOT EXISTS TABLE ship2pay ( s2p_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , ' at line 1
    in:
    [CREATE IF NOT EXISTS TABLE ship2pay ( s2p_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , shipment VARCHAR( 100 ) NOT NULL , payments_allowed VARCHAR( 250 ) NOT NULL , status TINYINT NOT NULL );]

  3. #3
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Ship2Pay Support thread

    Quote Originally Posted by Lopi View Post
    Hi,
    I have 1.5.5e and if I put sql the error is below.

    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 'IF NOT EXISTS TABLE ship2pay ( s2p_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , ' at line 1
    in:
    [CREATE IF NOT EXISTS TABLE ship2pay ( s2p_id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , shipment VARCHAR( 100 ) NOT NULL , payments_allowed VARCHAR( 250 ) NOT NULL , status TINYINT NOT NULL );]
    the code should be
    Code:
    CREATE TABLE IF NOT EXISTS
    . I'll update the plugin. Thanks for reporting

  4. #4
    Join Date
    Jan 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: Ship2Pay Support thread

    Now works thankx

  5. #5
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Ship2Pay Support thread

    Version 1.8 has been submitted, and will be available soon.

    tested on: Zen Cart 1.5.5, but should work on all 1.5.x distributions.


    - Fixed bug in install.sql
    - Updated files to be compatible with php 7.0
    - Removed Polish language files, because I am not able to provide support for them.
    - Updated control panel file
    - Added Zen Cart 1.5.5e overwrite file for "includes/classes/payment.php"

  6. #6
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Ship2Pay Support thread

    You can also use this github link to download the latest release

  7. #7
    Join Date
    Jul 2019
    Posts
    3
    Plugin Contributions
    0

    Default Re: Ship2Pay Support thread

    I have v1.5.5f.

    When I upload this install.sql I got this error:

    INSERT INTO 'admin_pages' ('page_key', 'language_key', 'main_page', 'page_params', 'menu_key', 'display_on_menu', 'sort_order') VALUES
    ('ship2pay', 'BOX_MODULES_SHIP2PAY', 'FILENAME_SHIP2PAY', '', 'modules', 'Y', 4)
    MySQL said: Documentation

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''admin_pages' ('page_key', 'language_key', 'main_page', 'page_params', 'menu_key' at line 1

  8. #8
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Ship2Pay Support thread

    Edit that MySQL statement, removing the unwanted single-quotes:
    Code:
    INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES
    ('ship2pay', 'BOX_MODULES_SHIP2PAY', 'FILENAME_SHIP2PAY', '', 'modules', 'Y', 4)

  9. #9
    Join Date
    Jul 2019
    Posts
    3
    Plugin Contributions
    0

    Default Re: Ship2Pay Support thread

    Thanks no problems with that now.

    I added the files and did the edit for /includes/classes/payment.php

    But ship2pay is not in the admin section.

  10. #10
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,846
    Plugin Contributions
    25

    Default Re: Ship2Pay Support thread

    I just submitted version 1.9 to the downloads section
    Changes:

    • Updated: "includes\classes\payment.php" to Zen Cart 1.5.6c, and added better comment
    • Updated: "YOUR_ADMIN\includes\classes\ship2pay.php" to use foreach instead of while
    • Updated: "YOUR_ADMIN\includes\classes\ship2pay_payment.php" minor changes
    • Updated: "YOUR_ADMIN\includes\classes\ship2pay_shipping.php" minor changes
    • Updated: "YOUR_ADMIN\includes\languages\dutch\ship2pay.php" Improved translation
    • Updated: "YOUR_ADMIN\includes\languages\english\ship2pay.php" Improved translation
    • Updated: "YOUR_ADMIN\ship2pay.php" Major overhaul. Improved styling, making use of bootstrap. Code clean-up
    • Added auto-installer for database edits


    If need ow, it can also be found at: https://github.com/Zen4All/Zen-Cart-Ship2Pay/releases

 

 

Similar Threads

  1. EasyPopulate 4.0 Support Thread
    By chadderuski in forum Addon Admin Tools
    Replies: 3594
    Last Post: 21 Mar 2024, 06:56 PM
  2. ZX Slideshow support thread
    By balihr in forum All Other Contributions/Addons
    Replies: 739
    Last Post: 20 Oct 2023, 05:50 AM
  3. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 19
    Last Post: 23 Jan 2023, 08:04 AM
  4. goMobile Support Thread
    By steveyork136 in forum Addon Templates
    Replies: 29
    Last Post: 26 Aug 2015, 11:56 AM
  5. ZJ Silver Support Thread
    By anthonyd in forum Addon Templates
    Replies: 220
    Last Post: 5 Nov 2010, 03:30 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