Obviously I don't expect someone to try and spend the time to recreate this error but I was wondering if someone knows what the object rtnData should be populated with or returning without me having to try to break down the script.
What do you try and do when this error appears? I know that you try to confirm the order - but from a more technical point of view - what method do you execute etc?
which are in the custom TeaCommerce scripting files I 'think' that the values of the form are being attempted to get loaded into the rtnData variable but, for whatever reason, this isn't happening.
Well I think that the old blog post is a little to old to use for the latest version of Tea Commerce. The best way is to look at the starter kit to see how things are done. We will make more documentation for Tea Commerce 2.0. I think it is the goToPayment method that gives you problems. Try and remove it and see if the site functions and no javascript error is thrown. If that works - then we know it is the goToPayment method. If it is - be sure to add the default settings and enter your accept url and cancel url.
I did actually start by installing the starter kit package, but removed that and decided to remove that and try to build one from stratch (mainly due to getting confused with the amount of scripting hookups that occur).
I only really need a really simple shop (No shipping details, etc) and I keep flitting between tea commerce and uCommerce and can't decide which to go for!
Sorry about my lack of response.......I'm going to need to re-set up this Tea Commerce package as we only have a limited number of SQL connections that I can use and had to use this connection for another internal project. Leave this with me and I'll get to you.
Setting up Tea Commerce
Hi Folks,
I've installed Tea Commerce and I'm trying to follow the set up documentation at http://anders.burla.dk/umbraco/i-installed-tea-commerce-whats-next/ and I'm getting the following error when I try to Confirm the order.
Error: TypeError: rtnData is nullSource
File:http://localhost:34406/scripts/TeaCommerce/teaCommerce_unpacked.js
Line: 727
Obviously I don't expect someone to try and spend the time to recreate this error but I was wondering if someone knows what the object rtnData should be populated with or returning without me having to try to break down the script.
Thanks,
Craig
Hi Craig
What do you try and do when this error appears? I know that you try to confirm the order - but from a more technical point of view - what method do you execute etc?
Kind regards
Anders
Hi Anders,
The method is the 'Confirm order of the cart' which I've put in the default.js file. It's hooking in to the click event of the Confirm Order link. eg
jQuery('a#confirmOrder').live("click", function ()
Which loads the values of the input fields into formObj and calls the following functions:
which are in the custom TeaCommerce scripting files I 'think' that the values of the form are being attempted to get loaded into the rtnData variable but, for whatever reason, this isn't happening.
Thanks for your help,
Craig
What browser do you test it in? Safari?
Hi again Anders,
I ran it in Safari, Opera, IE9, Firefox and Chrome. All with the same result.
Thanks,
Craig
Well I think that the old blog post is a little to old to use for the latest version of Tea Commerce. The best way is to look at the starter kit to see how things are done. We will make more documentation for Tea Commerce 2.0. I think it is the goToPayment method that gives you problems. Try and remove it and see if the site functions and no javascript error is thrown. If that works - then we know it is the goToPayment method. If it is - be sure to add the default settings and enter your accept url and cancel url.
Hi again Anders,
I did actually start by installing the starter kit package, but removed that and decided to remove that and try to build one from stratch (mainly due to getting confused with the amount of scripting hookups that occur).
I only really need a really simple shop (No shipping details, etc) and I keep flitting between tea commerce and uCommerce and can't decide which to go for!
Thanks,
Craig
You should go with Tea Commerce of course :)
Did you try and remove the goToPayment and see if that removes the javascript error?
Hi Anders,
Sorry about my lack of response.......I'm going to need to re-set up this Tea Commerce package as we only have a limited number of SQL connections that I can use and had to use this connection for another internal project. Leave this with me and I'll get to you.
Thanks again,
Craig
No problem - have a great day!
is working on a reply...