Page 8 of 9 FirstFirst ... 6789 LastLast
Results 71 to 80 of 84
  1. #71
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Quote Originally Posted by Carbonless View Post
    Does anyone have this functioning with ZC 1.5.7?
    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.
    .

    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.

  2. #72
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Added a fix to prevent PHP notices when the module was not installed but you visit Admin > Modules > Payment.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  3. #73
    Join Date
    Jan 2013
    Location
    Netherlands
    Posts
    7
    Plugin Contributions
    0

    Default Re: Pay by invoice ("bill me later"/"store credit account"/Pay Later/Layaway)

    I have this module running nicely in v1.5.7 so customers can pay the invoice within a 14 day period. For other customers I want to add -for example- a 30 day option with its own title definition so the amount of days is also stated on the invoice. How can I do this?

  4. #74
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Pay by invoice ("bill me later"/"store credit account"/Pay Later/Layaway)

    Clone this module to create a new one (say invoice30).

    These instructions are for cloning a shipping module but payment modules have basically the same steps (except for the quote() function).

    https://docs.zen-cart.com/dev/code/m...lone_shipping/
    That Software Guy. My Store: Zen Cart Modifications
    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.

  5. #75
    Join Date
    Jan 2013
    Location
    Netherlands
    Posts
    7
    Plugin Contributions
    0

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Ah as easy as that, totally Zen :)
    Thank you!!

  6. #76
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Instructions for cloning a payment module:
    https://docs.zen-cart.com/dev/code/m...clone_payment/
    That Software Guy. My Store: Zen Cart Modifications
    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.

  7. #77
    Join Date
    Jan 2019
    Location
    UK
    Posts
    101
    Plugin Contributions
    0

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Works perfectly for my needs, thank you so much.

  8. #78
    Join Date
    Jun 2012
    Posts
    412
    Plugin Contributions
    0

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    I'm getting undefined array key warnings when using the invoice payment method. Logs show:
    Undefined array key "customer_id" in includes/modules/payment/invoice.php on line 51, and
    Undefined array key "customers_group_pricing" in includes/modules/payment/invoice.php on line 54.
    The warnings come up when the order detail page is brought up in the admin. No problem when the customer checks out.
    The problem is that $_SESSION['customer_id'], used in line 51, is not set when the order class methods are called from the admin. That causes customers_group_pricing to not be set on line 54. My fix is to replace line 51 with the two lines shown below:
    Code:
    $customer_id = isset($_SESSION['customer_id']) ? $_SESSION['customer_id'] : $order->customer['id'];
    $group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$customer_id . "'");
    Unfortunately, customer_id is not available in the order object when the customer checks out (not sure why it's not set in the cart method of the order class), but it is available in the $_SESSION. Looks like the order class has changed in zc158 and customer_id is available in $order->info.
    Hope this helps someone.
    Dave
    zc 157c, PHP 8.0.22

  9. #79
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    Will get this fixed in June. Thanks for reporting.
    That Software Guy. My Store: Zen Cart Modifications
    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.

  10. #80
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,683
    Plugin Contributions
    123

    Default Re: Pay by invoice ("bill me later"/""store credit account")

    The Invoice payment method has been updated for PHP versions up to 8.2.
    That Software Guy. My Store: Zen Cart Modifications
    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.

 

 
Page 8 of 9 FirstFirst ... 6789 LastLast

Similar Threads

  1. v157 Paypal "Pay Later" JavaScript implementation?
    By TheGrimReaper in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 16 Jan 2021, 12:06 AM
  2. I Need Customer To Pay Half Now Half Later
    By TesterServers in forum Managing Customers and Orders
    Replies: 15
    Last Post: 6 Nov 2012, 12:43 AM
  3. Pay Later, if customer decides to keep the product
    By andrewharbert in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jun 2008, 09:37 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