Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • phil 58 posts 78 karma points
    Apr 05, 2012 @ 12:25
    phil
    0

    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

    <form action="/Basket/Payment" method="post">
           <input id="acceptOrderSubmit" type="submit" value="Payment"/>
        </form

    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

  • phil 58 posts 78 karma points
    Apr 05, 2012 @ 12:53
    phil
    0

    Solved the problem I didn't have the productCode and productTitle in my general settings orderline property aliases   

Please Sign in or register to post replies

Write your reply to:

Draft