Cryptomus-Paymenter
Cryptomus Paymenter Extension
This is an extension for Paymenter v1, allowing merchants to integrate Cryptomus as a payment gateway.
It enables customers to pay using cryptocurrencies and automates payment status updates.
Sign up here if you don’t have a Cryptomus account:
https://app.cryptomus.com/signup/?ref=74l2Z8For Cryptomus Merchant setup/Commission reduction/KYC issues, contact Telegram :
https://t.me/MichaelT_Cryptomus or Email : [email]
[email protected][/email]
⸻
Features
• Secure payment processing via Cryptomus
• Automatic payment status updates via webhooks
• Supports multiple cryptocurrencies
• Signature verification for security
• Compatible with Paymenter v1
⸻
Installation
1. Extract zip file
2. Place it in /var/www/paymenter/extensions/Gateways/ and configure the extension
• Enable the Cryptomus payment gateway
• Enter your API Key and Merchant ID from your Cryptomus account
• Set the currency (e.g., IDR, EUR, GBP, default: USD)
3. Set up Webhook
• Default webhook URL:
https://yourdomain.com/extensions/gateways/cryptomus/webhook • (Optional) Whitelist Cryptomus IP: 91.227.144.54
⸻
Configuration Options
• api_key: Your Cryptomus API Key (required)
• merchant_id: Your Merchant ID from Cryptomus (required)
• currency: Default currency (e.g., IDR, EUR, GBP; default is USD)
⸻
Webhook Handling
Cryptomus sends webhook notifications when payment status changes. This extension:
• Verifies webhook signatures using:
md5(base64_encode(json_encode($data, JSON_UNESCAPED_UNICODE)) . $api_key)
• Processes payment statuses:
• paid → Marks invoice as paid
• cancel, failed, expired → Logs error, does not complete payment
⸻
Troubleshooting
• Webhook signature mismatch?
Make sure your API key is correct
Ensure Cryptomus sends correctly escaped JSON data
• Payment not marked as complete?
Check Paymenter logs:
storage/logs/laravel.log
Also verify webhook requests in Cryptomus:
Business → Payments → Webhook logs
• Still having issues?
Open a GitHub issue or join the Paymenter Discord community
⸻
License
This project is licensed under the MIT License.
Author
Developed by 0xricoard