In Frontend
Once you apply the configuration settings for Razorpay, go to the frontend of your Magento 2 store. Add an item to the cart and proceed to checkout. You can see Razorpay is enabled in the frontend.

Razorpay Redirect
When you click on place order, it will redirect you to the Razorpay payment page, where you are asked to enter payment details.

Once you fill up the details, it will open a pop-up to enter OTP and confirm the payment.

Once you submit OTP, your payment is successful and you are redirected back to Magento.

Razorpay Popup
When you click on place order, it will open a pop-up, where you are asked to select the payment option.

Depending on your payment option, you need to enter details. Here we have selected card.

After that, it will ask you to enter the OTP sent to your mobile number.

Once OTP is verified, you will see a payment success screen for a few seconds.

A payment success message is displayed at checkout.

Last updated