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

#   PayPal Express - return URL

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#275975](#275975) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#275975 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")* was created by *[vasx](/forum/user/52026-vasx "View vasx's Profile")*

Hello,

I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom "Thank you" page after successful payment?

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 2 months ago -  9 years 2 months ago [\#275994](#275994) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#275994 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

The paypal express plugin is a special plugin which redirect the customer into Paypal so it can use the Paypal checkout system to create its order.
When the customer come back in your website, it should go through a special URL which perform a redirection depending the order creation status.

It can be the "ctrl=order&amp;task=cancel" or "ctrl=checkout&amp;task=after_end" (the URL can be SEF so you should see "order/task-cancel" or "order/cancel" depending how your website is configured).

What is the final URL you got when you come back from Paypal checkout ?

Regards,

---

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

Last edit: 9 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276050](#276050) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276050 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Thank you for your prompt reply on this matter. Final URL is the page from which I am redirected to PayPal.
For example: If I am on the Checkout first page that contains Cart content and I proceed with the payment, I am redirected to the same page when the payment is successful/complete. My goal is to be redirected to some (custom) page on my site and with empty Cart.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#276062](#276062) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276062 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

Please answer to my question and provide us the URL.
You can remove the domain name if you want ; but we need the real and concret information otherwise we won't be able to go further.

Thanks

---

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

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276138](#276138) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276138 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

I have already answered on the question.

> Final URL is the page from which I am redirected to PayPal.

That means that I am redirected to any page from which I clicked on PayPal Express button.

URL:
Part of the message is hidden for the guests. Please log in or register to see it.

Part of the message is hidden for the guests. Please log in or register to see it.

Thank you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 2 months ago -  9 years 2 months ago [\#276142](#276142) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276142 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

You have to understand that an Url can pass **some parameters**, that able us to better understand things :
**Ex:** *[ www.YourWebsite.com](http://www.YourWebsite.com)*/index.php?option=com_hikashop**&amp;ctrl=checkout&amp;task=after\_end**
**=&gt;** where you have a structure like this **&amp;Key\_name=Value** and in some case payment platform server may add some parameters.

Awaiting elements from you.

regards

Last edit: 9 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276461](#276461) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276461 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Part of the message is hidden for the guests. Please log in or register to see it.

For example, above is the URL from which we were redirected to PayPal Express Checkout page.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276506](#276506) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276506 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

...and here is the address to which we were returned after successful payment.

Part of the message is hidden for the guests. Please log in or register to see it.

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 2 months ago [\#276475](#276475) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276475 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

What we actually need is the Final URL in which you are redirected after paying for your order through the PayPal platform.

For example:
- To pay for your order you'll click on the "Pay with PayPal express" button
- You'll then be redirected to the PayPal platform to pay your order
- And then you'll be **redirected to your website** ==&gt; We want to know how is structured that final URL.

Thank you.

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276548](#276548) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276548 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Final URL is: index.php?option=com_hikashop&amp;ctrl=checkout&amp;task=after_end&amp;Itemid=197&amp;order_id=33

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 2 months ago -  9 years 2 months ago [\#276580](#276580) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276580 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

Now I understand fully the situation, here my idea in order to have what you asking for "*have a custom thank you page*" :
**1°)** Let your "**Return url**" option in your Paypal Express specific configuration **empty**.
**=&gt;** By doing this, you will be automatically redirect to the generic thank you page.
**2°)** Custom the generic HikaShop thank you page by **creating an override view**
**=&gt;** See [ **this tutorial**](https://www.hikashop.com/support/documentation/153-customize-the-display.html#layout) in order to process the override on " **after\_end**" view.
**Note :** This will required some php knowledge.

Hope this will fit your needs.

Regards

Last edit: 9 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276732](#276732) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276732 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Thank you for the explanation on that matter. We have the option to enter or leave empty the custom URL field in PayPal API and that is not an issue. Main issue is to have **empty cart after successful payment and return from PayPal page** to the site.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 2 months ago -  9 years 2 months ago [\#276790](#276790) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276790 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

You mean that when your customer go back from Paypal the **cart isn't empty** ?...
The fact to let, the **return url** plugin option empty was to **trigger the automatic redirection to after\_end** view, that you can custom via an override, in order to have a custom view as you requested.
Did you try to see **what happened** when you let this input empty ? Does this empty the cart ?

If that not empty the cart, can you provide a **step by step** procedure in order to try to reproduce your cart issue.
Awaiting news from you.

Regards

Last edit: 9 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#276870](#276870) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#276870 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Here is the setting for PayPal Express plugin. I will provide you with the all checkout steps as soon as possible.

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

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago -  9 years 2 months ago [\#277134](#277134) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#277134 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

Sorry for the late reply. Attached are the screenshots for every page in buy and checkout process. Every page is marked with number (1, 2, 3,... 8.)

- [ ![ss1b.jpg](/forum/attachment/40019) ](/forum/attachment/40019 "ss1b.jpg") [ ](/forum/attachment/40019?download=1 "ss1b.jpg")
- [ ![ss4c.jpg](/forum/attachment/40020) ](/forum/attachment/40020 "ss4c.jpg") [ ](/forum/attachment/40020?download=1 "ss4c.jpg")
- [ ![ss5.jpg](/forum/attachment/40021) ](/forum/attachment/40021 "ss5.jpg") [ ](/forum/attachment/40021?download=1 "ss5.jpg")
- [ ![ss3a.jpg](/forum/attachment/40022) ](/forum/attachment/40022 "ss3a.jpg") [ ](/forum/attachment/40022?download=1 "ss3a.jpg")
- [ ![ss3b.jpg](/forum/attachment/40023) ](/forum/attachment/40023 "ss3b.jpg") [ ](/forum/attachment/40023?download=1 "ss3b.jpg")
- [ ![ss4b.jpg](/forum/attachment/40024) ](/forum/attachment/40024 "ss4b.jpg") [ ](/forum/attachment/40024?download=1 "ss4b.jpg")
- [ ![ss4a.jpg](/forum/attachment/40025) ](/forum/attachment/40025 "ss4a.jpg") [ ](/forum/attachment/40025?download=1 "ss4a.jpg")
- [ ![ss2b.jpg](/forum/attachment/40026) ](/forum/attachment/40026 "ss2b.jpg") [ ](/forum/attachment/40026?download=1 "ss2b.jpg")

Last edit: 9 years 2 months ago by [vasx](/forum/user/52026-vasx "View vasx's Profile"). Reason: emoticon is inserted instead of number 8

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 2 months ago [\#277155](#277155) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#277155 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

I just analysed the Paypal Express in order to see the root issue, and right now I don't understand how you can be back on the checkout... Where did you get your Paypal Express plugin ?

Regards

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

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

Less More

- Posts: 10
- Thank you received: 0
-
-

9 years 2 months ago [\#277221](#277221) by [vasx](/forum/user/52026-vasx "View vasx's Profile")  Replied by *[vasx](/forum/user/52026-vasx "View vasx's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#277221 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

I don't understand your question. ![:)](/media/kunena/emoticons/8.png ":)") PayPal Plugin is included in HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

9 years 2 months ago -  9 years 2 months ago [\#277241](#277241) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#277241 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hello,

I just want to **confirm** that this is the **default** HikaShop Paypal Express plugin as I'm unable to understand how you can have this kind of result.
And there is something more, I don't understand in this screenshot :
[ ![StrangeUrl.png](/forum/attachment/40040) ](/forum/attachment/40040 "StrangeUrl.png")

I don't know **how** this parameters can be here, and especially if you leave the **Return Url input empty** in the your payment configuration...
Did you set it in your **Paypal account** ?... Does this tell you something ?
Awaiting news from you

Regards

- [ ![StrangeUrl.png](/forum/attachment/40040) ](/forum/attachment/40040 "StrangeUrl.png") [ ](/forum/attachment/40040?download=1 "StrangeUrl.png")

Last edit: 9 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 34
- Thank you received: 2
-
-

7 years 5 months ago [\#306274](#306274) by [Jern](/forum/user/56703-jern "View Jern's Profile")  Replied by *[Jern](/forum/user/56703-jern "View Jern's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#306274 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hi, I have the same question.

I just enable paypal express check out from hikashop plugin.

I am using sandbox to proceed with the payment but it return to an empty page.

This is the return-url &gt; [ www.example.com/?option=com\_hikashop&amp;ctr...order\_token=b1uIunV9](https://www.example.com/?option=com_hikashop&ctrl=checkout&task=after_end&Itemid=886&order_id=717&order_token=b1uIunV9)

I have leave the return-url empty.

[ ![paypal.JPG](/forum/attachment/46736) ](/forum/attachment/46736 "paypal.JPG")

What is the problem?

I would like it to return to overview page of the order by customer.

Hope to hear from you soon.

Kind regards,
Jern

- [ ![paypal.JPG](/forum/attachment/46736) ](/forum/attachment/46736 "paypal.JPG") [ ](/forum/attachment/46736?download=1 "paypal.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI5LXBheW1lbnQtbWV0aG9kcy84OTE1MjUtcGF5cGFsLWV4cHJlc3MtcmV0dXJuLXVybD90bXBsPW1hcmtkb3du) 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: 86316
- Thank you received: 14276
-
-

7 years 5 months ago [\#306281](#306281) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PayPal Express - return URL](/forum/29-payment-methods/891525-paypal-express-return-url#306281 "Hello,  I have set the PayPal Express plugin and the payment is working as expected, but the only issue we have is return URL. When the payment is completed I am returned to the page from where I was redirected to PayPal with product(s) in cart. Is there a way to clear the cart and have a custom &quot;Thank you&quot; page after successful payment?  Thank you.")*

Hi,

Is the page completely blank or only the main area ?
If it's only the main area, then it means that your template is not displaying the messages added by HikaShop.
HikaShop uses the core Joomla messaging system to display messages on your website so if you don't see any message when you don't enter correct information during the checkout process, that's probably because your Joomla template does not contain the tag to display Joomla messages: &lt;jdoc:include type="message" /&gt;

Or sometimes, your template has an option to turn that display off. So first, check about such option in your template options screen and turn it on.
If you don't find it, please edit the index.php file from your template and make sure the tag &lt;jdoc:include type="message" /&gt; is added to it.
If not, please add it just before the tag &lt;jdoc:include type="component" /&gt;
This tag should already be present in all templates.

If the page is completely blank, it means that there is a fatal error during the processing of that page. In that case, please activate the "error reporting" and "debug mode" settings of the Joomla configuration and try again. You should then get some error message on that blank page which will help us understand what's going on. Also, in that case, please provide the version number of your HikaShop.

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

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

[](#top)
