Is there a way to programmatically differentiate between environments?
Is there a way to programmatically differentiate between SDK environments?
Hello all,
I currently have two versions of a Q2 SDK extension, one pointing to our FI's Q2 test environment and one pointing to our production environment. This is because each extension contains an API call with a different endpoint using a different cert depending on environment.
Is there a way to tell at runtime which environment the user is in, so that I can combine these two extensions into one using an envrionmental conditional?
Thanks!
Brian C.
Hello all,
I currently have two versions of a Q2 SDK extension, one pointing to our FI's Q2 test environment and one pointing to our production environment. This is because each extension contains an API call with a different endpoint using a different cert depending on environment.
Is there a way to tell at runtime which environment the user is in, so that I can combine these two extensions into one using an envrionmental conditional?
Thanks!
Brian C.
#question
#python
#environments
#q2-sdk
Is there a way to programmatically differentiate between SDK environments?
Hello all,
I currently have two versions of a Q2 SDK extension, one pointing to our FI's Q2 test environment and one pointing to our production environment. This is because each extension contains an API call with a different endpoint using a different cert depending on environment.
Is there a way to tell at runtime which environment the user is in, so that I can combine these two extensions into one using an envrionmental conditional?
Thanks!
Brian C.