[Skip to main content](#vessel-content)

#   ePay payment plugin - callback fails with error 500

##

- **[dyvel](/forum/user/39996-dyvel "View dyvel's Profile")**
- [![dyvel's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39996-dyvel "View dyvel's Profile") Topic Author
- [ Offline](/forum/user/39996-dyvel)

Less More

- Posts: 88
- Thank you received: 20
-
-

4 years 4 months ago -  4 years 4 months ago [\#343565](#343565) by [dyvel](/forum/user/39996-dyvel "View dyvel's Profile")  *[ePay payment plugin - callback fails with error 500](/forum/29-payment-methods/904793-epay-payment-plugin-callback-fails-with-error-500#343565 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0  Hi  I've bought your ePay payment plugin to use with recurring subscriptions. I've setup a test account at ePay/Bambora and added my server IP + domain in their control panel. My problem is, that the callback is not received by Hikashop. In my server log, I see that the callback results in a server error with code 500.  54.154.212.155 - - &#91;28/Jul/2022:15:21:21 +0200&#93; &quot;GET /index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332727729&amp;orderid=3&amp;amount=100000&amp;currency=208&amp;date=20220728&amp;time=1320&amp;txnfee=0&amp;subscriptionid=16610366&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=b0b70d9ae4d95bc24e25ecb2ae159077 HTTP/1.1&quot; 500 6715 &quot;-&quot; &quot;-&quot;  54.77.224.116 - - &#91;28/Jul/2022:16:09:24 +0200&#93; &quot;GET /index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332738932&amp;orderid=8&amp;amount=10000&amp;currency=208&amp;date=20220728&amp;time=1609&amp;txnfee=0&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=ad301cd67559cbb610f9d5ded85af1a9 HTTP/1.1&quot; 500 2030 &quot;-&quot; &quot;-&quot;  From ePay callback response I see this error message: Attempt to assign property &quot;txn&#95;id&quot; on null Edit: Activated debug in Joomla and the stack trace points to JROOT/plugins/hikashoppayment/bambora/bambora.php:319  From the payment log: Bambora transaction id: 332738250 07.28.22 14:01:54  Array ( &#91;option&#93; =&gt; com&#95;hikashop &#91;ctrl&#93; =&gt; checkout &#91;task&#93; =&gt; notify &#91;notif&#95;payment&#93; =&gt; bambora &#91;tmpl&#93; =&gt; component &#91;lang&#93; =&gt; da &#91;Itemid&#93; =&gt; 123 &#91;txnid&#93; =&gt; 332738250 &#91;orderid&#93; =&gt; 6 &#91;amount&#93; =&gt; 100000 &#91;currency&#93; =&gt; 208 &#91;date&#93; =&gt; 20220728 &#91;time&#93; =&gt; 1559 &#91;txnfee&#93; =&gt; 0 &#91;subscriptionid&#93; =&gt; 16610868 &#91;paymenttype&#93; =&gt; 1 &#91;cardno&#93; =&gt; 444444XXXXXX4000 &#91;hash&#93; =&gt; 4a8ac4d3e8725d814e32de6d9341f667 )  EDIT again: on line 279 I changed $order&#95;payment&#95;params = null; to $order&#95;payment&#95;params = new stdClass(); Seems to have fixed the issue with the callback.  Another thing - there is an untranslated language constant &quot;HANDLE&#95;NO&#95;RECURRING&quot; - not sure what that setting is for?")* was created by *[dyvel](/forum/user/39996-dyvel "View dyvel's Profile")*

-- HikaShop version -- : 4.6.1
-- Joomla version -- : 4.1.4
-- PHP version -- : 8.0

Hi

I've bought your ePay payment plugin to use with recurring subscriptions. I've setup a test account at ePay/Bambora and added my server IP + domain in their control panel. My problem is, that the callback is not received by Hikashop. In my server log, I see that the callback results in a server error with code 500.

54.154.212.155 - - [28/Jul/2022:15:21:21 +0200] "GET /index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332727729&amp;orderid=3&amp;amount=100000&amp;currency=208&amp;date=20220728&amp;time=1320&amp;txnfee=0&amp;subscriptionid=16610366&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=b0b70d9ae4d95bc24e25ecb2ae159077 HTTP/1.1" 500 6715 "-" "-"

54.77.224.116 - - [28/Jul/2022:16:09:24 +0200] "GET /index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif_payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332738932&amp;orderid=8&amp;amount=10000&amp;currency=208&amp;date=20220728&amp;time=1609&amp;txnfee=0&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=ad301cd67559cbb610f9d5ded85af1a9 HTTP/1.1" 500 2030 "-" "-"

From ePay callback response I see this error message: Attempt to assign property "txn_id" on null
Edit: Activated debug in Joomla and the stack trace points to JROOT/plugins/hikashoppayment/bambora/bambora.php:319

From the payment log:
Bambora transaction id: 332738250
07.28.22 14:01:54

Array
(
[option] =&gt; com_hikashop
[ctrl] =&gt; checkout
[task] =&gt; notify
[notif_payment] =&gt; bambora
[tmpl] =&gt; component
[lang] =&gt; da
[Itemid] =&gt; 123
[txnid] =&gt; 332738250
[orderid] =&gt; 6
[amount] =&gt; 100000
[currency] =&gt; 208
[date] =&gt; 20220728
[time] =&gt; 1559
[txnfee] =&gt; 0
[subscriptionid] =&gt; 16610868
[paymenttype] =&gt; 1
[cardno] =&gt; 444444XXXXXX4000
[hash] =&gt; 4a8ac4d3e8725d814e32de6d9341f667
)

EDIT again: on line 279 I changed $order_payment_params = null; to $order_payment_params = new stdClass();
Seems to have fixed the issue with the callback.

Another thing - there is an untranslated language constant "HANDLE_NO_RECURRING" - not sure what that setting is for?

Last edit: 4 years 4 months ago by [dyvel](/forum/user/39996-dyvel "View dyvel's Profile").

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ3OTMtZXBheS1wYXltZW50LXBsdWdpbi1jYWxsYmFjay1mYWlscy13aXRoLWVycm9yLTUwMD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

4 years 4 months ago [\#343568](#343568) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[ePay payment plugin - callback fails with error 500](/forum/29-payment-methods/904793-epay-payment-plugin-callback-fails-with-error-500#343568 "-- HikaShop version -- : 4.6.1 -- Joomla version -- : 4.1.4 -- PHP version -- : 8.0  Hi  I've bought your ePay payment plugin to use with recurring subscriptions. I've setup a test account at ePay/Bambora and added my server IP + domain in their control panel. My problem is, that the callback is not received by Hikashop. In my server log, I see that the callback results in a server error with code 500.  54.154.212.155 - - &#91;28/Jul/2022:15:21:21 +0200&#93; &quot;GET /index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332727729&amp;orderid=3&amp;amount=100000&amp;currency=208&amp;date=20220728&amp;time=1320&amp;txnfee=0&amp;subscriptionid=16610366&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=b0b70d9ae4d95bc24e25ecb2ae159077 HTTP/1.1&quot; 500 6715 &quot;-&quot; &quot;-&quot;  54.77.224.116 - - &#91;28/Jul/2022:16:09:24 +0200&#93; &quot;GET /index.php?option=com&#95;hikashop&amp;ctrl=checkout&amp;task=notify&amp;notif&#95;payment=bambora&amp;tmpl=component&amp;lang=da&amp;Itemid=123&amp;txnid=332738932&amp;orderid=8&amp;amount=10000&amp;currency=208&amp;date=20220728&amp;time=1609&amp;txnfee=0&amp;paymenttype=1&amp;cardno=444444XXXXXX4000&amp;hash=ad301cd67559cbb610f9d5ded85af1a9 HTTP/1.1&quot; 500 2030 &quot;-&quot; &quot;-&quot;  From ePay callback response I see this error message: Attempt to assign property &quot;txn&#95;id&quot; on null Edit: Activated debug in Joomla and the stack trace points to JROOT/plugins/hikashoppayment/bambora/bambora.php:319  From the payment log: Bambora transaction id: 332738250 07.28.22 14:01:54  Array ( &#91;option&#93; =&gt; com&#95;hikashop &#91;ctrl&#93; =&gt; checkout &#91;task&#93; =&gt; notify &#91;notif&#95;payment&#93; =&gt; bambora &#91;tmpl&#93; =&gt; component &#91;lang&#93; =&gt; da &#91;Itemid&#93; =&gt; 123 &#91;txnid&#93; =&gt; 332738250 &#91;orderid&#93; =&gt; 6 &#91;amount&#93; =&gt; 100000 &#91;currency&#93; =&gt; 208 &#91;date&#93; =&gt; 20220728 &#91;time&#93; =&gt; 1559 &#91;txnfee&#93; =&gt; 0 &#91;subscriptionid&#93; =&gt; 16610868 &#91;paymenttype&#93; =&gt; 1 &#91;cardno&#93; =&gt; 444444XXXXXX4000 &#91;hash&#93; =&gt; 4a8ac4d3e8725d814e32de6d9341f667 )  EDIT again: on line 279 I changed $order&#95;payment&#95;params = null; to $order&#95;payment&#95;params = new stdClass(); Seems to have fixed the issue with the callback.  Another thing - there is an untranslated language constant &quot;HANDLE&#95;NO&#95;RECURRING&quot; - not sure what that setting is for?")*

Hello,

Thanks for your returns and your solution, on our side we will investigate more around this issue.
Can you confirm that the issue is completely solved ?

We will correct the small translation oversight in the language file for our future releases thanks to your feedback now!
Thanks again !

Regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy85MDQ3OTMtZXBheS1wYXltZW50LXBsdWdpbi1jYWxsYmFjay1mYWlscy13aXRoLWVycm9yLTUwMD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
