I had a few instances where the developerMode flag wasn't always being parsed correctly because it was an environment variable.
This PR adds a utility method to parse the developerMode flag as a boolean value in the Gateway class.
If this is accepted, would it be possible to apply this change to the Commerce 4 version of the plugin? The site we're using the plugin on is a Commerce 4 site still.
I had a few instances where the developerMode flag wasn't always being parsed correctly because it was an environment variable.
This PR adds a utility method to parse the developerMode flag as a boolean value in the Gateway class.
If this is accepted, would it be possible to apply this change to the Commerce 4 version of the plugin? The site we're using the plugin on is a Commerce 4 site still.