2. Test Integration

Steps to test if the Shopify - 1 Razorpay integration was successful.


After the integration of Shopify - 1 Razorpay on your Shopify store is complete, follow the steps given below:

  1. .
  2. .

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:

  1. Log in to your .
  2. Navigate to SettingsPayments.
  3. On the Supported payment methods section, click Manage on the 1 Razorpay app.
    Shopify go live v2
  4. At the bottom of the page, tick the Enable test mode option and click Save.
    Shopify go live v2 save test
  5. On your Shopify store, add an item to your cart and click Buy it now.
    Shopify checkout
  6. Fill in your contact and shipping details and click Continue to shipping.
    Shopify contact details
  7. Select 1 Razorpay and click Complete order.
    Shopify complete order
  8. On the checkout screen, enter your phone number, click PROCEED, and complete the payment.
    Shopify test transaction

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.

You can select any of the listed banks. After choosing a bank, Razorpay will redirect to a mock page where you can make the payment a success or a failure. Since it is the 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 You can use Test Mode to test UPI payments, and Live Mode for UPI Intent and QR payments.

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 a success or a failure. Since it is the test mode, we will not redirect you to the wallet login portals.

You can use one of the test cards to make transactions in the test mode. Use any valid expiration date in the future and any random CVV to create a successful payment.

Follow the steps given below for a smooth checkout experience:

  1. Log in to your .
  2. Navigate to SettingsCheckout.
  3. On the Customer contact method section, click Phone number or email and click Save.
    Shopify Checkout v2

Handy Tips

Your customer's email ID is prefilled during checkout, but the phone number must be entered manually.


Is this integration guide useful?


test integration
1 razorpay
shopify
upi
cards