Hi chaps,
can you please briefly explain me how can I set an email confirmation? I am pretty sure that, this template: "CartOrderConfirmMail.html" was the one to be sent to a user after purchasing an item.
In the mean time though, my solution has been moved from a Dynamicweb Development environment onto a new server in Host Nordic. Do you think this may cause any issues, perhaps I'd have to change something in Dynamicweb software on my side?
I have Dynamicweb7 19.1.1.0 and I think it may be related to: Management Center > System > System Setup > MAIL SERVER - maybe this bit should be defined, though what email server shall I put on to there?
I mean this worked fine before.
Please do let me know.
Thanks
Developer forum
E-mail notifications
CartOrderConfirmMail.html
Posted on 19/10/2010 19:14:21
Replies
Jeppe Eriksson Agger
Posted on 20/10/2010 13:53:35
Hi Marek
In order to set up a confirmation email you need to go to the Module Settings on the paragraph for your cart. From here it differs a bit depending on whether you have CartV1 or CartV2.
For CartV1:
Go to the section called "E-mail" and fill in the part pertaining to "Customer" with the relevant information and select the correct template in the "Template - Order confirmation" drop down.
For CartV2:
Go to the section called "Notification e-mails" and click " Add notification". Check the box with "For customer" and fill in the relevant information in the other boxes. Remember to select the correct template in the "Template" drop down.
Email server is "smtp.dynamicsystems.dk".
I I have completely misunderstood your question, please let me know :-)
- Jeppe
In order to set up a confirmation email you need to go to the Module Settings on the paragraph for your cart. From here it differs a bit depending on whether you have CartV1 or CartV2.
For CartV1:
Go to the section called "E-mail" and fill in the part pertaining to "Customer" with the relevant information and select the correct template in the "Template - Order confirmation" drop down.
For CartV2:
Go to the section called "Notification e-mails" and click " Add notification". Check the box with "For customer" and fill in the relevant information in the other boxes. Remember to select the correct template in the "Template" drop down.
Email server is "smtp.dynamicsystems.dk".
I I have completely misunderstood your question, please let me know :-)
- Jeppe
Posted on 20/10/2010 18:08:52
Hi Jea,
well basically I've done everything you did say and you were of course right suggesting me all these. But it still doesn't work. Basically this template is not being sent out.
The only thing I should mention though is that we are not using standard payment gateway on Dynamicweb. We are using our own payment gateway - so this is something we connect via API and I have a custom module on this.
Do you think a custom module may cause issues like that? Because clearly when it works fine with CartV1 and CartV2 then maybe because of my custom thing it needs a different set?
Thanks,
Marek
well basically I've done everything you did say and you were of course right suggesting me all these. But it still doesn't work. Basically this template is not being sent out.
The only thing I should mention though is that we are not using standard payment gateway on Dynamicweb. We are using our own payment gateway - so this is something we connect via API and I have a custom module on this.
Do you think a custom module may cause issues like that? Because clearly when it works fine with CartV1 and CartV2 then maybe because of my custom thing it needs a different set?
Thanks,
Marek
Jeppe Eriksson Agger
Posted on 21/10/2010 09:01:41
It shouldn't make any difference if you use a custom gateway or one we provide, as long as you've built it according to the specifications in our documentation.
Just to give me an indication of where we are, are you using CartV1 with a Payment Gateway or CartV2 with a Checkout Handler?
- Jeppe
Just to give me an indication of where we are, are you using CartV1 with a Payment Gateway or CartV2 with a Checkout Handler?
- Jeppe
Posted on 22/10/2010 16:34:12
Hi there,
in eCommerce + Extensibility API PDF on Dynamicweb site it clearly says:
Need to support a gateway that is not included in our standard product. No
problem. Write your own PaymentGatewayProvider by providing the template
and a few lines of code (such as a new hashing algorithm), and plug it into
Dynamicweb eCommerce right away. It will work side by side with the built in
payment gateways in Dynamicweb eCommerce.
So we have done it, we have template however we do not know how to integrate it with Dynamicweb ie: define a type of gateway (attached a screen grab)
So basically the screen grab shows a name of template BUT from a drop down menu above we cannot choose a type of payment. So we assume if we'd be able to choose a type of template we defined then it would work.
Of course still our aim is to email the client after purchasing.
Exception Details: System.Net.WebException: The remote name could not be resolved: 'smtp.dynamicsystems.dk'
Above is an error message that appears, when we hard coded to email after purchase from the above address (smtp.dynamicsystems.dk).
Are you sure that, above SMTP is correct?
And basically if you could - please do advise how can we integrate it - though ideally via a template.
in eCommerce + Extensibility API PDF on Dynamicweb site it clearly says:
Need to support a gateway that is not included in our standard product. No
problem. Write your own PaymentGatewayProvider by providing the template
and a few lines of code (such as a new hashing algorithm), and plug it into
Dynamicweb eCommerce right away. It will work side by side with the built in
payment gateways in Dynamicweb eCommerce.
So we have done it, we have template however we do not know how to integrate it with Dynamicweb ie: define a type of gateway (attached a screen grab)
So basically the screen grab shows a name of template BUT from a drop down menu above we cannot choose a type of payment. So we assume if we'd be able to choose a type of template we defined then it would work.
Of course still our aim is to email the client after purchasing.
Exception Details: System.Net.WebException: The remote name could not be resolved: 'smtp.dynamicsystems.dk'
Above is an error message that appears, when we hard coded to email after purchase from the above address (smtp.dynamicsystems.dk).
Are you sure that, above SMTP is correct?
And basically if you could - please do advise how can we integrate it - though ideally via a template.
Jeppe Eriksson Agger
Posted on 27/10/2010 13:13:35
I can't see an attached screen grab I'm afraid.
However it sounds to me like you're trying to create a whole new Payment Gateway by simply creating a new template. This is not possible. You can create a new template for existing gateways, but if you need a new gateway, then you need to code it by extending the GatewayProvider class.
Documentation for Gateway Providers is located in chapter 5:
http://engage.dynamicweb.dk/Admin/Public/Download.aspx?File=Files%2fFiler%2fDocumentation%2fDevelopment%2feCommerce%2f(en-US)+eCommerce+Extensibility+API%2c++Dynamicweb+eCommerce.pdf
EDIT:
The smtp server address I wrote earlier--smtp.dynamicsystems.dk--is the same as on all other solutions hosted by HostNordic.
However it sounds to me like you're trying to create a whole new Payment Gateway by simply creating a new template. This is not possible. You can create a new template for existing gateways, but if you need a new gateway, then you need to code it by extending the GatewayProvider class.
Documentation for Gateway Providers is located in chapter 5:
http://engage.dynamicweb.dk/Admin/Public/Download.aspx?File=Files%2fFiler%2fDocumentation%2fDevelopment%2feCommerce%2f(en-US)+eCommerce+Extensibility+API%2c++Dynamicweb+eCommerce.pdf
EDIT:
The smtp server address I wrote earlier--smtp.dynamicsystems.dk--is the same as on all other solutions hosted by HostNordic.
You must be logged in to post in the forum