Switch the KOMOJU Dashboard to Test Mode, enter your test API keys in EC-CUBE, and place a test order to verify your integration.
Steps to Run a Test Payment
Step 1: Switch to Test Mode
- Switch the KOMOJU Dashboard to "Test Mode"
- Copy your Test Mode API credentials (Merchant ID, Secret Key, Publishable Key)
- Paste and save these values in the API Credentials card under KOMOJU Payment → Settings in your EC-CUBE admin panel
Step 2: Configure a Webhook for Test Mode
For test payment statuses to be reflected in EC-CUBE, a Test Mode webhook must be registered. Webhooks must be registered separately for Live Mode and Test Mode. See "Configuring Webhooks" for setup instructions.
Step 3: Place a Test Order
- Open your store's checkout as a customer would and complete a payment
- KOMOJU provides test simulation pages for most payment methods
- For credit card testing, use the test card numbers listed below
Step 4: Verify in Both Dashboards
- EC-CUBE Admin → Orders: confirm the order was created and its status updated
- KOMOJU Dashboard → Payments: confirm the payment shows a completed or authorized status
Do You Need a Separate Test Mode Setting in EC-CUBE?
Based on the documented procedure, there is no separate setting in EC-CUBE to toggle test mode on its own. Switching to Test Mode is done entirely by entering your KOMOJU Test Mode API credentials into the API Credentials card.
[TBD: confirm whether the "KOMOJU Payment → Settings" screen in EC-CUBE has any additional test-mode-specific setting beyond entering API credentials]
Caution: Testing in Live Mode
Transactions created in Live Mode are subject to settlement fees, even if created for testing purposes. Even if a refund is processed later, all transactions once marked as "Paid" will still incur payment processing fees.
Test Card Numbers (Credit Card)
| Card Number | Type |
|---|---|
| 3530111333300000 | JCB |
| 378282246310005 | American Express |
| 4111111111111111 | Visa |
| 5555555555554444 | MasterCard |
| 30569309025904 | Diners Club |
| 4100000000000100 | Visa (3DS-aware) |
| 5100000000000107 | Mastercard (3DS-aware) |
| 3528000000000106 | JCB (3DS-aware) |
| 4123111111111000 | Insufficient funds |
| 4123111111111018 | Exceeds card limit |
| 4123111111111034 | Bad verification value |
| 4123111111111042 | Card expired |
| 4123111111111059 | Cannot use card |
| 4123111111111075 | Invalid card |
Test Card Numbers (WebMoney)
| Card Number | Type |
|---|---|
| 1111111111111111 | WebMoney prepaid card with a 2000 yen balance |
| e111111111111112 | Invalid card number |
| e111111111111113 | Prepaid card has already been used |
| e111111111111114 | Card has been declined due to an unknown error |