Skip to main content

How to send a test receipt

The extension includes a command-line tool for sending a test receipt email. Use it to check that your sender, template, and mail delivery are working without placing a real order.

Run the following command from the root directory of your Magento 2 store:

php -f bin/magento withdrawal:email:test-receipt

The command sends a sample customer receipt using your current email settings. Check the inbox of the recipient to confirm the message arrives and looks the way you expect.

Note

If the email does not arrive, check your Magento email delivery setup and the Email Sender value under Stores → Configuration → Mirasvit → EU Withdrawal Button → Email.