We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 172c750 commit c6c8e21Copy full SHA for c6c8e21
README.md
@@ -395,8 +395,7 @@ $signature = $_SERVER['HTTP_MONEI_SIGNATURE'] ?? '';
395
396
try {
397
// Verify the signature
398
- $payload = $monei->verifySignature($rawBody, $signature);
399
- $payment = $payload->data;
+ $payment = $monei->verifySignature($rawBody, $signature);
400
401
// Update your order status based on the payment status
402
if ($payment->status === PaymentStatus::SUCCEEDED) {
0 commit comments