Skip to content

Commit e4721f7

Browse files
committed
fix: payment notification
1 parent 40f6cf5 commit e4721f7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/vendor
1+
/vendor
2+
.idea

src/Core/Pix/Pix.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function notification(string $notificationId, string $transactionId)
7575
]
7676
)['status_request'];
7777

78-
if ($paymentNotification['pix_create_request']['result'] === 'reject') {
78+
if ($paymentNotification['result'] === 'reject') {
7979
throw new PagHiperException($paymentNotification['response_message'], 400);
8080
}
8181

0 commit comments

Comments
 (0)