2. Test Integration
Steps to test if the Drupal Commerce integration was successful.
After the integration is complete, a payment button will appear on your web page/app. You need to click the button and make a test transaction to ensure the integration works as expected. You can start accepting actual payments from your customers once the test is successful.
Watch Out!
This is a mock payment page that uses your test API keys, test card and payment details.
- Ensure you have entered only your in the Configuration section of the Drupal Commerce Dashboard.
- As the test API key is used, no real money is deducted. This is a simulated transaction.
The following payment methods are supported as configured at Razorpay Checkout.
You can select any of the listed banks on checkout. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment success
or a failure
. Since this is Test Mode, we will not redirect you to the bank login portals.
You can enter one of the following UPI IDs:
success@razorpay
: To make the payment successful.failure@razorpay
: To fail the payment.
Handy Tips
UPI payments should be tested in Live Mode.
You can use one of the following test cards to test transactions for your integration in Test Mode.
- Use any valid expiration date in the future in the MM/YY format.
- Use any random CVV to create a successful payment.
Card Network | Domestic / International | Card Number |
---|---|---|
Mastercard | Domestic | 5267 3181 8797 5449 |
Visa | Domestic | 4111 1111 1111 1111 |
Mastercard | International | 5555 5555 5555 4444 5105 1051 0510 5100 |
Visa | International | 4012 8888 8888 1881 5104 0600 0000 0008 |
You can select any of the listed wallets. After choosing a wallet, Razorpay will redirect to a mock page where you can make the payment success
or a failure
. Since this is Test Mode, we will not redirect you to the wallet login portals.
Currently, we support a host of currencies, including INR, USD, EUR, and SGD.
- Download the complete .
This is the latest version of the list and was last updated on April 13, 2023. - For any other additional currencies, which are not a part of the above list and that you might want us to support, kindly raise a request on our .
Step 3:
Is this integration guide useful?