Many thanks ... worked like a charm, Cheers!
Many thanks ... worked like a charm, Cheers!
Went live on my test site and tested a small transaction which worked like a charm but when a pushed the red button in order details to void the transaction, I got this error "PHP Warning: Illegal string offset 'id' in /includes/modules/payment/authorizenet_cim.php on line 107."
Thanks again for you help and an awesome plugin.
i am not sure why your order does not have a country id there. it could be indicative of other problems.
between lines 104 and 105 you can add the following code (i have included both lines below for clarity):
best.PHP Code:
global $order, $db;
if (empty($order->billing['country']['id'])) {
return;
}
if (($this->enabled == true) && ((int)MODULE_PAYMENT_AUTHORIZENET_CIM_ZONE > 0)) {
This worked, thanks again. I'm sorry to keep bothering you but I am having another issue. I am using One Page Checkout with Guest Checkout. When trying to process the order as a guest after a long delay, I get the following error "PHP Notice: 10437 was logged off and should be looked at! in /includes/modules/payment/authorizenet_cim.php on line 918". I tried increasing the time from 45 to 60 but no luck, which is already a long wait.
Regards,
i would review this thread.
and potentially turn guest checkout off.
i’ll be without development resources for a bit.
perhaps some one else can help out.
best.
Thanks Carl, unfortunately since implementing Guest Checkout I have seen a noticeable increase in orders. Don't understand why, even many customers that have accounts are using it.
In the constructor, after setting sort_order and enabled, you should do a check:
if (null === $this->sort_order) return;
otherwise you get a bunch of logs for undefined constants.
[21-May-2024 11:42:03 America/Anchorage] PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_AUTHORIZENET_CIM_TESTMODE" in /home/thatsoftwareguy4/client/includes/modules/payment/authorizenet_cim.php:104
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.