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

#   What is the Callback URL for a custom payment method

##

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

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago [\#267372](#267372) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267372 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")* was created by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")*

-- url of the page with the problem -- : [ getmall.getthiss.com](http://getmall.getthiss.com)
-- HikaShop version -- : 3.0.1

Hello,

We need to develop our own payment method. We are doing so using the sample payment plugin.

You see what we have done at our test site [ getmall.getthiss.com](http://getmall.getthiss.com).

Our problem is that we do not know where is the return URL to make callbacks to.

Do you know where that is?

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86363
- Thank you received: 14296
-
-

9 years 6 months ago [\#267376](#267376) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267376 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

Hi,

You must have missed this code in the example plugin: Code:

// This is the "notification" URL of HikaShop that should be given to the payment gateway so that it can send a request to that URL in order to tell HikaShop that the payment has been done (sometimes the payment gateway doesn't do that and passes the information to the return URL, in which case you need to use that notification URL as return URL and redirect the user to the HikaShop return URL at the end of the onPaymentNotification function) $this-&gt;pluginConfig['notify_url'][2] = HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;amp;notif_payment='.$this-&gt;name.'&amp;tmpl=component';

So this URL is what you want to give to the payment gateway as a notificiation URL for callbacks:
HIKASHOP_LIVE.'index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=notify&amp;amp;notif_payment='.$this-&gt;name.'&amp;tmpl=component'

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

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

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago [\#267411](#267411) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  Replied by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267411 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

In that case I am already using it ie -

[ getmall.getthiss.com/index.php?option=co...yment&amp;tmpl=component](http://getmall.getthiss.com/index.php?option=com_hikashop&ctrl=checkout&task=notify&notif_payment=unicommspayment&tmpl=component)

But in response it sends me back to the product listing page and
1. There is no confirmation page shown
2. The delivery status is not updated to confirmed or cancelled

You can view the process by buying products here - [ getmall.getthiss.com](http://getmall.getthiss.com)

Here are the parameters that I am sending back to the above url using a GET request

IDENTIFIER IDENTI-FIER
CLIENTIDENT 1
DESCRIPTION order number : F1W34
ORDERID 134
VERSION 2
AMOUNT 731.2
RESELLERID Abc123
HASH b62584ad29f872b6ede9f04145c9266a68a19d06c567ce0b05e9b6751b95eb7b
EXECCODE 0000

What is wrong?

Thanks

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

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

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago -  9 years 6 months ago [\#267412](#267412) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  Replied by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267412 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

One funny thing, the callback url has this part

[ ![8.jpg](/forum/attachment/37673) ](/forum/attachment/37673 "8.jpg")

and it keeps changing to this no matter what I do or retype it

task=notify¬if_payment

- [ ![8.jpg](/forum/attachment/37673) ](/forum/attachment/37673 "8.jpg") [ ](/forum/attachment/37673?download=1 "8.jpg")

Last edit: 9 years 6 months ago by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile"). Reason: Please see attachment

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267439](#267439) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267439 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

Hello,

The URL will call your plugin notification function ; but for sure you'll need to have some details in order to get the order information.
Now if the payment platform does not handle long URL or URL with parameters ; you have to create a file in the root of your Joomla website. Some payment plugin already do that, like "paybox" for example.

About the special character, that's normal and it's due to the HTML encoding and a little "bug" in browsers Code:

&amp;notif; =&gt; ¬

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")

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

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

Less More

- Posts: 47
- Thank you received: 0
-
-

9 years 6 months ago [\#267454](#267454) by [brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")  Replied by *[brendanlanza](/forum/user/45588-brendanlanza "View brendanlanza's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267454 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

Thanks Jerome, the GET parameters was no problem. I removed the hash checking function and it is now working wonderfully. We didn't have to resort to creating intermediate files etc.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26395
- Thank you received: 4077
-
- [](http://obsi.dev)
-

9 years 6 months ago [\#267464](#267464) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[What is the Callback URL for a custom payment method](/forum/29-payment-methods/889806-what-is-the-callback-url-for-a-custom-payment-method#267464 "-- url of the page with the problem -- :   getmall.getthiss.com  -- HikaShop version -- : 3.0.1  Hello,  We need to develop our own payment method. We are doing so using the sample payment plugin.  You see what we have done at our test site   getmall.getthiss.com .  Our problem is that we do not know where is the return URL to make callbacks to.  Do you know where that is?")*

Hello,

Okay.
It's never easy to know what the payment platform can support or not.

If you have issues with the hash checking, you should filter the parameters and try to see if they are sorted during the hash.
Because your URL already have GET parameters,, the platform might not use them during the hash in his side.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84ODk4MDYtd2hhdC1pcy10aGUtY2FsbGJhY2stdXJsLWZvci1hLWN1c3RvbS1wYXltZW50LW1ldGhvZD90bXBsPW1hcmtkb3du) 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.090 seconds

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