post('/stripe',[AppfactoryStudio\Plugins\Payments::class, 'webhook_stripe']); $router->post('/paypal',[AppfactoryStudio\Plugins\Payments::class, 'webhook_paypal']); // https://api.appfactory.studio/v1/webhooks/stripe // https://api-sandbox.appfactory.studio/v1/webhooks/stripe echo $router->UrlResolve("/v1/webhooks", $_SERVER['REQUEST_URI'], strtolower($_SERVER['REQUEST_METHOD']));