Skip to content

Commit ba92e04

Browse files
update version number
1 parent ee59e25 commit ba92e04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MeprPaystackGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ public function webhook_listener()
13171317
$this->email_status("Webhook Just Came In (" . $_SERVER['REQUEST_METHOD'] . "):\n" . MeprUtils::object_to_string($_REQUEST, true) . "\n", $this->settings->debug);
13181318
// retrieve the request's body
13191319
$request = @file_get_contents('php://input');
1320-
if ($this->paystack_api->validate_webhook($request) == true || true) {
1320+
if ($this->paystack_api->validate_webhook($request) == true) {
13211321
// parse it as JSON
13221322
$request = (object)json_decode($request, true);
13231323
$obj = $request->data;

0 commit comments

Comments
 (0)