The default payment provider just redirects to the url specified in the continue url. If you use Tea Commerce 2.0 the continue url should not contain the domain of the website.
Aah ok. Any reason your'e not starting up a Tea Commerce 2 website instead? It's so much better :)
Are you going to payment using the JavaScript? What version of jQuery do you run? Is the TypeError a JavaScript error? Try typing TeaCommerce.goToPayment() in the JavaScript console and see if that's working
And yes. There's not much docs for 2.0 yet. We're working on that. Most people download the Starter Kit and take what they need from that. It contains everything you need. Most people actually build their website using the Starter Kit.
I don't use starter kit because I already have site and add Tea Commerce to it as package. Now I'm just practicing on empty page before I add TC to website.
Error going to payment
Hello,
I was trying to copy basic site from http://anders.burla.dk/umbraco/i-installed-tea-commerce-whats-next
When i try confirm order, nothing happens. I’ve done everything like in this tutorial. In error console i get “TypeError: c is null”. I searched for this issue, but i found only this:
http://our.umbraco.org/projects/website-utilities/tea-commerce/tea-commerce-support/25693-SagePay-integration?p=2
but there’s nothing useful for default Tea Commerce payment provider. Could you help please?
Thanks,
Marius
Hi Marius,
Are you using Tea Commerce 1 or 2?
The default payment provider just redirects to the url specified in the continue url. If you use Tea Commerce 2.0 the continue url should not contain the domain of the website.
/Rune
I'm using Tea Commerce 1.4.4.4 and Umbraco v6.0.3
Marius
Aah ok. Any reason your'e not starting up a Tea Commerce 2 website instead? It's so much better :)
Are you going to payment using the JavaScript?
What version of jQuery do you run?
Is the TypeError a JavaScript error?
Try typing TeaCommerce.goToPayment() in the JavaScript console and see if that's working
/Rune
I have started Tea Commerce 1 because I couldn't find tutorial for Tea Commerce 2 nor find API documentation.
Yes, I'm going to payment using Javascript. I run jQuery 1.5
TypeError is JavaScript error. After typing TeaCommerce.goToPayment() in Firebug I get:
http://i50.tinypic.com/103iwar.png
Marius
What response does the goToPayment give you?
And yes. There's not much docs for 2.0 yet. We're working on that. Most people download the Starter Kit and take what they need from that. It contains everything you need. Most people actually build their website using the Starter Kit.
/Rune
No reponse tab:
http://i46.tinypic.com/14bn8ft.png
I don't use starter kit because I already have site and add Tea Commerce to it as package. Now I'm just practicing on empty page before I add TC to website.
Marius
Does the order have a payment method?
Call TeaCommerce.getOrder() and check the response.
The default payment method should be set on the countries.
/Rune
That was the issue! I did not set payment method. Now I get continue page. Thanks for help.
Marius
No problem. Glad I could help. Please mark the correct answer for others to find it more easy.
Have a nice weekend
/Rune
is working on a reply...