2. Test Integration
Steps to test if the Shopify - Razorpay Secure integration was successful.
After the integration is complete, follow the steps given below:
- .
- .
After completing the integration, you must ensure it is working as expected. You can start accepting actual payments from your customers once the test mode transaction is successful.
Follow the steps given below to test a transaction in test mode:
- Log in to your .
- Navigate to Settings → Payments.
- On the Supported payment methods section, click Manage on the Razorpay Secure app.
- At the bottom of the page, tick the Enable test mode option and click Save.
- On your Shopify store, add an item to your cart and click Buy it now.
- Fill in your contact and Billing details and click Pay now.
- On the checkout screen, select the payment method, and complete the payment.
You can make test payments using one of the payment methods configured at the Checkout.
- No money is deducted from the customer's account as this is a simulated transaction.
- Ensure you have entered the API keys generated in the test mode in the Checkout code.
Following are all the payment modes that the customer can use to complete the payment on the Checkout.
You can select any of the listed banks. After choosing a bank, Curlec will redirect to a mock page where you can make the payment a success
or a failure
. Since this is Test Mode, we will not redirect you to the bank login portals.
You can select any of the listed wallets. After choosing a wallet, you will be redirected 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.
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.
Follow the steps given below for a smooth checkout experience:
- Log in to your .
- Navigate to Settings → Checkout.
- On the Customer contact method section, click Phone number or email and click Save.
Handy Tips
Your customer's email ID is prefilled during checkout, but the phone number
must be entered manually.
Is this integration guide useful?