There was an error while loading. Please reload this page.
1 parent edc0a3b commit 620fb49Copy full SHA for 620fb49
src/Message/PurchaseResponse.php
@@ -63,7 +63,7 @@ public function getTransactionReference(): string
63
*/
64
public function getMessage(): string
65
{
66
- return $this->data['ErrorMessage'] ?? $this->data['Message'] ?? null;
+ return $this->data['ErrorMessage'] ?? $this->data['Message'] ?? 'Something went wrong';
67
}
68
69
/**
0 commit comments