- Posts: 259
- Thank you received: 22
Eway Payments Failing after Upgrade
- rodfarrell
-
Topic Author
- Offline
Less
More
10 years 10 months ago #219328
by rodfarrell
Eway Payments Failing after Upgrade was created by rodfarrell
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$order_number in /home/chopshop/public_html/chopshopbutchers.com.au/plugins/hikashoppayment/eway/eway.php on line 111
Since upgrading to the latest Joomla and Hikashop versions Eway payments are failing. I should add, the template was replaced as well.
When Bootstrap is turned on in Hikashop Eway payments fail with no error - the payment screen simply refreshes. With Bootstrap turned off in Hikashop the payments succeed (but with the warning "Notice: Undefined property: stdClass::$order_number in /home/chopshop/public_html/chopshopbutchers.com.au/plugins/hikashoppayment/eway/eway.php on line 111" which may have no baring.)
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : All
-- Error-message(debug-mod must be tuned on) -- : Notice: Undefined property: stdClass::$order_number in /home/chopshop/public_html/chopshopbutchers.com.au/plugins/hikashoppayment/eway/eway.php on line 111
Since upgrading to the latest Joomla and Hikashop versions Eway payments are failing. I should add, the template was replaced as well.
When Bootstrap is turned on in Hikashop Eway payments fail with no error - the payment screen simply refreshes. With Bootstrap turned off in Hikashop the payments succeed (but with the warning "Notice: Undefined property: stdClass::$order_number in /home/chopshop/public_html/chopshopbutchers.com.au/plugins/hikashoppayment/eway/eway.php on line 111" which may have no baring.)
Please Log in or Create an account to join the conversation.
10 years 10 months ago #219371
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Eway Payments Failing after Upgrade
Hi,
Please edit the plugin eway and replace
By
It should fix your issue and send the email with the default content.
Regards,
Please edit the plugin eway and replace
Code:
$email = new stdClass();
$email->subject = JText::sprintf('PAYMENT_NOTIFICATION_FOR_ORDER','eWAY','Accepted',$order->order_number);
$url = HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=listing';
$order_text = "\r\n".JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE',$order->order_number,HIKASHOP_LIVE);
$order_text .= "\r\n".str_replace('<br/>',"\r\n",JText::sprintf('ACCESS_ORDER_WITH_LINK',$url));
$body = str_replace('<br/>',"\r\n",JText::sprintf('PAYMENT_NOTIFICATION_STATUS','eWAY','Accepted')).' '.JText::sprintf('ORDER_STATUS_CHANGED',$order->order_status)."\r\n\r\n".$order_text;
$email->body = $body;
$this->modifyOrder($order,$this->payment_params->verified_status,$history,$email);
Code:
$this->modifyOrder($order, $this->payment_params->verified_status, $history, true);
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
10 years 10 months ago #219462
by rodfarrell
Replied by rodfarrell on topic Eway Payments Failing after Upgrade
Thanks, but this doesn't stop payments failing when bootstrap is turned on.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
10 years 10 months ago #219468
by rodfarrell
Replied by rodfarrell on topic Eway Payments Failing after Upgrade
OK, I've narrowed this down to the fact that we have displayed radio buttons as radio buttons on the shipping and payment selections in the cart. Hikashop for some reason blocks radio buttons in the checkout but we have found that cart abandonment increases by over 20% when we use buttons instead of radio buttons). This worked fine in the non-responsive J2.5 version of the site but since upgrading and going responsive we have the problem.
Please Log in or Create an account to join the conversation.
10 years 10 months ago #219515
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Eway Payments Failing after Upgrade
Hi,
HikaShop does not "block" the radio buttons, it is just some design from Bootstrap 2.
Now if your website is not compatible with the Bootstrap 2 javascript ; it could explain some issues you have.
In that case, the best if you want to use some responsive design is to perform a view override to change the way that the checkout payment and the checkout shipping is displayed.
Regards,
HikaShop does not "block" the radio buttons, it is just some design from Bootstrap 2.
Now if your website is not compatible with the Bootstrap 2 javascript ; it could explain some issues you have.
In that case, the best if you want to use some responsive design is to perform a view override to change the way that the checkout payment and the checkout shipping is displayed.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
10 years 10 months ago #220904
by rodfarrell
Replied by rodfarrell on topic Eway Payments Failing after Upgrade
OK, backtracking now. It is not the radio button issue that is causing eway to fail. We get a successful payment about 1 time in 10, (which confused my testing) the other times the checkout page simply reloads with no error recorded. With bootstrap off, payments are 100% successful.
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
10 years 10 months ago #220909
by rodfarrell
Replied by rodfarrell on topic Eway Payments Failing after Upgrade
I think we have resolved this.
It appears that if the payment method is in the last window of the checkout the setting "Auto submit shipping and payment methods selection" must be set to yes. If not you have to refresh the screen before it will submit. Not sure if this is a design feature I don't understand or a bug but setting to yes seems to have fixed the payment issues.
It appears that if the payment method is in the last window of the checkout the setting "Auto submit shipping and payment methods selection" must be set to yes. If not you have to refresh the screen before it will submit. Not sure if this is a design feature I don't understand or a bug but setting to yes seems to have fixed the payment issues.
The following user(s) said Thank You: Jerome
Please Log in or Create an account to join the conversation.
10 years 10 months ago #221038
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Eway Payments Failing after Upgrade
Hi,
Thanks for the feedback.
That kind of issue would be fixed thanks to HikaShop 3 and the new checkout system.
Regards,
Thanks for the feedback.
That kind of issue would be fixed thanks to HikaShop 3 and the new checkout system.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.290 seconds