Jump to content
Bicrypto - Crypto Trading Platform v6.3.9 + All Addons = 199 euro! ×

PayMoney.online — Payment Gateway for MagicAI (Subscriptions + Token Packs) VISA/MASTERCARD 1.0.0

   (0 reviews)

2 Screenshots

About This File

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)

  1. Upload the module files into the MagicAI root, preserving the folder structure.
  2. Run composer dump-autoload -o and php artisan optimize:clear.
  3. Reset the php-fpm OpCache (reload php-fpm or run opcache_reset()); for Octane also run php artisan octane:reload.
  4. Open Admin → Finance → Payment Gateways → the PayMoney card → Settings.
  5. Pick the mode (Sandbox/Live), enter Merchant Key, API Key, Client Secret (from PayMoney.online → Merchant → Config), enable the gateway and save.
  6. Test with a Sandbox payment, then switch to Live.

Gateway settings

  • Gateway Mode — Sandbox / Live
  • Merchant KeyX-Merchant-Key header
  • API KeyX-API-Key header
  • Client Secret → request signing and IPN verification
  • IPN / Webhook URLhttps://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


User Feedback

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.

Guest
×
×
  • Create New...
Visa  MasterCard  Maestro  American Express  PayPal  NOWPayments СБП  МИР