BeforeOrderBill and repeated bill
In API version V7Preview7, notification about the order pre-check operation
BeforeOrderBill
will be generated when you check again.
If you need to leave the old behavior and ignore repeated bills, then if the plugin is translated to the specified or newer version of the API, you will need to filter orders by status in the notification handler:
PluginContext.Notifications.BeforeOrderBill.Subscribe(x =>
{
if (x.order.Status != OrderStatus.New)
return;
// Processing the original bill
});