You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a bug in file Channel.php in public static function getCHK($inputParameters, $pin, array $subPayments = []) method which results in invalid chk value generated for request:
// Line 510 - 'URL' should be lowercase
(isset($inputParameters['URL']) ? $inputParameters['URL'] : null).
// Line 513 - 'URLC' should be lowercase
(isset($inputParameters['URLC']) ? $inputParameters['URLC'] : null).
Hey,
there is a bug in file
Channel.php
inpublic static function getCHK($inputParameters, $pin, array $subPayments = [])
method which results in invalidchk
value generated for request:where in official technical documentation those parameters are lowercase everywhere - https://www.dotpay.pl/developer/doc/api_payment/pl/index.html#ochrona-integralnosci-parametrow-przekierowania-chk
Or maybe it should be other way around and documentation should specify them as uppercase?
Either way it creates a divergence between those two.
The text was updated successfully, but these errors were encountered: