We have a problem with pending orders, if a user create more than one order for the same product, and pay just for one of them the course is not automatically activated. Sometimes happens that a user create an order with offline payment and then he creates a new one and pay it with paypal, most of the time the course is still locked and we have to delete the pending order and then change status to pending and then confirm again the order he made via PayPal to unlock the course.
How this can be solved?
Can a user delete by himself a pending order?