WebsiteBaker Support (2.8.x) > Bakery Shop

Invoice payment option not working

(1/3) > >>

Broem:
I did install the Bakery Shop (latest version) and running WB 2.8.3. Now i'm having some issues with the Invoice Payment option. When I select this option (I also have the COD (pay by delivery) and a Mollie plugin) i get some warnings and it wont let me pay. The COD payment option is working fine, just as the Mollie payment.

When i Select the Invoice option and I would get an overview of the Customer Detailers and Item List i first get an error on the View_Summary.php file. (Below):
Warning: array_keys() expects parameter 1 to be array, string given in /home/user/public_html/modules/bakery/view_summary.php on line 65

Also i get some other errors, it can not find the DIR name for the INVOICE method (referring to bakery/payment_method//languages/EN.php) so it misses the payment name. I'm not sure what file should send this to the view_summary or where it gets it, but i think something is going wrong here.

freeSbee:
Hi Broem

First make sure the payment method has been installed on the server. Go to the bakery/payment_methods/invoice directory and check if it contains 5 files and a language directory.

If true go to the Bakery backend  >  Payment methods. This will reload all available payment methods. Then use phpMyAdmin to check if the payment method makes part of the mod_bakery_payment_methods table. Amongst other fields the "directory" field should be "invoice", the "name" field should be "Invoice" and the "version" field should be "0.3".

Regards Christoph

Broem:
Hi Christoph,

Thank you for the response. I did check all the things you noticed and these seem to be correct (as you said). But still i get a warning about the array that the payment method can not be found.

Thank you.

freeSbee:
Hi Broem

Make a purchase and go to the "(2) Terms & Conditions and Payment Method" page of the Bakery checkout process. Check the HTML code of the "Charge to my Account" button. It should be something like:

--- Code: ---<input type="submit" name="payment_method[invoice]" class="mod_bakery_bt_pay_invoice_f" value="Charge to my Account" onclick="javascript: return checkTaC()">

--- End code ---
Please post your code if you are not sure that it is proper.

Regards Christoph

Broem:
The code i get is the following:


--- Code: ---<input type="submit" name="payment_method[invoice]" class="mod_bakery_bt_pay_invoice_f" value="Ik betaal na ontvangst van de factuur" onclick="javascript: return checkTaC()">
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version