What OP did was bypass Shopify entirely for the checkout part of the process, thereby taking away Shopify's revenue for OP's customers. That's not software freedom, that's theft.
Any two businesses are welcome to transact with each other, as long as they're not using resources that belong to a third party who doesn't want to be involved in the transaction.