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

#   order is made before payment with ideal

##

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

Less More

- Posts: 424
- Thank you received: 11
-
-

11 years 8 months ago [\#196153](#196153) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196153 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

-- url of the page with the problem -- : [ www.margriet-bussum.nl](http://www.margriet-bussum.nl)
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.6.x
-- Error-message(debug-mod must be tuned on) -- : none

Hello,

We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this.
Order statussen doesn't work allright it is all confirmed even when it's not paid.
Hope i explained it right.
Please help.

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

11 years 8 months ago [\#196160](#196160) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196160 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hi,

Please contact the iDeal support ; the iDeal plugin are not made by the HikaShop team so we can't provide support for them (as we do not know how their are working, the code, etc)

Regards,

---

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

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

11 years 8 months ago [\#196260](#196260) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196260 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Thank You for your answer, i just discoverd and figured this out before reading your mail.
I do have another question,
we need to send an extra email along with the confirmation email generated by hikashop, just for one specific product.
how can we generate this from hikashop.
we already made once an custommailer for the shop we are now working with. maybe this could help u understand what i mean.
simply said: when someone order product x they will be send to the ideal to pay, along they will receive the confirmation email and next to this they need to get a welcomemail made by us.
Already many thanks.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 8 months ago [\#196277](#196277) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196277 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hi,

If it is right after the confirmation email, you can potentially use the trigger: "onAfterOrderConfirm()"
[ www.hikashop.com/support/support/documen...#onAfterOrderConfirm](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html#onAfterOrderConfirm)

This way you can check the content of the order confirmed and if the product X is inside, so prepare and send the email.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

11 years 8 months ago [\#196368](#196368) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196368 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hi,
If i understand it correctly.. i can use the trigger "onAfterOrderConfirm()" directly in the code in the email created / confirmed at the end and then use my old code to tell the system if it's product x send the other email. ??
Thanks

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

11 years 7 months ago [\#196760](#196760) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196760 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hello,

I have tried several ways to get te trigger right. i would like understand this. pleas help. i only need for one product after payment is made and confirmed an extra email to be sent to the customer. do i need to trigger it in de order.php or in the emails which are sent to the customer?
Pleas help

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 7 months ago [\#196795](#196795) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#196795 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hi,

The link I gave earlier give more details about the triggers.
[ www.hikashop.com/support/support/documen...#onAfterOrderConfirm](http://www.hikashop.com/support/support/documentation/62-hikashop-developer-documentation.html#onAfterOrderConfirm)

A trigger can be used in a plugin only, in our code we call the triggers at specific moments, so once the call is done, all the enabled plugins having this trigger are used and can do what they want.

So you have to create a plugin, use the "onAfterOrderConfirm()" function in the plugin and in that function and then use your code to do the check on the products of the order and send the other mail or not.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

11 years 7 months ago [\#197062](#197062) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#197062 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hello again ![:unsure:](/media/kunena/emoticons/18.png ":unsure:")

i've made a plugin as u said, but it doesn't seem to work right. can u take a look please? when installed it i get the following error in the confirmation mail:
Notice: Undefined property: stdClass::$customtext_75_20_42_01 in /home/aandearbeid/public_html/media/com_hikashop/mail/order_status_notification.preload.php on line 161
and a same notice in the mail that the order is made, but then on line 158

This is my plugin so far. see attachement.
Please help

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

11 years 7 months ago [\#197180](#197180) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[order is made before payment with ideal](/forum/27-checkout/875942-order-is-made-before-payment-with-ideal#197180 "-- url of the page with the problem -- :   www.margriet-bussum.nl  -- HikaShop version -- : 2.3.5 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.6.x -- Error-message(debug-mod must be tuned on) -- : none  Hello,  We've installed ideal on the hikashop and we were testing, but when we order a product and go to the iDeal payment the order is already made. (invoice also sent) even when we cancel the payment or just abort the payment, the order is still confirmed in the shop how can we change this. Order statussen doesn't work allright it is all confirmed even when it's not paid. Hope i explained it right. Please help.")*

Hi,

Can you please edit the file and replace the line Code:

if(empty($item-&gt;$namekey) &amp;&amp; !strlen($item-&gt;$namekey)) continue;

By Code:

if(!isset($item-&gt;$namekey) &#124;&#124; (empty($item-&gt;$namekey) &amp;&amp; !strlen($item-&gt;$namekey))) continue;

It should fix your notice issue.
But a notice is not something which will stop the process of the PHP ; in product mode this kind of notice is not displayed so it will not affect/impact the website.

Regards,

---

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

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

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