HomeHome Product Discus... Product Discus...SmithCartSmithCart[WebServiceData] tag not replaced in email[WebServiceData] tag not replaced in email
Previous
 
Next
New Post
9/6/2011 9:54 AM
 

Hi,

I have tried to display the [WebServiceData] in order confirmation email, but the tag is not replaced (tried both normal & upper case).
I have entered the text to be displayed in the order detail record located in SQL database.

 

[EDIT] Found the option (in MyAccount module settings) to show the webServiceData column in the order detail, so the following can be ignored.
Moreover, I do not see it when displaying order details in the shop module.


What I am missing ?

Thanks.

 
New Post
9/9/2011 4:29 AM
 

Hi support,

 

Do you have any update on this problem (reproduced, investigating, resolving for next release...) ?

 

Moreover, I have noticed that the webServiceData is not displayed in the order confirmation page, althought it is displayed in the order details of the MyAccount module. As unregistered user do not have access to order history, he cannot get the webServiceData information right after its purchase (and registered users must go to order details to get this information).

If the MyAccount 'Show Web Service Field' option is checked, is it possible to display the webServiceData in the confirmation order page (in the right of the Line Total column, like in MyAccount module) ?

 

Note that in the user guide, you tell to add the [WebServiceData] tag in the email template (page 100), but in the Email Tokens section (page 165), you state: "Note: All email tokens must be entered in uppercase and be enclosed in square brackets as shown below.". If all tag are in uppercase, the tag indicated page 100 must be [WEBSERVICEDATA].

 

Thanks.

 
New Post
9/9/2011 12:45 PM
 

Showing the web service data in the email has been fixed and will be available in the next release 4.6. Currently, we do not have a release data for 4.6 but it should be in the next 2-3 weeks.
 


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
9/14/2011 8:40 AM
 

Hi Scott

I am glad to see that the webServiceData tag in emails are fixed. However, I have 2 more question regarding this subjet:

- As a webServiceData data is associated with each orderDetail, how these data will appear on the email, knowing that ORDERDETAILS and WEBSERVICEDATA are 2 different tags (the ORDERDETAILS shows a product table. Will it be extended by the WEBSERVICEDATA, ie a column will be added (See below) or will it appear separated from the order details ?)

Product Name Quantity Unit Cost Will webServiceData appear here ???
mmùml 1.00 10,00 €  

 

- The webServiceData are shown as a column in the MyAccount module for each orderDetail, but is not shown in the confirmation order page (that displays the same kind of information than in the MyAccount page). Is it the correct behaviour ? Can we add this information in the order confirmation page ?

 

Thanks.

Just to know, would it be possible to have an intermediate build so we can test the webServiceData tag ?

 
New Post
9/28/2011 8:57 AM
 

Hi,

 

I am currently testing the 4.60 version and I found that, althought you told that the webServiceData problem has been fixed in this release, the problem is NOT FIXED !

See below screenshots for the New Store Order email template and the resulting email received after a validated purchase.

 

Configuration screenshot:

 

 

Email screenshot:

 

Maybe I am using the wrong parameters (that's why I pasted screenshots). I have used both the tag as found in the user guide (page 101) and the upper case tag as specified in page 166 (Note: All email tokens must be entered in uppercase and be enclosed in square brackets as shown below). Please let me know.

 

 

Note that Shipping info appears in the email body, althought I have checked the Hide Shipping option in the General Cart Setup (the option tooltip explains 'When checked hides the shipping item on the Cart Page, Confirmation Page (Before Payment), Confirmation Page (After Payment), and all confirmation emails.' ; so the shipping info SHOULD NOT appear in email (I know I can remove the SHIPPINGADDRESS tag in email, but this was to emphasis that the option tooltip does not describe the correct behaviour).

 

Thanks.

 

 
New Post
10/17/2011 5:57 AM
 

20 days have passed and still no answer from support team...

 

Have you any update for this NON FIXED bug (reproducible in the last version (4.60)) ?

As you told that this problem was fixed, can you integrate the fix in the next release ?

 

 

Thanks.

 
New Post
10/31/2011 12:43 PM
 
Hi Rico,
Can you confirm that your web service call is returning data and that your web service data is being stored in the "smith_storeOrderDetails" table.


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/16/2011 5:19 AM
 

Hi Scott,

 

I do not use the web service feature but the stored procedure one. If payment is successfull, a call to this procedure fills the WebServiceData field for the current  transaction.

I have checked in the Smith_StoreOrderDetails table and the webServiceData contains something (but even empty, the [WEBSERVICEDATA] should be replaced by a blank, see next paragraph).

Just have tested with the version 4.67 and both admin & user email do not display the webServiceData (the tags [WEBSERVICEDATA] or [WebServiceData] (used both as I don't know if character casing matters) are displayed 'as this', ie are not replaced).

 

Moreover, the user email do not match the template : the total amount (plus Handling & VAT) appear at the end of email, althought I have added a 'END OF EMAIL' label at the very end of the template.

 

The special instructions tag is replaced in the admin email, but not in the user email (but it may have been designed as this - if so it should be mentioned in the user guide instead of "The following tokens can be entered in the User Email and Admin Email Templates to customize the email message", page 168).

 

The question you asked (if the field webServiceData contains something after web service call) let me think that :

- the [WEBSERVICEDATA] tag is well replaced when you are testing... Can you confirm that ?

- you must configure and use a web service to "enable" the [WEBSERVICEDATA] tag replacement (if so, it is a very strange implementation).

 

Please keep me in touch with this annoying problem.

 

 
New Post
11/17/2011 3:10 PM
 
Rico,
The [WEBSERVICEDATA] email token was specifically created to be used with the "On Checkout Complete Call Web Service" feature and not the "On Checkout Complete Call Stored Procedure" that you are trying to use it with. The reason the [WEBSERVICEDATA] token is not being populated when you use "On Checkout Complete Call Stored Procedure" is because the email is sent out before your custom stored procedure is called.




Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/28/2011 9:05 AM
 

Hi Scott and thanks for the answer.

 

I have understood that the [WEBSERVICEDATA] (in upper case as you may indicate) tag displays the return value of the web service call.

However, it does not explain why the tag appears "as this" (ie not replaced by a blank) in customer & admin emails.

 

The other problem is if the admin wants to resend the email to the customer : what will appear in the mail instead of the [WEBSERVICEDATA] tag (hope the web service is not called again...) ?

 

At last, you didn't tell anything about the following problems:

- the user email do not match the template : the total amount (plus Handling & VAT) appear at the end of email, althought I have added a 'END OF EMAIL' label at the very end of the template (total appears below 'END OF EMAIL').

- The special instructions tag is replaced in the admin email, but not in the user email

 

Thanks

 
New Post
12/1/2011 6:56 AM
 

Hi support.

 

When activating the web service feature in the store settings, the webServiceData field content located in the SmithOrderDetails table appears both in the user & admin emails.

However, it appears even if there is no [WEBSERVICEDATA] token in those emails. And if we add [WEBSERVICEDATA] anywhere in the mail body, the token is not replaced (see screenshot below).

So the behavior do not match the one described in the user manual (page 101): "To insert the data returned from the web service to the confirmation email add the token called [WebServiceData] in the email template in Smith Cart."

A new table row containing the webServiceData data appears below the product name, but [WEBSERVICEDATA] tokens are not replaced.

 

So there is still problem but the feature can be used (without having the choice on where / how the webServiceData will apear in the emails).

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCart[WebServiceData] tag not replaced in email[WebServiceData] tag not replaced in email