Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,947
    Plugin Contributions
    96

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    Quote Originally Posted by marton_1 View Post
    Good idea, installed the Display Logs Plugin

    I reset customers_group_pricing=0 in my xampp test site.

    No error logs, some warnings.
    I got one warning that I had not set up the "recalculate tax" correctly in modules/OT/GroupPricing that I could correct; I have no sales tax.
    Fixing that did not cause "invoice" to be displayed as a payment option.

    Three other "undefined index" warnings I do not understand
    Code:
    [07-Jan-2021 23:04:45 Europe/Berlin] PHP Notice:  Undefined index: spider_flag in C:\xampp73a\htdocs\Zencart157b\catalog\includes\classes\observers\class.products_viewed_counter.php on line 37
    [07-Jan-2021 23:04:45 Europe/Berlin] PHP Notice:  Undefined index: USD in C:\xampp73a\htdocs\Zencart157b\catalog\includes\classes\currencies.php on line 142
    [07-Jan-2021 23:04:45 Europe/Berlin] PHP Notice:  Undefined index: USD in C:\xampp73a\htdocs\Zencart157b\catalog\includes\classes\currencies.php on line 151
    I only have one currency set up; Swiss Franc CHF.

    And a funny warning
    Use of undefined constant DISPLAY_LOGS_MESSAGE_LOGS_PRESENT

    Funny because the developer's tool kit does not find this constant but it must be in there somewhere.
    Hmm, it sounds like the Developer's Tool Kit isn't considering the /zc_plugins sub-directory during its search. When you receive that warning, is the store running in German instead of English?

  2. #2
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    As mentioned, I ran the tests on my xampp test site.

    Now my provider has finished the server hardware upgrade I ran the tests on my commercial site and got no more "undefined index" warnings.

    I still have my core problems that all payment methods have a 2% discount and I have to set the table column group pricing to the invoice group index 2.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    Quote Originally Posted by marton_1 View Post
    I still have my core problems that all payment methods have a 2% discount and I have to set the table column group pricing to the invoice group index 2.
    Something to explore: where is that 2% coming from?
    - is it from the group-pricing settings? Change your percentages in there and check what the effect is
    - is it actually a currency-exchange difference?

    My point: there's no value exploring in the wrong direction.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    Seems you are correct the Developer's Tool Kit isn't considering the /zc_plugins sub-directory during its search, I added a language/german folder and fixed the problem.

  5. #5
    Join Date
    Apr 2013
    Location
    eglisau switzerland
    Posts
    568
    Plugin Contributions
    0

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    In another thread Dr Byte wrote "This works fine with v1.5.7: Offsite Payment
    It offers the payment option for everyone, based on Geo Zone, not based on Group Pricing. Otherwise does basically the same thing.
    Depends on your needs."

    It is very easy and simple to install so I am now using Offsite Payment and have abandoned Invoice Payment Method V 23Dec2018, thanks.

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    I need the "Invoicing" (offsite payment) facility applicable only to certain customers (not a "generally available" payment option open to anyone). SWGUY's invoice mod permits categorisation of approved customers by allowing the creation of a discount pricing group, and configuring any given customer to be part of that group. This makes the "invoice" option visible and usable only by "approved" customers when they checkout.
    Can this "customer selective" feature be configured in the offsite payment module?
    20 years a Zencart User

  7. #7
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Invoice Payment Method V 23Dec2018, Installation issue

    Based on this:

    I have the invoice customer group set up with id 2 and a 2% discount.
    I tried setting the customers_group_pricing=2 in the db as default then the "invoice" did OK show up as a payment method.
    The only problem is all payment methods are now giving 2% discounts.


    It sounds like you need to reset all customers.customers_group_pricing to 0, then set this field SELECTIVELY on the people you want to give the 2% discount to.
    And if you want some customers to be able to use invoice with no discount, create customer group 3 invoice_nodiscount with discount = 0, and put those customers in group 3.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v157 Invoice Payment Method V 23Dec2018, PHP warnings on foreign language site
    By marton_1 in forum Addon Payment Modules
    Replies: 1
    Last Post: 22 Nov 2020, 05:43 PM
  2. Replies: 1
    Last Post: 5 May 2020, 05:50 PM
  3. Details missing after "payment method" in order invoice.
    By glamourdolleyes in forum Managing Customers and Orders
    Replies: 1
    Last Post: 2 Oct 2014, 02:14 PM
  4. Looking for 'Invoice' Payment Method
    By Tamuren in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 9 May 2011, 04:35 PM
  5. Payment Method area Styling Issue
    By townsend2009 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 23 Aug 2010, 04:27 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