Now you can easily print a sales order after paying it by following these steps:
Open the Settings then the Print Setup page.
In the Sales section, select the Sales Order document and then select the desired print template.
Click on More actions then select Edit.
In the template configuration section, activate the setting Print on pay then click Save. Make sure to select the users for whom this is available.
When a user with this permission enters the payment page and pays any document associated with a single sales order, the order will be printed immediately.