Goravel Myanmar Payments
Goravel integration for Myanmar payment gateways: KBZ Pay, Wave Pay, AYA Pay, Yoma MMQR and CyberSource. Built on Go Myanmar Payments. Facade and config, verified callbacks and test fakes.
go get github.com/laranex/goravel-myanmar-payments/v4Requirements
- Go 1.25+
- Goravel 1.18+
- Go Myanmar Payments v4 (installed automatically)
Why Goravel Myanmar Payments
Every Myanmar payment gateway signs, sends and acknowledges payments its own way, with its own rules for amounts. Goravel Myanmar Payments puts KBZ Pay, Wave Pay, AYA Pay, Yoma MMQR and CyberSource behind one facade. All gateway logic lives in Go Myanmar Payments; this package wires it into Goravel.
- One facade, every gateway.
paymentsfacades.MyanmarPayments()returns a manager withKbzPay(),WavePay(),AyaPay(),YomaMmqr()andCyberSource(), configured from environment variables. - One-command setup.
package:installregisters the service provider, writesconfig/myanmar_payments.goand adds the gateway variables to.env.example. - A typed result for each flow. Every payment returns a
RedirectPayment,FormPayment,QrPaymentorAppPayment, so you always know what to do next. See Payment Flows. - Exact amounts.
myanmarpayments.Amountvalues, never floats, checked against each gateway's documented rules before any request is sent. - Verified callbacks.
HandleCallbackchecks the gateway's signature against the exact body it sent and maps its status onto onePaymentStatus;payments.Acknowledgereturns the response the gateway expects. - Goravel all the way down. Gateway calls go through Goravel's HTTP client, Yoma MMQR tokens are shared through your cache store, and AYA Pay and CyberSource checkout forms open from an encrypted link.
- Easy to test. Goravel's HTTP client fakes see every gateway call, and signed callbacks can be posted to your own routes. See Testing.
- Your webhooks, your storage. The package never stores webhooks; the docs show the recommended store, acknowledge and process-once flow as sample code. See Handling Webhooks.
- Ready for AI agents. An agent skill, installed with
npx skills add, teaches coding agents to use the package correctly.