
Check Invoice Status via API: Polling Alongside Webhooks
Checking invoice status through the API is the simplest way to back up your webhooks with a safety net. With MercanPay you can use GET /v1/invoices/:id and GET /v1/invoices/by-order/:order_id to learn the current state of an invoice whenever you need it. This

Laravel Crypto Payment Integration: Accept USDT and TRX
A Laravel crypto payment integration comes together in a handful of files with the official mercanpay/mercanpay-php library. You bind the client in the service container, create a USD-priced invoice at checkout, redirect the customer to the hosted payment page

Webhook Retries and Idempotent Handling for Crypto Payments
Webhook retries make sure no payment notification is lost when your server is briefly unreachable. The trade-off is that the same event can reach you more than once. This guide explains when and how often MercanPay retries webhooks, how to process repeated eve

WooCommerce Crypto Payments: Add USDT and TRX with PHP
WooCommerce crypto payments are a common request from WordPress store owners. The easiest route is our ready-made plugin: download the MercanPay WooCommerce plugin for free and install it from your WordPress dashboard in a few minutes. If you want full control

Idempotent Invoices with order_id: Match Orders, Avoid Duplicates
Idempotent invoice creation is the quiet foundation of every reliable crypto checkout. When a payment lands you need to know exactly which order it closes, a retry after a network error must never open a second invoice, and your books have to match at the end

Node.js Crypto Payment API Integration with Express
A Node.js crypto payment API integration doesn't need an extra package. The MercanPay REST API speaks plain JSON, and the built-in fetch in Node 18+ is all you need. This guide walks through an Express app that creates an invoice, redirects the customer to the

How to Verify Webhook Signatures with HMAC-SHA256
To verify a webhook signature is to prove that a payment notification really came from your payment provider and wasn't altered on the way. Without that check, anyone can send your endpoint a fake "payment received" request. This guide explains how HMAC-SHA256

PHP Crypto Payment Integration: Accept USDT and TRX
A PHP crypto payment integration takes only a few files with the official mercanpay/mercanpay-php library. You create an invoice at checkout, redirect the customer to the hosted payment page, and fulfil the order when a signed webhook arrives. This guide wires

Python Crypto Payment Integration with Flask and Django
A Python crypto payment integration takes just a few lines with the official mercanpay package. You create an invoice at checkout, redirect the customer to the hosted payment page, and confirm the order from a signed webhook. This guide connects USDT and TRX (
Start accepting crypto payments in minutes
Accept USDT and TRX (TRC20). Fees from 0.4%, a hosted payment page, API and webhooks.