Midtrans Payment Gateway for PaymenterAccept payments via
Midtrans SnapAPI. Indonesia's leading payment aggregator. Supports credit/debit cards, bank transfers (BCA, BNI, BRI, Mandiri, Permata), e-wallets (GoPay, OVO, ShopeePay, DANA, LinkAja), QRIS, Indomaret, Alfamart, and more! All through a single, beautiful popup modal.
Features
- Snap Popup Modal: Native Midtrans checkout popup. No redirect, no page reload. Customers pay without leaving your site.
- All Payment Methods: Cards, virtual accounts, e-wallets, QRIS, convenience stores. Whatever Midtrans supports, this gateway supports.
- Secure Webhook Handling: SHA-512 signature validation on every notification. Payments are recorded only after cryptographic verification.
- IDR Currency Conversion: Set a custom exchange rate (e.g., 1 USD = 16000 IDR).
- Surcharge Support: Optionally pass the gateway fee to customers. Choose between a fixed IDR amount or a percentage of the invoice total.
- Payment Expiry Control: Set how long a payment session stays valid before expiring (in minutes).
- Sandbox & Production Modes; Switch between environments without touching code.
- Debug Mode: Log all Snap API requests and responses for easy troubleshooting.
- Works perfectly with LucentUI!
<span style="font-size:1.1em">Requirements</span>
- Paymenter v1.4.0 or newer
- PHP 8.2+
- A <a href="https://dashboard.midtrans.com" target="_blank" class="text-[var(--vp-c-brand-1)] hover:underline">Midtrans account</a>
Supported Payment MethodsAll Midtrans-enabled methods are available automatically based on your Midtrans account configuration:
- Credit / Debit Card (Visa, Mastercard, JCB, Amex)
- Bank Transfer: BCA, BNI, BRI, Mandiri, Permata
- E-wallets: GoPay, OVO, ShopeePay, DANA, LinkAja
- QRIS (scan any e-wallet)
- Convenience Store such as: Indomaret, Alfamart
How It WorksWhen a customer clicks
Pay with Midtrans on an invoice:
1. Paymenter calls the Midtrans Snap API to create a payment session
2. A secure popup opens -> the customer selects their preferred payment method
3. Upon completion, Midtrans sends a signed webhook to your server
4. The signature is validated and the invoice is automatically marked as paid
5. The customer is redirected back to their invoice page
<span style="font-size:1.1em">Why This, Not Others?</span>Yes, there are other Midtrans extensions for Paymenter, a free one and a paid one. Both work. So why pick this?
This extension is built for operators who actually run Indonesian hosting businesses:
- Surcharge pass-through
- IDR conversion
- Webhook signature validation: SHA-512, timing-safe. Payments only recorded after cryptographic verification.
- Full setup guide included
If you want Snap popup done properly with the operational features that actually matter, this is it.
SupportFor issues or questions, open a conversation on this listing or contact us on Discord.
Include your Paymenter version, PHP version, and relevant log entries (enable Debug Mode first).