Delete Unpaid Orders

When a customer creates an order in the Sana webstore and clicks Pay, the sales order will be created in the ERP system and the customer will be redirected to the payment provider page to enter payment details, such as the credit card number, and to finalize the payment. At this moment, the payment status is New, until the payment is finalized.

If a customer does not finalize the payment on the payment page and closes the Web browser or tab, the sales order will remain in the ERP system with the payment status New. Keeping unpaid orders in Microsoft Dynamics NAV leads to stock reservation and accumulation of unnecessary data. Therefore, you can delete unpaid orders to release the reserved stock and remove the unnecessary data.