Authorize.net return URL Fails on Hikshop PHP erro

  • Posts: 54
  • Thank you received: 1
  • Hikashop Business
8 years 7 months ago #237477

-- url of the page with the problem -- : secure.authorize.net/gateway/transact.dll
-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Firefox 45.0.2
-- Error-message(debug-mod must be tuned on) -- : An error occurred while trying to report this transaction to the merchant. An e-mail has been sent to the merchant informing them of the error. The following is the result of the attempt to charge your credit card.

This transaction has been approved.

It is advisable for you to contact the merchant to verify that you will receive the product or service.

My nemesis has returned: the dreaded "An Error occurred..." (see above) when I updated my Hikashop Business installation to HikaShop Business 2.6.2 [1604182302].

We do receive the CREATED email and the payment to Authorize.net does go through, but the end user sees this error:



I examined the Apache errors, and found the following:
[Wed Apr 20 05:34:06.989694 2016] [proxy_fcgi:error] [pid 3235:tid 140328883672832] [client 50.243.98.61:62692] AH01071: Got error 
'PHP message: PHP Notice:  Undefined offset: 1 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1091\n
PHP message: PHP Notice:  Undefined offset: 2 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1095\n', referer: http://[client-website]/component/jevents/icalrepeat.detail/2016/04/20/99/-/test-infection-control?Itemid=254
[Wed Apr 20 05:34:24.910498 2016] [proxy_fcgi:error] [pid 3235:tid 140328652695296] [client 50.243.98.61:62709] AH01071: Got error 
'PHP message: PHP Notice:  Undefined offset: 1 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1091\n
PHP message: PHP Notice:  Undefined offset: 2 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1095\n', referer: http://[client-website]/component/hikashop/checkout/task-step/step-3?Itemid=750

I'm open to suggestions: why are we getting this Authorize.net error again?

Toolie

Please Log in or Create an account to join the conversation.

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
8 years 7 months ago #237482

Hi,

So it says that an email was sent to you with information about the error. What did that email say ?
If you try a transaction with the debug mode setting of the payment method activated, what do you get in the payment log of HikaShop that you can get in the HikaShop configuration ?

Please Log in or Create an account to join the conversation.

  • Posts: 54
  • Thank you received: 1
  • Hikashop Business
8 years 7 months ago #237770

Your payment log never works for me: I have set permissions to

user:group
with write permissions, but I never see anything in that log, even with Debug turned on. I have direct access to this server: it's on Amazon Web Services. What should those permissions be?

The error from the email from Authorize.net was:
Your script timed out while we were trying to post transaction results to it.

Inexplicably (and maddeningly) the Authorize.net payments are now working again. I still see these errors:
[Fri Apr 22 06:33:03.626693 2016] [proxy_fcgi:error] [pid 3235:tid 140328652695296] [client 50.243.98.61:61810] AH01071: Got error 'PHP message: 
PHP Notice:  Undefined offset: 1 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1091\n
PHP message: PHP Notice:  Undefined offset: 2 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1095\n', referer: http://[client-website]/component/jevents/icalrepeat.detail/2016/04/22/99/-/test-infection-control?Itemid=254
[Fri Apr 22 06:33:24.549524 2016] [proxy_fcgi:error] [pid 5961:tid 140328560375552] [client 50.243.98.61:61818] AH01071: Got error 'PHP message: 
PHP Notice:  Undefined offset: 1 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1091\n
PHP message: PHP Notice:  Undefined offset: 2 in /path-to-joomla/administrator/components/com_hikashop/classes/field.php on line 1095\n', referer: http://[client-website]/component/hikashop/checkout/task-step/step-3?Itemid=750

but the transactions are going through as they did before, AND we're seeing the link that takes the client back to our Thank You page.

Any ideas why:
  1. We never get any debug information?
  2. Why it's now working even though PHP errors are being reported?

Toolie

Last edit: 8 years 7 months ago by toolie.

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
8 years 7 months ago #237800

Hello,

1. Well, it will depends on many things but the main reason can be that :
- Your website don't receive any payment notification
- The payment notification is redirected to another link which won't be usable by the payment plugin.

In that case, the best solution will be to directly check each point of the "No payment notification" section of that documentation :
www.hikashop.com/support/documentation/i...or.html#notification

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum