Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 14 of 14

Thread: Order reciept email/confirmation

  1. #1
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default Order reciept email/confirmation

    Currently I am experiencing difficulties when purchasing something form my store I am getting an error email message instead of the email reciept/email confirmation I would normally get. Below is the email I'm recieving.


    XmlPackage Exception: Exception=Last Trace Point=[]. Cannot find the script or external object that implements prefix 'urn:receipt'.


    System.ArgumentException: Last Trace Point=[]. Cannot find the script or external object that implements prefix 'urn:receipt'.

    at AspDotNetStorefrontCommon.XmlPackage2.TransformStr ing() at AspDotNetStorefrontCommon.AppLogic.RunXmlPackage(X mlPackage2 p, Parser UseParser, Customer ThisCustomer, Int32 SkinID, Boolean ReplaceTokens, Boolean WriteExceptionMessage) in C:\ASPDNSF\Builds\ML7110CSharp\ASPDNSFCommon\Commo nLogic.cs:line 734



    I was wondering if someone could help me out in resolving this issue. Thanks in advance.

  2. #2
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Have you recently upgraded the site or made changes to the web.config file? This error is caused by not registering the receipt extensions in the web.config file. Make sure that the following line exists in the extensions node of the xsltobjects node in the web.config file
    Code:
    <add name="receipt" namespace="urn:receipt" type="ReceiptXsltExtension, app_code"></add>
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  3. #3
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    Thanks allot George, I'll give that a try and post back on what happens after I imput that command.

    I'm also experiencing another problem that I think is a quick fix that I'm overlooking was hoping you might be able to help me.

    After an order is purchased online we get the following email

    Order Number:100006
    Order Total:1.00
    Order Date:12/21/2009 10:28:53 AM
    Payment Method:PAYPAL
    Shipping Method:Ground
    Customer ID:59615
    View online receipt - Link takes me to the webpage where I get the original error when I started this thread.


    It doesn't say the SKU number or the name of the item that was purchased is there a way to input that information on the email we recieve, so we know what item to ship out?

    Thanks again.

  4. #4
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    You could do this 2 ways:

    1 - Modify the notification.adminneworder.xml.config file to contain that information

    2 - Set the XmlPackage.NewOrderAdminNotification AppConfig to notification.receipt.xml.config so you get sent a full copy of the receipt instead of that 'abridged' notice.

  5. #5
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    thanks allot Scott I'll give that a try.

    I followed your directions George , I put that command in the web.config file and it worked however now on my reciept it says

    notification.betareceipt.xml.config.

    all over the reciept. Here is a link so you can see what I mean.

    https://arnoldjewelers.com/receipt.a...07&customerid=

    Sorry for so many questions guys I'm very new at this and trying my best to learn on the go.

  6. #6
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    No worries

    You're just missing a couple string resources. You can reload these from the admin section in the string resource manager (versions 7.x / versions 8.x), or if you'd like to add them manually the values are as follows:

    • notification.betareceipt.xml.config.1 - Ship to:
    • notification.betareceipt.xml.config.2 - Order Options
    • notification.betareceipt.xml.config.3 - Product
    • notification.betareceipt.xml.config.4 - Quantity
    • notification.betareceipt.xml.config.5 - Price
    • notification.betareceipt.xml.config.6 - Discount
    • notification.betareceipt.xml.config.7 - Ext. Price
    • notification.betareceipt.xml.config.8 - ChosenColor:
    • notification.betareceipt.xml.config.9 - ChosenSize:
    • notification.betareceipt.xml.config.10 - Serial Number:
    • notification.betareceipt.xml.config.11 - Bill To:
    • notification.betareceipt.xml.config.12 - Ship To:
    • notification.betareceipt.xml.config.13 - Order Date:
    • notification.betareceipt.xml.config.14 - Locale/Currency:
    • notification.betareceipt.xml.config.15 - Coupon Code:
    • notification.betareceipt.xml.config.16 - Coupon Details:
    • notification.betareceipt.xml.config.17 - Customer Level:
    • notification.betareceipt.xml.config.18 - Level Details:
    • notification.betareceipt.xml.config.19 - Payment Method:
    • notification.betareceipt.xml.config.20 - No Payment Required
    • notification.betareceipt.xml.config.21 - Name On Card:
    • notification.betareceipt.xml.config.22 - Card Type:
    • notification.betareceipt.xml.config.23 - Card Number:
    • notification.betareceipt.xml.config.24 - PO Number:
    • notification.betareceipt.xml.config.25 - Affiliate ID:
    • notification.betareceipt.xml.config.26 - Vat Registration ID:
    • notification.betareceipt.xml.config.27 - SKU:
    • notification.betareceipt.xml.config.28 - Free Shipping
    • notification.betareceipt.xml.config.29 - Order Number
    • notification.betareceipt.xml.config.30 - Customer ID
    • notification.betareceipt.xml.config.31 - Order Date
    • notification.betareceipt.xml.config.32 - SubTotal:
    • notification.betareceipt.xml.config.33 - Discount:
    • notification.betareceipt.xml.config.34 - Net SubTotal:
    • notification.betareceipt.xml.config.35 - SubTotal:
    • notification.betareceipt.xml.config.36 - Shipping:
    • notification.betareceipt.xml.config.37 - VAT:
    • notification.betareceipt.xml.config.38 - Tax:
    • notification.betareceipt.xml.config.39 - Total:
    • notification.betareceipt.xml.config.40 - Payments:
    • notification.betareceipt.xml.config.41 - Gift Card
    • notification.betareceipt.xml.config.42 - VAT
    • notification.betareceipt.xml.config.43 - Ext. VAT
    • notification.betareceipt.xml.config.44 - Free Shipping
    • notification.betareceipt.xml.config.45 - Quantity Discounts Allowed
    • notification.betareceipt.xml.config.46 - No Tax
    • notification.betareceipt.xml.config.47 - Coupons Allowed
    • notification.betareceipt.xml.config.48 - Apply to Extended Prices
    • notification.betareceipt.xml.config.49 - Coupon Percent
    • notification.betareceipt.xml.config.50 - Coupon Amount
    • notification.betareceipt.xml.config.51 - Level
    • notification.betareceipt.xml.config.52 - Customer Service Notes:
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  7. #7
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    I'll give that a try George and let you know how it goes, thanks again.

    I have another question (surprise surprise right lol) We are currently only excepting paypal however once the customer is taken to the paypal site to make the payment they are brought back to my site and give this error.

    Error: Invalid Customer ID or Invalid Order Number

    Thanks again guys I really appreciate all the help.

  8. #8
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Usually this is related to the customer making it back to the site before PayPal has returned the order confirmation to AspDotNetStorefront (the order is not created until we receive that notification from PayPal). You can alter this behavior by setting the appconfig parameter PayPal.UseInstantNotification to true and then make sure you follow the instructions in this knowledgebase article. That should fix you up
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  9. #9
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    Thanks again for all the help George I really appreciate it, I'm currently working on the string resources right now and will let you know how it goes.

  10. #10
    George the Great is offline Senior Member
    Join Date
    Nov 2006
    Location
    Cleveland, OH
    Posts
    1,792

    Default

    Sure thing! Happy Holidays
    <a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>

  11. #11
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    The string resources is complete and my receipts look good now.

    As far as the the paypal express we are using I have another question on that. Now when we get an email from paypal saying a purchase was made it says item# but no item# actually shows up. Is there an area I'm skipping that would make the SKU number show up in that area? or how would I go about doing that?

    Happy holidays and once again I appreciate everything.

  12. #12
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    Anyone have any info on my above post? Hoping this is my last issue and I should be good to go. Thanks

  13. #13
    AspDotNetStorefront Staff - Scott's Avatar
    AspDotNetStorefront Staff - Scott is offline Administrator
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    PayPal notifications won't have the order details, as we don't send that information to them. You'll just need to look up the order in the admin site.

  14. #14
    bills24 is offline Junior Member
    Join Date
    Jun 2008
    Posts
    9

    Default

    Thanks Scott I appreciate the help. Happy new year.