Skip to content

Bugfix - Correct test_mode method to return TEST_ORDER_MODE boolean correctly

Choose a tag to compare

@RichardWatkins1 RichardWatkins1 released this 05 Feb 15:39
· 66 commits to master since this release
49feac5

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