Laravel 5 GlobalPay Integration

Job ID: 40136388

Budget: $10 – $30 USD

I have a Laravel 5 application running on PHP 7 that now needs to accept payments through GlobalPay’s REST API. The goal is straightforward: wire the app to GlobalPay so we can create charges, handle refunds, and listen for web-hooks to keep transaction status in sync.

You will craft clean, PSR-12–compliant service classes that wrap every required GlobalPay endpoint, add the corresponding controllers and routes, and make sure all keys live in .env. Responses must be JSON so our mobile front-end can consume them easily.

Deliverables
• Service class(es) for auth, charge, refund, and status queries
• Controller methods and routes calling those services
• Web-hook endpoint with signature validation and DB update logic
• .env key mapping plus concise README for sandbox and live switching
• PHPUnit test proving a successful and a failed transaction flow

Acceptance criteria
– A full sandbox payment runs end-to-end without errors
– No credentials are hard-coded
– Code follows Laravel conventions and passes the included tests

If you have prior Laravel payment-gateway work—especially REST integrations—please point me to a short sample or GitHub repo so I can assess fit quickly.