Skip to content

makecryptoio/makepay-cscart

Repository files navigation

MakePay CS-Cart / Multi-Vendor Add-on

CS-Cart and Multi-Vendor payment processor add-on for MakePay hosted payment links.

The add-on registers a MakePay payment processor, creates a hosted MakePay payment link when a customer submits an order, redirects the customer to MakePay, and handles return/webhook notifications through CS-Cart's payment_notification controller.

Features

  • Native CS-Cart add-on layout.
  • payment_processors registration from addon.xml.
  • Admin processor settings for MakePay credentials and webhook secret.
  • Hosted checkout redirect flow.
  • Signed MakePay webhook verification.
  • CS-Cart order completion via fn_finish_payment.
  • Local validator and GitHub Actions workflow.

Installation

Copy these directories into a CS-Cart or Multi-Vendor installation:

app/addons/makepay
design/backend/templates/addons/makepay
var/langs/en/addons/makepay

Then install the add-on in the admin panel under Add-ons -> Manage add-ons.

Payment Method Setup

  1. Go to Administration -> Payment methods.
  2. Add a new payment method.
  3. Select MakePay as the processor.
  4. Configure:
    • MakePay Key ID
    • MakePay Key Secret
    • MakePay Webhook Secret
    • MakePay Partner API base URL
  5. Configure MakePay webhooks to:
https://your-store.example/index.php?dispatch=payment_notification.webhook&payment=makepay

The customer return URL is generated per order.

Development

node scripts/validate.mjs
find app -name '*.php' -print0 | xargs -0 -n1 php -l

Security

Keep MakePay key secrets in CS-Cart payment processor settings. The processor verifies X-MakePay-Signature before marking an order as paid.

About

CS-Cart and Multi-Vendor payment add-on for MakePay hosted payment links. Cryptocurrency payment gateway for direct self-custody merchant-wallet settlement, decentralized swaps, and 70+ coin/20+ chain auto-conversion.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors