SDK guide
Build crypto payment flows with the MakePay PHP SDK
The MakePay PHP SDK is for Laravel, Symfony, WordPress-adjacent, custom PHP, and server-rendered applications that want typed helpers around MakePay APIs.
Many merchant systems still run on PHP. A custom backend might create payment links for invoices, verify webhooks, and reconcile status without installing a full ecommerce plugin.
The MakePay PHP SDK wraps the common server-side flows so teams do not have to hand-roll request signing, payload shaping, and webhook verification every time.
When to use the SDK instead of a plugin
Use an ecommerce plugin when your platform is already WooCommerce, Easy Digital Downloads, Paid Memberships Pro, Gravity Forms, Restrict Content Pro, PrestaShop, OpenCart, Magento, XenForo, Invision, WHMCS, ClientExec, Blesta, or WISECP. Use the PHP SDK when your application owns the billing or order workflow.
The SDK is especially useful for custom portals, agency invoicing tools, SaaS dashboards, membership systems, and internal billing panels.
Payment links and embedded checkout
Your PHP backend can create a MakePay payment link, store the UID on your order record, and render either a hosted link or an embedded checkout button.
This lets you start with a simple redirect and later move to a modal or product-specific checkout surface.
Webhook verification
Webhook verification is one of the most important SDK responsibilities. Always verify the MakePay signature before marking an order paid, granting access, or sending a receipt.
Keep webhook handlers idempotent so retries do not double-credit invoices.
FAQ
Is the PHP SDK a replacement for WooCommerce?
No. WooCommerce stores should use the plugin. The PHP SDK is for custom backend integrations.
Can the SDK be used with Laravel?
Yes. The SDK is designed for server-side PHP applications, including framework-based applications.