Display PayPal exception issues (WIP)

This commit is contained in:
dinamiko 2022-01-28 17:40:44 +01:00
parent 74490c40c9
commit f454c60292
2 changed files with 10 additions and 0 deletions

View file

@ -110,4 +110,8 @@ class PayPalApiException extends RuntimeException {
}
return false;
}
public function issues(): array {
return $this->response->issues ?? array();
}
}