Download the PHP package insightbase/revolut-merchant-api-nette without Composer
On this page you can find all versions of the php package insightbase/revolut-merchant-api-nette. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download insightbase/revolut-merchant-api-nette
More information about insightbase/revolut-merchant-api-nette
Files in insightbase/revolut-merchant-api-nette
Package revolut-merchant-api-nette
Short Description Revolut Merchant API client for PHP / Nette
License MIT
Informations about the package revolut-merchant-api-nette
RevolutMerchantApi
PHP client pro Revolut Merchant API s podporou Nette DI a Tracy panelu.
Instalace
Pomocí Composeru:
Požadavky
Použití
Order payments:
Payment detail
Nette DI Extension
Tracy Panel
Automaticky zobrazí všechny požadavky v Tracy debug baru.
Webhook verification + auto-dispatch (Nette)
Tag handler service as revolut.webhookHandler, then call
RevolutMerchantApi\Nette\RevolutWebhookRouter::handleVerifiedRequest($httpRequest).
Webhook request logging
Register the logger as a service. The extension automatically uses any service
implementing WebhookLoggerInterface; otherwise it falls back to a no-op logger.
Logged statuses include verified, parsed_unverified, dispatched,
missing_configuration, missing_signature_headers, invalid_signature,
parse_failed, and dispatch_failed. Logger exceptions are swallowed so
logging does not change the webhook endpoint response behavior.
Sample endpoint presenter (200/400 flow)
File: examples/RevolutWebhookPresenter.php
Minimal route example:
Service tag example:
Controller service variant (outside presenter)
File: examples/RevolutWebhookController.php
Usage in API presenter:
More runnable examples