Midtrans Modules Integrations For Paymenter
- PHP 83.4%
- Blade 16.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Error :
[2026-04-07 12:45:50] production.ERROR: Midtrans payment request failed. {"response":{"error_messages":["item_details Name is too long","transaction_details.gross_amount is not equal to the sum of item_details"]}}
[2026-04-07 12:48:24] production.ERROR: Midtrans payment request failed. {"response":{"error_messages":["item_details Name is too long","transaction_details.gross_amount is not equal to the sum of item_details"]}}
|
||
| Photos | ||
| resources/views | ||
| routes | ||
| .gitattributes | ||
| LICENSE | ||
| Midtrans.php | ||
| README.md | ||
Installation
- Manual: Download the code and place it in the
app/Extensions/Gateways/Midtransdirectory. - Automatic:
git clone https://github.com/NekoMonci12/Paymenter-Midtrans /var/www/paymenter/extensions/Gateways/Midtrans
Configuration
In the admin panel, go to Settings > Payment Gateways and click on the Midtrans gateway. Enter Midtrans MerchantID/Server-Key/Client-Key then Save.
Usage
When a user selects the Midtrans gateway, they will be redirected to the Midtrans payment page. After the payment is completed, the user will be redirected back to the site.
Setup Callback On Midtrans
- Settings > SNAP Preferences > System Settings
Finish URL = https://yourdomain.com
Unfinish URL = https://yourdomain.com
Error Payment URL = https://yourdomain.com
- Settings > Payment > Finish Redirect URL
Finish Redirect URL = https://yourdomain.com
- Settings > Payment > Notification URL
Notification URL = https://yourdomain.com/extensions/midtrans/webhook
Recurring payment notification URL = https://yourdomain.com
Account linking notification URL = https://yourdomain.com