Version 5.0.14
This commit is contained in:
1 parent
5efe744c5f
commit
dbd774b30c
364 files changed
+7048
-1377
No files matched your search
@@ -57,7 +57,7 @@ class Exception extends DomainException
|
||||
Log::debug( (string) $response, 'paypal' );
|
||||
|
||||
$details = $response->decodeJson();
|
||||
$this->name = $details['name'];
|
||||
$this->name = $details['name'] ?? ( $details[0]['issue'] ?? '' );
|
||||
if ( isset( $details['details'] ) )
|
||||
{
|
||||
$this->details = $details['details'];
|
||||
|
||||
Reference in new issue
Block a user