Bugfix - Correct test_mode method to return TEST_ORDER_MODE boolean correctly
·
66 commits
to master
since this release
Updated the test mode method so it correctly returns if it should be a test order or not depending on the environment.
def test_mode
FlexCommerceApi.config.order_test_mode == true
end