Hi apeisa,
just testing with a fresh install (pw 2.7.2) but I think I made something wrong... I'm stuck at point 5 of "installing padloper": adding checkout process
here's the error message on my checkout page:
Error: Exception: Method PadOnePageCheckout::setInvoiceMode does not exist or is not callable in this context (in /home/marcoang/public_html/pwshop/wire/core/Wire.php line 358)
#0 [internal function]: Wire->___callUnknown('setInvoiceMode', Array)
#1 /home/marcoang/public_html/pwshop/wire/core/Wire.php(398): call_user_func_array(Array, Array)
#2 /home/marcoang/public_html/pwshop/wire/core/Wire.php(333): Wire->runHooks('callUnknown', Array)
#3 /home/marcoang/public_html/pwshop/wire/core/Wire.php(337): Wire->__call('callUnknown', Array)
#4 /home/marcoang/public_html/pwshop/wire/core/Wire.php(337): PadOnePageCheckout->callUnknown('setInvoiceMode', Array)
#5 /home/marcoang/public_html/pwshop/site/templates/checkout.php(13): Wire->__call('setInvoiceMode', Array)
#6 /home/marcoang/public_html/pwshop/site/templates/checkout.php(13): PadOnePageCheckout->setInvoiceMode(true)
#7 /home/marcoang/public_html/pwshop/wire/core/TemplateFile.php(182): require('/home/marcoang/...')
#8 [internal function]: TemplateFile->___render()
#9
I'm using this code in checkout.php (not using delayed output):
$checkout = $modules->get("PadOnePageCheckout");
$checkout->setInvoiceMode(true);
$checkout->setShippingModule("ShippingFixed");
echo $content = $checkout->render();
Also, in point 7 (Customizing the customer information) you state: "Go into template => padorder"...but there's no padorder template in my install. I only have padshipping and padshipping_rate (and, of course, basic-page, checkout, home)
Any suggestions?
Thanks!