If you create an order id, and then create a button adding the order is like this:
paypal.buttons({
createOrder: function(data, actions) {
return orderId;
},
.
.
}).render('#my-paypal-container');
Then create a second order id, passing an object with a different createOrder method that returns a different order ID. Will the customer be charged for two orders or just the second one?
If the customer is charged for both orders, how do I clean up the first button/order before initiating the second one?