Open kirankumarmitnas opened 6 months ago
webhook not created or edited
$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));
8.2
2.9.0
No response
@kirankumarmitnas where did you find the webhook create api ? documentation can you please mention the link
Steps to reproduce the behavior
Expected behavior
webhook not created or edited
Actual behavior
webhook not created or edited
Code snippets
Php version
8.2
Library version
2.9.0
Additional Information
No response