Notification BeforeProceedOrderPayment when paying via API
Now the event BeforeProceedOrderPayment is generated not only when paying for an order through the UI but also when calling payment API methods such as PayOrder.
This allows plugins to perform necessary checks and actions before payment regardless of the method of initiation. For example, the AlcoholMarkingPlugin now correctly checks the volumes of strong alcohol when paying via API.