- Posts: 424
- Thank you received: 11
order is made before payment with ideal
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
11 years 8 months ago #196153
by BluepointWebdesign
order is made before payment with ideal was created by BluepointWebdesign
-- 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.
-- 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 or Create an account to join the conversation.
11 years 8 months ago #196160
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic order is made before payment with ideal
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,
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
11 years 8 months ago #196260
by BluepointWebdesign
Replied by BluepointWebdesign on topic order is made before payment with ideal
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.
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 or Create an account to join the conversation.
11 years 8 months ago #196277
by Xavier
Replied by Xavier on topic order is made before payment with ideal
Hi,
If it is right after the confirmation email, you can potentially use the trigger: "onAfterOrderConfirm()"
www.hikashop.com/support/support/documen...#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.
If it is right after the confirmation email, you can potentially use the trigger: "onAfterOrderConfirm()"
www.hikashop.com/support/support/documen...#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 or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
11 years 8 months ago #196368
by BluepointWebdesign
Replied by BluepointWebdesign on topic order is made before payment with ideal
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
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 or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
11 years 7 months ago #196760
by BluepointWebdesign
Replied by BluepointWebdesign on topic order is made before payment with ideal
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
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 or Create an account to join the conversation.
11 years 7 months ago #196795
by Xavier
Replied by Xavier on topic order is made before payment with ideal
Hi,
The link I gave earlier give more details about the triggers.
www.hikashop.com/support/support/documen...#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.
The link I gave earlier give more details about the triggers.
www.hikashop.com/support/support/documen...#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 or Create an account to join the conversation.
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
- Posts: 424
- Thank you received: 11
11 years 7 months ago #197062
by BluepointWebdesign
Replied by BluepointWebdesign on topic order is made before payment with ideal
Hello again 
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
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 or Create an account to join the conversation.
11 years 7 months ago #197180
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic order is made before payment with ideal
Hi,
Can you please edit the file and replace the line
By
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,
Can you please edit the file and replace the line
Code:
if(empty($item->$namekey) && !strlen($item->$namekey)) continue;
Code:
if(!isset($item->$namekey) || (empty($item->$namekey) && !strlen($item->$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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.093 seconds