How do I do a test order and payment?

This is dependent upon your eCommerce and Payment provider. Most providers have a testing mode or testing cards. In Shopify you can use a test mode as below.

https://help.shopify.com/manual/payments/shopify-payments/testing-shopify-payments