-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Description
Steps to reproduce the behavior
Expected behavior
webhook not created or edited
Actual behavior
webhook not created or edited
Code snippets
$webhookID='webhookid';
$accountID='account id';
$webHookProcessUrl='http://workingapp.com/index.php/razorpay/status/846db8b2598bd3db9f3285db17711e26';
$webhookSupportedEvents=array('payment.captured','order.paid','payment_link.paid');
$webHookSecretPost='07e7caf67b4142f44b09c7cc4fd9386f';
Create Webhook
=================
$api->account->fetch($accountID)->webhooks()->create(array(
"url" => $webHookProcessUrl,
"secret" => $webHookSecretPost,
"events" => $webhookSupportedEvents
));
For edit Webhook code
================
$api->account->fetch($transferAccountID)->webhooks()->edit($webhookID, array("url" => $webHookProcessUrl,"events" => $webhookSupportedEvents));Php version
8.2
Library version
2.9.0
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
