Hi
(Joomla 3.8.1 - Virtuemart 3.2.4)
I faced problem with 2checkout plugin for payment
the error is taking this way:
Notice: Only variables should be assigned by reference in /Home/rootuser/plugins/vmpayment/teco/teco.php on line 124.
This happens when I press on checkout confirm button to redirect me to the payment gateway page.
The final result after redirecting is this:
An error has occurred during checkout.
Please contact the seller and reference the error code below.
ERROR CODE:PE101
I hope if someone can contribute with good suggestion to solve this issue.
Thank you.
Quoteplugins/vmpayment/teco/teco.php
There is no such plugin in standard VM installation (or do you mean tco instead of teco?). Must be an outdated 3rd party plugin.
The notice can be solved by removing & character from the line in the file. Or simply by lowering error reporting level (error reporting should be disabled on live sites anyways) but the issue could reappear with future PHP versions.
Thank you for your valued response
actually I followed 2checkout instructions and I have downloaded their plugin from Github and I completed all steps then the error appeared and also the payment cannot be done and also sandbox is not working
you can check their instructions for reference here: https://goo.gl/F8QNXs
You can visit mine here: https://goo.gl/5fkCUy
thank you again
So the plugin filename is tco, not teco.
This plugin is outdated (last update 2+ years ago). You should use VirtueMart's own TCO plugin. To restore it, simply reinstall VirtueMart AIO.
Thank you for your note,
I reinstalled VM AIO again then PHP error has disappeared.
On the other hand 2checkout payment page still giving this (ERROR CODE:PE101).
payment url should be like that: https://sandbox.2checkout.com/checkout/purchase
it's just a sandbox for testing payment process.
I hope if you any idea to solve it.
See this http://help.2checkout.com/articles/Knowledge_Article/Error-Code-PE101