How to test crypto payments before going live
Rehearse crypto payments with CryptoLike before launch: a test environment on test networks, ck_test_ keys, test coins, every payment status and webhooks.
7 min read
Blog
Webhooks, signatures, idempotency, test networks and error handling in a crypto payment integration. Articles and guides by the CryptoLike team.
Rehearse crypto payments with CryptoLike before launch: a test environment on test networks, ck_test_ keys, test coins, every payment status and webhooks.
7 min read
What a blockchain reorg is, why a detected crypto payment is not paid yet, and what CryptoLike does when its block is dropped: statuses, ledger and webhooks.
9 min read
Accept Bitcoin and USDT in a Node.js app: sign API requests with node:crypto, create a payment, redirect to the payment page and verify the webhook in Express.
4 min read
Accept Bitcoin and USDT on a PHP site: sign an API request with hash_hmac, create a payment, send the customer to the payment page and verify the webhook.
5 min read
Accept Bitcoin and USDT in a Python app: sign API requests with hmac, create a payment with requests, redirect to the payment page and verify the webhook in Flask.
4 min read
Why retries create duplicate payments and payouts, and how CryptoLike prevents them: Idempotency-Key, payout_id, order_id and webhook event_id, with code.
8 min read
Check CryptoLike webhook signatures step by step: raw body, timestamp tolerance, constant-time compare, event_id dedup — code in TypeScript, Python, Go and PHP.
6 min read