Forums / Addon Payment Modules / Pay by invoice ("bill me later"/"store credit account"/Pay Later/Layaway)

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

Views: 157,752

Results 81 to 86 of 86
2 Jun 2023, 12:00 AM
#81
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
18

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

took you long enough.:rotflmao:

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jun 2023, 4:57 PM
#82
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

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

Old topic, but invoice payment method is not displayed if order contains only virtual products or contains any virtual products. Relevant code block is:

// disable the module if the order only contains virtual products
      if ($this->enabled == true) {
        if ($order->content_type != 'physical') {
          $this->enabled = false;
        }
      }

Even if there is a good reason to disable the module if the order only contains virtual products, the test disables the module for mixed orders as well as virtual orders. As swguy suggested back in 2007, the code block can be removed.

8 Jun 2023, 5:30 PM
#83
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,729
Plugin Contributions:
56

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

Exercise caution, because the person would get their downloads prior to paying.

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.

8 Jun 2023, 5:59 PM
#84
dave224 avatar

dave224

Zen Follower

Join Date:
Jun 2012
Posts:
481
Plugin Contributions:
0

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

Thank you for the reason for the code block! Will be cautious.
Dave

10 Feb 2025, 12:39 PM
#85
wyliecoyoteuk avatar

wyliecoyoteuk

New Zenner

Join Date:
Feb 2019
Location:
Birmingham UK
Posts:
32
Plugin Contributions:
0

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

Thanks for this Software Guy!
Perfect for my daughter's small business, she only sells to local artisan shops, no payment handling
Just upgrading to 2.1.0 from 1.5.7c.
Seems to work OK.

16 Aug 2026, 11:19 AM
#86
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

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

Test post ...