Enabling Test Mode
When Test Mode is enabled, only logged-in administrators can see and use the
CeyPay payment option. Regular customers will not see it at checkout.
Testing the Payment Flow
Complete Test Transaction
Add Products to Cart
Browse your store as an administrator and add one or more products to your cart.
View QR Code
A QR code will be generated. In Test Mode, you’ll also see a “Simulate Success (Test Mode)” button.
What to Verify
Use this checklist to ensure your integration is working correctly:Checkout Display
Checkout Display
- CeyPay appears in the payment methods list - [ ] Logo displays correctly (both light and dark themes if applicable) - [ ] Description text is visible
Payment Modal
Payment Modal
- Modal opens after clicking “Place Order” - [ ] All providers are displayed (Bybit, Binance, KuCoin) - [ ] Provider selection works correctly - [ ] QR code loads after selecting a provider - [ ] “Simulate Success” button appears in Test Mode
Order Processing
Order Processing
- Order is created with “Pending Payment” status initially - [ ] Order transitions to “Processing” after simulated payment - [ ] Order notes show payment confirmation - [ ] Customer receives order confirmation email
Mobile Experience
Mobile Experience
- Modal is responsive on mobile devices - [ ] Deep link button appears for mobile users - [ ] QR code is scannable on smaller screens
Testing Webhooks
While Test Mode simulates immediate payment confirmation, you should also verify that webhooks work correctly.Check Webhook Logs
Find CeyPay Logs
Look for log files prefixed with
ceypay-. These contain debug information
about webhook processing.Webhook Testing Tools
For more thorough webhook testing, you can use tools like:- ngrok - Create a public URL for your local development environment
- Webhook.site - Inspect incoming webhook payloads
- RequestBin - Debug webhook requests
Testing WooCommerce Blocks
If your store uses the WooCommerce Blocks checkout:Verify Block Checkout
Ensure your checkout page uses the Checkout Block rather than the
shortcode-based checkout.
Test Payment Flow
Follow the same testing steps as above. The CeyPay payment option should
integrate seamlessly.
Testing Edge Cases
Payment Expiration
To test expired payments:- Start a test payment but don’t click “Simulate Success”
- Wait for the payment to expire (or close the modal)
- Verify the order remains in “Pending Payment” status
Failed Payments
Failed payments can be simulated by:- Using invalid test data (if supported by the test API)
- Manually updating order status to “Failed” in WooCommerce admin
- Checking that appropriate error messages display
Multiple Payments
Test scenarios with:- Multiple items in cart
- Various currencies (if your store supports them)
- Different customer billing information
Going Live Checklist
Before disabling Test Mode and accepting real payments, verify:Pre-Launch Checklist
Pre-Launch Checklist
- All test transactions complete successfully - [ ] Webhooks are received and processed correctly - [ ] Order emails are sent properly - [ ] Order statuses update as expected - [ ] Mobile experience works correctly - [ ] Error handling works (network failures, etc.) - [ ] Merchant ID is set to your production credentials - [ ] Webhook Secret is set to your production key - [ ] SSL certificate is valid and not expired - [ ] Site is accessible from the internet
Disabling Test Mode
Once testing is complete:Your store is now ready to accept real cryptocurrency payments through CeyPay.
Next Steps
Webhook Reference
Deep dive into webhook payloads and signature verification.
Troubleshooting
Solutions for common issues you might encounter.