I vaguely remember hearing about this issue at some point, but I don't remember the details. In any case, when a user has regular products in their cart, and then clicks on a Paypal subscription link, then their cart is emptied. How can I prevent this?
Comments
Comment #1
mrtoner commentedLooked at the code and there doesn't appear to be a way around this. (Well, without re-writing the code.) UC PayPal Buttons uses a UC cart for creating the order, using this process:
1. Empty any existing cart
2. Add the purchased item to the cart
3. Create the order
4. Put the cart into the order
5. Save the order
6. Empty the cart
Two additional steps could solve this issue:
0. Save any existing cart
...
7. Restore any existing cart
Of course, the coding would be a little more complex than that, but we can at least mark this as a feature request.