Hello guys,
Why are you using the singleton pattern when initializing helpers\AppSetting ?
I'm using Checkout in the same project with multiples MID (so different keys) and because of the singleton it's not working properly.
The lib stores and uses the last configuration so you can't load 2 different classes with Checkout initialized inside, because the keys will be shared.
Thank you.
Best,
Benjamin.
Hello guys,
Why are you using the singleton pattern when initializing helpers\AppSetting ?
I'm using Checkout in the same project with multiples MID (so different keys) and because of the singleton it's not working properly.
The lib stores and uses the last configuration so you can't load 2 different classes with Checkout initialized inside, because the keys will be shared.
Thank you.
Best,
Benjamin.