Guy Fawkes Posted July 3 Posted July 3 View File PayMoney.online — Payment Gateway for MagicAI (Subscriptions + Token Packs) VISA/MASTERCARD Native PayMoney.online - Secure Payments & Advanced Merchant Gateway payment gateway for MagicAI (the Laravel-based AI SaaS platform). Customers pay for subscription plans and prepaid token packs through PayMoney.online - Secure Payments & Advanced Merchant Gateway hosted checkout with HMAC-signed requests and verified IPN callbacks. The gateway appears in Admin → Finance → Payment Gateways alongside Stripe, PayPal and the other built-in providers. PayMoney.online — Payment Gateway for MagicAI (Subscriptions + Token Packs) An add-on payment module that integrates PayMoney.online into the MagicAI script as a native payment gateway — right alongside Stripe, PayPal, YooKassa, Coingate and the other built-in providers. The PayMoney card shows up directly in the admin panel under Finance → Payment Gateways, is configured in a couple of clicks, and instantly becomes available to users at checkout. The module is built on MagicAI's own architecture (the same service interface used by the stock gateways), so it behaves like a first-party provider and survives core updates cleanly. Features Subscriptions & token packs — both MagicAI purchase types are supported. Hosted checkout — customers pay on the secure PayMoney.online page; all active methods for the plan currency are shown automatically (YooMoney for RUB, Stripe/PayPal for EUR/USD, crypto when enabled). Automatic fulfilment — the plan and credits are granted the moment payment is confirmed via a server-to-server IPN webhook, even if the customer closes the tab. Sandbox & Production — switch mode and use separate credential sets right in the gateway settings. HMAC-SHA256 signing — every API request and every incoming IPN is verified with a cryptographic signature. Double payment check — after the IPN, the module additionally confirms the status via verify-payment (protection against spoofed notifications). Idempotent — repeated IPNs never double-credit an order. Coupons & taxes — handled the same way as the other MagicAI gateways. Correct subscription handling — fixed the automatic subscription cancellation on dashboard load (the gateway is added to the exclusion list, like razorpay/yokassa). Requirements MagicAI 10.x (Laravel 10) PHP 8.1+ (8.2+ recommended) SSL certificate (required) PayMoney.online merchant account PHP extensions: cURL, OpenSSL What's in the archive The PayMoneyService gateway class Checkout views (subscription and token pack) Gateway logo + registration in the payment-methods list An INSTALL.md with a step-by-step guide and field mapping Installation (short) Upload the module files into the MagicAI root, preserving the folder structure. Run composer dump-autoload -o and php artisan optimize:clear. Reset the php-fpm OpCache (reload php-fpm or run opcache_reset()); for Octane also run php artisan octane:reload. Open Admin → Finance → Payment Gateways → the PayMoney card → Settings. Pick the mode (Sandbox/Live), enter Merchant Key, API Key, Client Secret (from PayMoney.online → Merchant → Config), enable the gateway and save. Test with a Sandbox payment, then switch to Live. Gateway settings Gateway Mode — Sandbox / Live Merchant Key → X-Merchant-Key header API Key → X-API-Key header Client Secret → request signing and IPN verification IPN / Webhook URL — https://your-site/webhooks/paymoney (sent automatically, no manual setup needed) Security All requests are signed using the timestamp.METHOD.path.body scheme (HMAC-SHA256); incoming IPNs are verified against the raw request body. Keys are stored in the database and kept separate for Sandbox and Production. Compatible with a clean MagicAI 10.x install. After a core update, just re-upload the module files and clear the cache/OpCache. Теги / Tags MagicAI PayMoney.online payment gateway платёжный шлюз Laravel subscriptions token packs HMAC IPN Documentation: https://paymoney.online/api-docs#magicai-integration Submitter Guy Fawkes Submitted 07/04/26 Category Scripts Quote Donate Vi Veri Veniversum Vivus Vici If you need help installing any software from this site or any other - write to @Guy Fawkes - we will agree for a modest reward!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.