I am trying to use paypal as my payment provider with the tea commerce cart but when i click payment to go to the paypal page after agreeing to to the the order I get taken to a paypal page but get the error Your shopping cart is empty even tho there is items in by tea commerce cart.
I have the following settings in the tea commerce section
Paypal account email - the email from my paypal sandbox account
Language - UK
Continue URL - /Basket/Confirmation
Cancel URL - /Basket
Payment action - sale
API username - the username from my paypal sandbox account
API password - the password from my paypal sandbox account
API signature - the signature from my paypal sandbox account
Testing - 1
Product number property alias - productCode
Productname property alias - productTitle
Shipping method format string - shipping fee ({0})
payment method format string Payment fee ({0})
On my accept order form I call the paypal method with
jQuery('#acceptOrderSubmit').live("click", function () { //We check if the terms has been acceptet var jQEle = jQuery('#acceptTermsCheck'); if (!jQEle.is(':checked')) { alert(jQEle.attr('alt')); } else { TeaCommerce.goToPayment(); } return false; });
What have i missed do I need to pass more data to paypal
paypal your shopping cart is empty
I am trying to use paypal as my payment provider with the tea commerce cart but when i click payment to go to the paypal page after agreeing to to the the order I get taken to a paypal page but get the error Your shopping cart is empty even tho there is items in by tea commerce cart.
I have the following settings in the tea commerce section
Paypal account email - the email from my paypal sandbox account
Language - UK
Continue URL - /Basket/Confirmation
Cancel URL - /Basket
Payment action - sale
API username - the username from my paypal sandbox account
API password - the password from my paypal sandbox account
API signature - the signature from my paypal sandbox account
Testing - 1
Product number property alias - productCode
Productname property alias - productTitle
Shipping method format string - shipping fee ({0})
payment method format string Payment fee ({0})
On my accept order form I call the paypal method with
my jquery method is
jQuery('#acceptOrderSubmit').live("click", function () {
//We check if the terms has been acceptet
var jQEle = jQuery('#acceptTermsCheck');
if (!jQEle.is(':checked')) {
alert(jQEle.attr('alt'));
} else {
TeaCommerce.goToPayment();
}
return false;
});
What have i missed do I need to pass more data to paypal
Solved the problem I didn't have the productCode and productTitle in my general settings orderline property aliases
is working on a reply...