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

#   Setting Return URL in eway payment method

##

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 3 weeks ago [\#68194](#68194) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  *[Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#68194 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")* was created by *[webedge](/forum/user/5354-webedge "View webedge's Profile")*

Just wondering where I can edit the return URL upon successful payment for eway plugin?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MTk0LXNldHRpbmctcmV0dXJuLXVybC1pbi1ld2F5LXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 3 weeks ago [\#68384](#68384) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#68384 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

There is no option for that.

If you turn on/off the debug option of the plugin, it will switch automatically between the test gateway URL ( [ www.eway.com.au/gateway\_cvn/xmltest/testpage.asp](https://www.eway.com.au/gateway_cvn/xmltest/testpage.asp) )and the live gateway URL ( [ www.eway.com.au/gateway\_cvn/xmlpayment.asp](https://www.eway.com.au/gateway_cvn/xmlpayment.asp) ).

If you want another URL, You'll have to edit the file plugins/hikashoppayment/eway/eway.php and change these URLs directly in the code.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 3 weeks ago -  14 years 3 weeks ago [\#68393](#68393) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  Replied by *[webedge](/forum/user/5354-webedge "View webedge's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#68393 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

fixed

Last edit: 14 years 3 weeks ago by [webedge](/forum/user/5354-webedge "View webedge's Profile"). Reason: fixed

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69076](#69076) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  Replied by *[webedge](/forum/user/5354-webedge "View webedge's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69076 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

Actually just further to this, I'm not sure we're on the same page.

When the eWay payment is successful the result is "thank you for your purchase" page - however the URL is something like /checkout/checkout/step/step-2 - which is the same url used during checkout.

I need to setup a conversion in Google Analytics so the thank you page/ success page needs to be its own unique URL, so Analytics can track it.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MTk0LXNldHRpbmctcmV0dXJuLXVybC1pbi1ld2F5LXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 2 weeks ago [\#69191](#69191) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69191 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

You can add the code: Code:

&lt;tr&gt; &lt;td class="key"&gt; &lt;?php echo JText::_( 'RETURN_URL' ); ?&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" name="data[payment][payment_params][return_url]" value="&lt;?php echo @$this-&gt;element-&gt;payment_params-&gt;return_url; ?&gt;" /&gt; &lt;/td&gt; &lt;/tr&gt;

at the end of the file plugins/hikashoppayment/eway_configuration.php and then configure a return url in the configuration of the eway plugin. That will then redirect your users to a thank you page of your choice after the payment.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 2 weeks ago -  14 years 2 weeks ago [\#69231](#69231) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  Replied by *[webedge](/forum/user/5354-webedge "View webedge's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69231 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

Yes I already went down that path using the code from the paypal plugin. Still doesn't work.

Is there a reason the other payment plugins have this feature built in but not the eWay plugin?

Last edit: 14 years 2 weeks ago by [webedge](/forum/user/5354-webedge "View webedge's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MTk0LXNldHRpbmctcmV0dXJuLXVybC1pbi1ld2F5LXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 2 weeks ago [\#69407](#69407) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69407 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

The reason is simple. No one asked for it.

Please install that package and it should work.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 2 weeks ago [\#69418](#69418) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  Replied by *[webedge](/forum/user/5354-webedge "View webedge's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69418 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

This has broken something:

When I click to edit the eway plugin I get the following error:

500 - An error has occurred.

JHtml: :hikaselect not supported. File not found.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MTk0LXNldHRpbmctcmV0dXJuLXVybC1pbi1ld2F5LXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 1 week ago [\#69557](#69557) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#69557 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

Ah yes, we already made some changes in the payment plugin for next release of HikaShop.

Open each file of that zip and change the text hikaselect to select and it will work.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

14 years 2 days ago [\#71278](#71278) by [webedge](/forum/user/5354-webedge "View webedge's Profile")  Replied by *[webedge](/forum/user/5354-webedge "View webedge's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#71278 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

Sorry still doesn't work. Upon successful credit card payment the redirect page is:

[ www.originalsaltlamps.com.au/checkout/checkout/step/step-2](https://www.originalsaltlamps.com.au/checkout/checkout/step/step-2)

In the return URL field I have entered: [ www.originalsaltlamps.com.au/thank-you-for-shopping](http://www.originalsaltlamps.com.au/thank-you-for-shopping)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzY4MTk0LXNldHRpbmctcmV0dXJuLXVybC1pbi1ld2F5LXBheW1lbnQtbWV0aG9kP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14265
-
-

14 years 1 day ago [\#71535](#71535) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Setting Return URL in eway payment method](/forum/4-how-to/68194-setting-return-url-in-eway-payment-method#71535 "Just wondering where I can edit the return URL upon successful payment for eway plugin?")*

OK, can you try to add the line:
$return_url = @$method-&gt;payment_params-&gt;return_url;
after the line:
$path = JPATH_THEMES.DS.$app-&gt;getTemplate().DS.'hikashoppayment'.DS.$name;
in the plugins/hikashoppayment/eway/eway.php file and try again ?

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

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

[](#top)
