diff --git a/src/Message/DetailsResponse.php b/src/Message/DetailsResponse.php index 7383ecb..e7616a1 100644 --- a/src/Message/DetailsResponse.php +++ b/src/Message/DetailsResponse.php @@ -92,6 +92,6 @@ public function getPayer(): string { $method = $this->data->getPaymentMethod(); - return $method->getTitle(); + return $method->getTitle() ?: $method->getType() ?: ''; } }