Custom integration
When no plugin fits — integrate the E-comm API directly. This page is the orientation map.
When to build custom
- You run on a platform with no official miaPOS plugin (e.g. Magento, Shopify, custom CMS).
- You need behaviour beyond what the plugin exposes (custom callback handling, multi-currency routing, split payments).
- You're building a SaaS/marketplace and need a multi-tenant integration.
Reading order
- E-commerce checkout — the protocol overview.
- Authentication — token/refresh dance.
- E-comm API reference — endpoint and schema reference.
- Webhooks — handle the signed callback correctly.
- Signature verification — the cryptography step.
Reference paths
The single best entry point is the integration repo on GitHub: finergy-tech/mia-pay-ecomm-integration. It contains the protocol overview, the signature-verification guide (with Java and Python reference implementations), and links to every official plugin and SDK.
- If your stack is PHP — start with the open-source PHP SDK. It covers token, pay, callback verification end-to-end; copy what you need and adapt.
- If your stack is something else — read the protocol overview + signature verification guide. The latter ships with Java and Python reference code you can port directly.
- If you want to see the flow first — try the interactive demo, then return to the docs once you know what you're building.