The following code is from the above Youtube tutorial video. You can copy and paste it into your order confirmation email.
Directly under this line -
Here is the code to copy and paste:
To see the result, you will need to make a test order.
You can either deactivate Shopify Payments and activate the Bogus Payments gateway for a short amount of time, or you can make a real order on a product that costs $0.