Mamo Pay Adapter
amerta / Mamo Pay Payment Adapter / MamoPayAdapter
Variable: MamoPayAdapter
constMamoPayAdapter:PaymentAdapter
Defined in: amerta/payload/payments/gateway/mamo.ts:65
Mamo Pay Payment Adapter
Remarks
This adapter implements the PaymentAdapter interface to handle Mamo Pay payment processing. It supports both live and sandbox environments with automatic webhook setup.
Features
- Support for both Live and Sandbox (Test) modes
- Automatic webhook creation and management
- Multi-currency support with exchange rate conversion
- Duplicate transaction detection
- Secure payment verification via API callback
- Dynamic payment link generation
Configuration
- slug: "mamo-pay"
- label: "Mamo Pay"
- Settings: API keys for both live and test modes, webhook ID storage
API Integration
- Creates payment links via Mamo API
- Handles webhooks for charge completion
- Verifies transactions server-side before confirming payment
- Supports custom actions like dynamic payment link creation