macopedia/orotpay
macopedia/orotpay is a Laravel integration for the OROT Pay payment gateway. It provides a straightforward way to configure the gateway, initiate payments, handle responses, and process payment notifications in PHP applications, reducing boilerplate for developers.
Start with the package README and published config; for macopedia/orotpay v1.0.3 the first steps are:
composer require macopedia/orotpay
php artisan vendor:publish --tag=orotpay-config
.env, typically merchant/client ID, secret/key, and sandbox/live mode. Keep secrets out of source control.php artisan config:clear
v1.0.3 is a small patch release: it stops sending the customer IP in dev mode. No migration or API-breaking change is indicated, but local tests or debugging flows that expected the IP to be forwarded should be adjusted.
CreateOrotpayPayment, rather than calling package classes directly from controllers. This keeps gateway-specific details isolated and makes future upgrades easier.PaymentSucceeded, PaymentFailed, so order and notification logic stays decoupled.Http::fake() or the package’s fake/client abstraction if provided. Assert that your app validates signatures, handles duplicate callbacks, and does not mark orders paid from an unverified redirect.php artisan config:clear after changing .env; Laravel’s config cache can otherwise keep old gateway mode or credentials.^1.0 and review patch notes. This release is a patch, so no special upgrade procedure is expected beyond normal regression testing of local payment flows.How can I help you explore Laravel packages today?