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

#   Order still placed if Paypal screen closed

##

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

Less More

- Posts: 1
- Thank you received: 0
-
-

15 years 11 months ago [\#2777](#2777) by [Travis](/forum/user/416-travis "View Travis's Profile")  *[Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#2777 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")* was created by *[Travis](/forum/user/416-travis "View Travis's Profile")*

Hi,

I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.

It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)

Any ideas if this is a bug or am I doing something wrong?

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

15 years 11 months ago [\#2781](#2781) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#2781 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

Hi,

The order needs to be created on the last step of the checkout. For example, if you have the payment method "check" or "bank transfer", you have to create the order entry at the end of the checkout. Also, paypal do not always validate instantaneously the orders. Sometimes, users payment is freezed for 1 week before paypal validates the payment. In such cases, you want to send an email you order CREATION notification. Then, when the payment is completed, another email is sent to notify the user that his order is complete.
Also, in commercial editions of HikaShop, there is now the possibility for the user to pay later on via the listing of his orders on the front end. For example, suppose that while on paypal, the users mistakenly closed his browser or that his computer crashed or that his payment is refused later on if he paid by e-check or wire transfer and that the funds had to be frozen for a week but that in the mean time, the bank asked the money back for whatever reason ( yes, that happens ![:)](/media/kunena/emoticons/3.png ":)") ). He would be able to go again to the paypal payment screen for his order, without having to redo the whole process again. For such cases as well, you want to create the order before sending the user to paypal.
So it's not a bug ![:)](/media/kunena/emoticons/3.png ":)")

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

- **[reace](/forum/user/272-reace "View reace's Profile")**
- [![reace's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar272.gif)](/forum/user/272-reace "View reace's Profile")
- [ Offline](/forum/user/272-reace)
- Entrepreneur

Less More

- Posts: 93
- Thank you received: 5
-
-
-
-

15 years 11 months ago [\#2830](#2830) by [reace](/forum/user/272-reace "View reace's Profile")  Replied by *[reace](/forum/user/272-reace "View reace's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#2830 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

I have been usning opencart for another client and I have noticed that they have a Paypal system which utilizes the paypal PDT ([ Payment Data Transfer](https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/howto_html_paymentdatatransfer))
Does Hikashop use something similar?

Basically it take's the Return codes received from paypal to update the hikashop payment statuses.

would be good if it does something like this.

Cheers

---

you Guys are Awesome and have excellent Support! Keep up the great Work!.

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

15 years 11 months ago [\#2839](#2839) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#2839 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

HikaShop doesn't use PDT but IPN in order to validate the payment status [ cms.paypal.com/us/cgi-bin/?&amp;cmd=\_render-...howto\_admin\_IPNIntro](https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/e_howto_admin_IPNIntro)
Upon receiving a payment notification, hikashop will validate the order (or not if there was a problem with the payment) send a notification email to both the user and the admin so that each one knows the new status of the order.

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

- **[Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")**
- [![Sol Skugga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar595.jpg)](/forum/user/595-sol-skugga "View Sol Skugga's Profile")
- [ Offline](/forum/user/595-sol-skugga)
- Developer running the agency www.happyminds.com

Less More

- Posts: 18
- Thank you received: 0
-
-
-
- [](http://www.happyminds.com)
-

15 years 10 months ago [\#4465](#4465) by [Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")  Replied by *[Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#4465 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

Hi!

I just bought Hikashop and I am very satisfied, I have one simple issue though that I can't seem to get right. I checked the "Payment of orders not paid immediately" to yes, but when I go through my check-out choosing for example paypal, log in user account, redirect to paypal, but closes the browser without paying, I do get an Order-Id as I should, but I can not see a "pay now" button below the orderstatus as mentioned in the config.details. Have I done something wrong? I have the essential version installed. I thought the user would be able to click a "pay now" button and simply re-redirect to paypal once over...

Most of my customers will simply be placing an order, and then pay to my business account after printing the invoice as you normally do it here in sweden. That would also give them a 30days - payment period, so they will pay me after I send the ordered items to them...I need to be able to change the status of the order manually depending on if they pay before or after sending the item, is this doable or will it fuck up the system-emails? I hope you understand what I mean...

This is the work-in-progress-site: [ speldosan.se.loopiadns.com](http://speldosan.se.loopiadns.com)

---

Practice makes perfect

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

15 years 10 months ago [\#4467](#4467) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#4467 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

Hi,

Indeed, there is a problem with that in the essential version. We fixed it on our end and it will be available with next version that we want to release this week.

In the mean time, you can replace the file components/com_hikashop/views/order/view.html.php by the one in the archive enclosed in this message and that should fix it.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

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

- **[Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")**
- [![Sol Skugga's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar595.jpg)](/forum/user/595-sol-skugga "View Sol Skugga's Profile")
- [ Offline](/forum/user/595-sol-skugga)
- Developer running the agency www.happyminds.com

Less More

- Posts: 18
- Thank you received: 0
-
-
-
- [](http://www.happyminds.com)
-

15 years 10 months ago [\#4470](#4470) by [Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")  Replied by *[Sol Skugga](/forum/user/595-sol-skugga "View Sol Skugga's Profile")* on topic *[Re: Order still placed if Paypal screen closed](/forum/3-bug-report/2777-order-still-placed-if-paypal-screen-closed#4470 "Hi,  I'm testing the paypal payment method, and I have found that if the paypal windows is closed, or the user clicks the back button on the browser, the order is still added to the system. Order processed emails are sent to the shop admin and customer.  It would be nice if HikaShop would only add the order to the system after the paypal payment has been processed (or do I have something setup incorrectly?)  Any ideas if this is a bug or am I doing something wrong?")*

Tnx a lot for the fast reply! It works now ![=)](/smile.gif "=)") I will most certainly get back with more ideas later on when I have read through your code and am more familiar with your store...

---

Practice makes perfect

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

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