Transitioning a site currently using legacy PayPal buttons. If I set the buttons and cart to "Legacy Payment Button" the shopping cart's popup works as expected showing items placed in the cart and the total. When pressing the "PayPal" button on the pop-up the items are passed to PayPal and everything works as it should. The problem is when I change the cart to use the "PayPal Javascript SDK" and change the buttons to use the "Javascript SDK" all the "Add to Cart" buttons act as a "Buy Now" button and go directly to PayPal, not placing items in the cart. According to the Help file, I was led to believe the "Add to Cart" would work with SDK if used with the the Shopping Cart.
The Client ID is set up on PayPal for both the Sandbox and Live. I've tried using both ID's with the same results.However, PayPal's JavaScript SDK does not provide 'Add to cart' and 'View Cart' functionality. it only supports 'Buy Now'. Alternatively, you can use the PayPal Shopping Cart object which has also been updated to support the JavaScript SDK. Also, the subscription button needs to be setup in the PayPal account.
When using the 'JavaScript SDK', you will need to use the 'Client ID' instead of the PayPal email address. This can be set globally in Tools -> Options -> eCommerce
What am I missing?
