Skip to content

Commit b65b290

Browse files
authored
Merge pull request #16 from devinweb/feature/fix-#15
Fix condition in paymentStatus
2 parents ae1f272 + 46171a4 commit b65b290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Support/HttpResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public function paymentStatus()
102102
$this->updateTransaction('success', $response);
103103
}
104104

105-
if (Arr::has($response, 'body.message')) {
105+
if (Arr::has($response, 'message')) {
106106
$this->updateTransaction('cancel', $response);
107107
}
108108

0 commit comments

Comments
 (0)