BUT... this code doesn't work when on a cancellation (or successful transaction) page, that is landed upon from PayPal. The cart doesn't empty. Tried appending "?cancel" at the end of the "cancel_return" value, and "?success" at the end of the return URL value. Don't understand why it won't fire when coming from another domain, no matter where on the page, or how it is called (even tried Jquery getScript)...nothing else is appended to the URL either...
The following code works when typing in the URL manually to the page with the render/reset:
paypal.minicart.render(); paypal.minicart.reset();
BUT... this code doesn't work when on a cancellation (or successful transaction) page, that is landed upon from PayPal. The cart doesn't empty. Tried appending "?cancel" at the end of the "cancel_return" value, and "?success" at the end of the return URL value. Don't understand why it won't fire when coming from another domain, no matter where on the page, or how it is called (even tried Jquery getScript)...nothing else is appended to the URL either...