-
Pay by invoice ("bill me later"/"store credit account"/Pay Later/Layaway)
The Invoice payment module has been posted to the download site at
https://www.zen-cart.com/downloads.php?do=file&id=131
You may mark customers as being able to pay by invoice by adding them to a pricing group whose name with the string "invoice." In this way, multiple pricing groups (with multiple discounts) may be used in conjunction with payment by invoice.
Two new files, no overrides, no database schema changes. Four or five steps depending on your needs.
Good luck,
Scott
-
Re: Pay by invoice ("bill me later"/""store credit account")
Does this work with 1.3.6? I'm not seeing any "invoice" option in the payment area of admin.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Did you follow the instructions and install all the files?
-
Re: Pay by invoice ("bill me later"/""store credit account")
mod works great, swguy :) thanks!
Phid, make sure you add a group INVOICE and add the customer you are logging in as to it
-
Re: Pay by invoice ("bill me later"/""store credit account")
"invoice" is good, or "invoice*" if you have multiple invoiceable groups and wish to simultaneously use group discount.
Scott
-
Re: Pay by invoice ("bill me later"/""store credit account")
Yes, I did install all the files...multiple times....and it still didn't appear.
Doesn't matter though since I installed it on another freshly installed practice cart and it's working. The problem with the first practice cart might have been either a conflict with another mod or the fact that I did the 1.3.5 to 1.3.6 upgrade on it using Fantastico.
Regardless.....looks good now. One thing that might be good with this mod is a customized checkout_success page and e-mail which explains the terms of the invoicing.
Thanks for making this mod. It could come in handy.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Interesting suggestions. Glad it worked out for you!
Scott
-
Re: Pay by invoice ("bill me later"/""store credit account")
A small fix has been posted to bring this file up to the standard set by Dr. Byte in 1.3.5. Please upgrade if you are using this contribution.
Thanks,
Scott
-
Re: Pay by invoice ("bill me later"/""store credit account")
Scott,
FANTASTIC JOB!!!! :clap:Ive been looking for a solution to the inv problem and then a mate e-mailed me a link to this thread. Ive just tested it out and it works a dream. Thank you! I only have one question and im pretty sure theres no easy way round it but ill ask anyway -
Is there a way of turning off the Flat Rate (Best Way) delivery charge just for those special customers of whom i have given the invoice option?
Its not a must but thought i would ask.
Cheers again.
Matt Allam
www.giftwrapuk.co.uk
-
Re: Pay by invoice ("bill me later"/""store credit account")
Yes, but you'd have to write custom logic. PM me for details if interested.
Scott
-
Re: Pay by invoice ("bill me later"/""store credit account")
I get this message when I try to select invoice for group pricing for customers:
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 'WHERE customers_id = 3' at line 1
in:
[UPDATE customers SET WHERE customers_id = 3]
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hmm, I have Purchase Order and Inoice 2.0 installed. Invoice checks out as a payment method, but does not show up a checkout.
I have added test id to the group Invoice.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Be sure that not all products are virtual - if they are, invoice doesn't show up.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
swguy
Be sure that not all products are virtual - if they are, invoice doesn't show up.
Thanks, this site has only one product - membership - as a hidden category and virtual.
I changed it, but now a shipping address is required for a membership so I will need to see if that will fly with the client.
-
Re: Pay by invoice ("bill me later"/""store credit account")
You could just remove the check for virtual in the invoice payment module.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Ah, the pain of being new to Zen Cart.
Will give it a try, I am way better at CSS than PHP but will jump in and see if I can make sense of the module.
Thanks for your quick replies.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Great contribution! Works Great!
I was wondering, is there any way to set the default group to "invoice"? I have to go in every time and set the customer's group to "invoice" and that is becoming a pain in the rear. Every customer on my site should have the opportunity to pay by invoice and I don't want to slow their purchases down.
-
Re: Pay by invoice ("bill me later"/""store credit account")
I apologize. I should have searched better. I found a post by swguy on another thread. Problem solved. Edited DB with phpMyadmin.
Thanks swguy!!
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hello,
How do I allow Invoice to be a global payment option? I can get individual customers set up quite easily, but allowing everyone to invoice is a conundrum :frusty: for me.
Thank you,
TheMusician
-
Re: Pay by invoice ("bill me later"/""store credit account")
Just remove the logic that checks for the group name.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Thank you for the quick reply,
I am still new to ZenCart. When you say remove the logic, do you mean, go and remove it from the code as with if statements, etc... or is there a setting that controls logic for modules within ZenCart.
Thank you
-
Re: Pay by invoice ("bill me later"/""store credit account")
I installed the invoice, but cannot see it in my admin payment modules. I saw a post earlier with this same problem, but no solutions were ever given - please help.
I also would like to know how to make it a global option - you say something about removing the logic - that makes absolutely no sense to those of us that are new at php, please explain exactly what needs done to do this.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Discovered the bug with not being able to see the module in the admin area when adding to an already installed site. File is in the wrong place and needs to be in /includes/languages/english/extra_definitions instead of /includes/languages/english/modules/payment - all appears to be working just fine now.
-
Re: Pay by invoice - setting for all users
For anybody else that needs help with making this module global for all users and doesn't want to pay $60 for the contributor's help that I was offered through a private message after I asked for help on this board.
I changed a simple setting and it appears to have done the trick
Change code in this file:
/includes/modules/payments/invoice.php
Find Code:
if ($check_flag_group == false) {
$this->enabled = false;
Change to:
if ($check_flag_group == false) {
$this->enabled = true;
I hope this helps somebody - like the forum is supposed to.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Can anyone confirm that this module works with 1.3.8?
-
Re: Pay by invoice ("bill me later"/""store credit account")
yes, it works with 1.3.8.
-
Re: Pay by invoice ("bill me later"/""store credit account")
thankz for this mod! it works great for me! may i know how do i hide other payment mods when invoice is enabled? other option is: how do i let it as default payment (auto-selected)
thankz a lot!
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hi, i've installed Invoice and it works perfecty. Great Job!
I was wondering if it's possible to charge more than standard price when using this option... The concept is that if you pay cash you get a discount but if you use the "bill me later" option you pay more.
Thanks in advance
Sigfrido
-
Re: Pay by invoice ("bill me later"/""store credit account")
There's nothing built in to invoice to do this. I believe a contribution has been created recently which adds a surcharge for certain payment methods - this could be used to do what you want.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hi,
I have installed your invoice mod in ZC1.3.8a. Works like a breeze!!! Matt rightfully raised a problem a while ago where he wants disabling flat rate delivery when the customer has the invoice option? Was there any further progress on this? I would love to see this bit of custom code as well. Can you help out? Thanks heaps,
Ed
-
Re: Pay by invoice ("bill me later"/""store credit account")
This is not a problem, it's a request for customization. You are welcome to email me your RFP.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Can you use this module to have the admin/store owner generate the invoice by typing an amount and sending that to a customer to pay through paypal? Some of what we sell at our store is a service, but the price of the service is not always the same, so we would need to enter that amount (not the customer) and then given an invoice or order number, have the customer go into the website and pay the invoice. Can this module do this? If not, is anyone aware of a service/module that would integrate with zen cart to provide this type of functionality? Thank you.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
jordisan10
Can you use this module to have the admin/store owner generate the invoice by typing an amount and sending that to a customer to pay through paypal?
No. This is a payment module for Zen Cart checkouts; that's all.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
swguy
No. This is a payment module for Zen Cart checkouts; that's all.
Ok what about Can you use this module to have the admin/store owner generate the invoice by typing an amount and sending that to a customer to pay through zencart?
I am also interested in custom invoice amount entering into the invoice . We do repairs on our products and I like to send them an invoice prior to shipping their goods. Is it possible with this mod swguy?
-
Re: Pay by invoice ("bill me later"/""store credit account")
I've installed this module, added a new Group called "invoice" and can see it from the admin backend but when I go to place an order, I don't get the option to select invoice as a means of payment. Any ideas?
Thanks,
Arthur
Using standard Zen 1.3.8 with Easy Populate only installed.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
arthurhanlon
I've installed this module, added a new Group called "invoice" and can see it from the admin backend but when I go to place an order, I don't get the option to select invoice as a means of payment. Any ideas?
Thanks,
Arthur
Using standard Zen 1.3.8 with Easy Populate only installed.
Did you put a customer in the group?
There are 4 steps to making this mod work:
- Install the two files
- Make sure that ot_group_pricing is installed in Modules > Order Total
- Go to Customers > Group Pricing and create a group. The name must start with the word "Invoice", but can have anything you want after that.
- Go into Customers > Customers and place the desired customers into the Invoice group by editing their record and selecting the group from the drop-down menu at the bottom.
The choice to pay by invoice will now appear to all customers who are in that group. If you want it to be a global option, where all customers are given the option, the instructions on how to do that can be found in message #24 in this thread.
-
Re: Pay by invoice ("bill me later"/""store credit account")
I haven't installed this yet. I'd first like to know, if a customer selects "invoice" and then later decides he wants to pay for the order by credit card, can he log into his account and pay the bill?
-
Re: Pay by invoice ("bill me later"/""store credit account")
No. This is just a payment method. What you're asking for would be significantly more complicated.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hi,
I'm having an issue when using this addon in conjunction with the "Group pricing (per item)" addon.
To fill you in with how our business works, we only sell to the trade, not to the general public, therefore each customer must be approved before going live. Depending on the customers spending level and whether they have a credit account with us or not, they are put into a relevant pricing tier.
The "Group pricing (per item)" addon allows you to set a price by line according to the customers "discount group" rather than a percentage off all items which is how I believe discount groups normall work.
Customers in non "invoice" prefixed discount group do not have an issue, they see the correct price within the store & that price is copied accross to the shopping cart. The problem comes for customers in discount groups prefixed with "invoice". where as the price is show correctly within the store, but on the shopping car, the price reverts to the standard price for the item.
Is there anything I can do to overcome this?
Jordan Fey
(Please feel free to let me know if you need any more information)
-
Re: Pay by invoice ("bill me later"/""store credit account")
I have tried to install the invoice Mod on my test site, v1.3.8 but have not been able to get it to work. The instructions say to cony the contents of the invoice folder to the root directory.
My test site is running under Xampp with the directory located in hotdocs as store. Do I place the two files called invoice.php in the store directory. The two files are further down the tree in two other directories. I am a bit confused. Any suggestions.
Thanks
Butch
deal$4toner.com
-
Re: Pay by invoice ("bill me later"/""store credit account")
This describes the exact procedures for file placement for one of my mods:
http://www.thatsoftwareguy.com/zencart_install_mod.html
-
Re: Pay by invoice ("bill me later"/""store credit account")
Firstly, thank you very much for this mod, it works fabulously. I was wondering if it were possible to add multiple group pricings. For example, I have a customer that receives a 10% discount on all of his purchases, and we always bill him later since he is such a good customer. I can only add one group pricing tier per customer. Since this mod works within the Group pricing area in the admin, this customer of mine can only either get his 10% discount, or the Invoice option...is it possible to add both?
Thanks again for this mod, the company for whom I work felt that the Invoice option was very important.
-
Re: Pay by invoice ("bill me later"/""store credit account")
-
Re: Pay by invoice ("bill me later"/""store credit account")
hi there, i greately appreciate this mod, one question since your a wiz :D
along with the INVOICE option, is it possible that along with invoice comes local delivery FOC
or would this mean changing the options round, so it goes to PAYMENT before delivery, and if u choose invoice, then local delivery is the only option, but if you choose CC/Cheque etc...then all options are available except local delivery FOC
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hi just want to say this is a great mod. And we use it successfully on our wholesale website. My question is can you help me out with a copy of this mod to allow for the check or money order.
I still want to have the invoice option but for some customers they want to pay by check and that is fine but we want this option on an approved basis only just like the invoice. But we don't want to give the impression that they can get invoice terms like some of our long standing customers get. Hence a second payment module.
Thanks
-
Re: Pay by invoice ("bill me later"/""store credit account")
First I want to say thanks ! this MOD has saved my bacon on a project!
I have a question any idea on a way to hide other payment options if the customer is apart of the "invoice" group. So invoice only shows up?
-
Re: Pay by invoice ("bill me later"/""store credit account")
-
Re: Pay by invoice ("bill me later"/""store credit account")
i got it to work in group pricing per item but it was a pain in the but as i had to manually change 2 files manually
* /includes/extra_datafiles/group_price_per_item.php
* /admin/includes/extra_datafiles/group_price_per_item.php
Quote:
define('GROUP_PRICE_PER_ITEM2', 'Invoice);
and then change the name of that group in customers/group pricing to invoice.
now i have to go throw each product and change add the prices for that group
but it will work
-
Re: Pay by invoice ("bill me later"/""store credit account")
Love the mod but it appears to be unable to be used with 1.3.9.
Cheers
Robert
-
Re: Pay by invoice ("bill me later"/""store credit account")
-
Re: Pay by invoice ("bill me later"/""store credit account")
That's odd. I could have sworn I went through your instructions word for word. It did install but there wasn't an invoice option for the payment section during checkout. If anyone else has had this issue, please tell me what you did to resolve it. Thanks
Cheers
Robert using ZC 1.3.9b
-
Re: Pay by invoice ("bill me later"/""store credit account")
When you checkout, are you logged in as a user who is in a group whose name starts with "invoice"?
-
Re: Pay by invoice ("bill me later"/""store credit account")
No, I thought you'd be asked that after you made a purchase. Let me go and do that and see what happens. Thanks.
-
Re: Pay by invoice ("bill me later"/""store credit account")
That's fixed. Thanks. Let me post my problem here in case someone else has it.
Issue - "Invoice" does not appear as a valid payment method during checkout even when installed.
Solution - When you have a customer that wishes to be invoiced, go to that customer's information in "Admin ---> Customers ---> Customers" and edit the group pricing section to reflect the addition of him/her into the Invoice group of group pricing. This will fix your situation.
-
Re: Pay by invoice ("bill me later"/""store credit account")
HI,
I have installed this mod in my new Webshop using v1.3.9f and it works great :) Thank you for this mod :)
I have one problem though. I am using this payment option for a a group of customers that don' t need to pay in advance, but I still need to provide them with Payment details somehow.
I am also using Direct_bank_transfer module, and here the customers see the Bank details when they checkout and also on the email footer they recieve.
So, Is it possible to add a message on the email footer so that I can add payment Terms and details?
Or any other solution?
Thank you for your help.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Hi swguy,
I have installed this on 1.3.9h, but it is not showing in the checkout_payment page.
I have added a group called invoice
I have invoice module turned on in Modules > Payment
I have set group pricing to 'invoice' using a test account
no idea why it wont work, but if I can get it to work it will be perfect for my project.
Thanks :)
DB
-
Re: Pay by invoice ("bill me later"/""store credit account")
scrap last post, just figured it out.
My products are vertual and the invoice mod is set to false if cart is full over vertual product.
So for anyone else who sells vertual products and is wonding why it wont work for you.. do this.
open includes/modules/payment/invoice.php
find (line 65 for me)
Code:
// disable the module if the order only contains virtual products
if ($this->enabled == true) {
if ($order->content_type != 'physical') {
$this->enabled = false;
}
and replace with
Code:
// disable the module if the order only contains virtual products
if ($this->enabled == true) {
if ($order->content_type != 'physical') {
$this->enabled = true;
}
DB
-
Re: Pay by invoice ("bill me later"/""store credit account")
Great addon :smile:
I want to make an addition; all my prices are inclusive of sales tax (VAT). Somewhere on the invoice I want to show the total of the sales tax as a single item.
This is just a simple mathematical calculation on the total Amount on the invoice. I can do this myself but so far as I see the calculation of the total Amount does not populate a variable that I could call and play with. :(
I attach a copy of the code below but I do not know enough about this coding to add something like populate a variable, for example, $Amount. :blush:
I checked around the various addons available but I did not find anything suitable :(
Help appreciated :smile:
<td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
-
1 Attachment(s)
Re: Pay by invoice ("bill me later"/""store credit account")
v155 Character limit on MODULE_PAYMENT_INVOICE_TEXT_TITLE
When people select to pay by invoice I want to put my payment details on their invoice.
I do not want to print payment details on every invoice, only the ones that are not already paid (by paypal, credit cards, et.)
So I thought it would be a "good idea" to add my payment details to the definition of MODULE_PAYMENT_INVOICE_TEXT_TITLE.
So it now reads "Invoice for prepayment, goods are only shipped after payment Details for payment......."
This info is stored OK in my DB but only most of the first line is printed. I experimented with changing the content of the first line and it is clear there must be a fixed limit to the number of characters somewhere, but where! See example (in German language but same in English).
I am using the standard classic green template. I checked and have the same issue with my v1.5.1 site.
Thanks for any help.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
marton_1
Great addon :smile:
I want to make an addition; all my prices are inclusive of sales tax (VAT). Somewhere on the invoice I want to show the total of the sales tax as a single item.
This is just a simple mathematical calculation on the total Amount on the invoice. I can do this myself but so far as I see the calculation of the total Amount does not populate a variable that I could call and play with. :(
I attach a copy of the code below but I do not know enough about this coding to add something like populate a variable, for example, $Amount. :blush:
I checked around the various addons available but I did not find anything suitable :(
Help appreciated :smile:
<td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .
Eventually I decided to use the standard options for showing tax on the invoice.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
marton_1
v155 Character limit on MODULE_PAYMENT_INVOICE_TEXT_TITLE
When people select to pay by invoice I want to put my payment details on their invoice.
I do not want to print payment details on every invoice, only the ones that are not already paid (by paypal, credit cards, et.)
I would suggest modifying the invoice rather than doing what you are doing.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Forgot to reply, turned out that modifying the invoice to to show payment details only on invoices for the invoice payment method was easy to do.
Good suggestion!
-
Re: Pay by invoice ("bill me later"/""store credit account")
I have been using this plug in for some time.
Now I tried setting a discount but the discount does not show up in the final price
I made the change in invoice.php to allow all customers to select payment by invoice, maybe this causes the problem?
Code:
// fix the group check, change to true MH
if ($check_flag_group == false) {
$this->enabled = true;
I want to give a single (same) discount to every customer, maybe I could just set a variable with my required %?
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
marton_1
I have been using this plug in for some time.
Now I tried setting a discount but the discount does not show up in the final price
I made the change in invoice.php to allow all customers to select payment by invoice, maybe this causes the problem?
Code:
// fix the group check, change to true MH
if ($check_flag_group == false) {
$this->enabled = true;
I want to give a single (same) discount to every customer, maybe I could just set a variable with my required %?
I did not explain well!
If I manually add a customer to the group named invoice then the discount shows up OK.
I had hoped that my change in invoice.php to allow all customers to select "payment by invoice" would also give the discount defined in the group named invoice to all customers who had selected payment by invoice. Sadly this did not work for me.
Is there a way to do this?
-
Re: Pay by invoice ("bill me later"/""store credit account")
Invoice is a payment module.
There is a discounting module that discounts by payment method that you can use to associate a discount with payment method invoice.
https://www.zen-cart.com/downloads.php?do=file&id=1487
-
Re: Pay by invoice ("bill me later"/""store credit account")
-
Re: Pay by invoice ("bill me later"/""store credit account")
Good tip, thanks
Easy to install, works fine, does exactly what I wanted.
Thanks again.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Sort of off topic but anyway!
There are companies around that buy your invoices for a % of the sale amount and then they handle the debt collection.
Trick is to find companies who already have a zen cart plugin to manage the invoicing process, any experiences or recommendations to share?
BTW, good to see this Invoice Payment Method plug in was updated for v156. The Forum Support Thread link for this plugin does not point to this threadè
-
Re: Pay by invoice ("bill me later"/""store credit account")
Does anyone have this functioning with ZC 1.5.7?
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
Carbonless
Does anyone have this functioning with ZC 1.5.7?
Take a look at this thread, https://www.zen-cart.com/showthread....allation-issue
I am getting there slowly but not 100%.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Quote:
Originally Posted by
Carbonless
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.
-
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.
-
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?
-
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/
-
Re: Pay by invoice ("bill me later"/""store credit account")
Ah as easy as that, totally Zen :)
Thank you!!
-
Re: Pay by invoice ("bill me later"/""store credit account")
-
Re: Pay by invoice ("bill me later"/""store credit account")
Works perfectly for my needs, thank you so much.
-
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
-
Re: Pay by invoice ("bill me later"/""store credit account")
Will get this fixed in June. Thanks for reporting.
-
Re: Pay by invoice ("bill me later"/""store credit account")
The Invoice payment method has been updated for PHP versions up to 8.2.
-
Re: Pay by invoice ("bill me later"/""store credit account")
took you long enough.:rotflmao:
-
Re: Pay by invoice ("bill me later"/""store credit account")
Old topic, but invoice payment method is not displayed if order contains only virtual products or contains any virtual products. Relevant code block is:
Code:
// 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.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Exercise caution, because the person would get their downloads prior to paying.
-
Re: Pay by invoice ("bill me later"/""store credit account")
Thank you for the reason for the code block! Will be cautious.
Dave
-
Re: Pay by invoice ("bill me later"/""store credit account")
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.