Closed aso824 closed 5 years ago
This commit fixes error Trying to get property of non-object when incoming HTTP request doesn't have signature header - which results in null return from parseSignature code and PHP error. Correct behavior for this situation is exception.
Trying to get property of non-object
null
parseSignature
https://github.com/PayU/openpayu_php/commit/2b7c89e216457b8a07d4c835ba288cfe33a73c2e
Check keys exists and add tests.
This commit fixes error
Trying to get property of non-object
when incoming HTTP request doesn't have signature header - which results innull
return fromparseSignature
code and PHP error. Correct behavior for this situation is exception.