I'm trying to test a apiKey Authentication with Gestpay using this library (useful btw).
In sandbox mode I didn't have any problem.
In production mode, the gestpay console gives me an base64 string as apikey (it's ends with two =) and the library doesn't works because = it's considered ad invalid character.
Exception InvalidArgumentException: "String thisIsMyApiKeyAsABase64String== contains invalid chars (i.e.: "=", "=")." at endelwar/gestpayws/src/Parameter/EncryptParameter.php line 184.
I'm trying to test a apiKey Authentication with Gestpay using this library (useful btw).
In sandbox mode I didn't have any problem.
In production mode, the gestpay console gives me an base64 string as apikey (it's ends with two
=) and the library doesn't works because=it's considered ad invalid character.