Open ctgraham opened 3 years ago
https://github.com/ulsdevteam/alma-payment-microservice/blob/ff69d9e4707bdf9ef12ab8a65fa7388f78c19df7/receipt.php#L25-L63
Check for success of json_decode and throw exception if not an object/array.
json_decode
Throw an exception on the default case of the switch.
default
https://github.com/ulsdevteam/alma-payment-microservice/blob/ff69d9e4707bdf9ef12ab8a65fa7388f78c19df7/receipt.php#L25-L63
Check for success of
json_decode
and throw exception if not an object/array.Throw an exception on the
default
case of the switch.