Please use the publishable key and/or secret key for testing when interacting with the Crypto.com Pay SDK / APIs as follow:
Log into the Crypto.com Pay Merchant Dashboard and make sure the “Test Data” toggle of the Merchant Account is switched on.
Click “Integration” on the left menu.
Use the value of the publishable key and/or secret key under the “API Keys” tab when interacting with the Crypto.com Pay SDK / APIs.
For merchants integrated with other e-commerce platforms (e.g., Shopify, WooCommerce, etc.), please also make sure the test mode is switched on in the integrated e-commerce platform.
1. Create a payment (refer here for the details of implementation) and check out with Crypto.com Pay on your integrated website / e-commerce platform.
2. Get redirected to Crypto.com Pay payment page.
3. Select “Crypto.com App” as the payment method.
(under test mode, only “Crypto.com App” is supported)
4. Press the “Complete Test Payment” button to mimic that the payment has been approved by Crypto.com Pay.
(it does not affect your live data or interact with the payment networks)
5. Payment success!