🔥 Just Launched! Werra Premium Template for HyväSee it in Action

Guide to Integrate Magento 2 Worldpay in Your Store

By Shivbhadrasinh GohilUpdated on Feb 10, 2025 6 min read

What is Worldpay Payment Gateway?

​​Worldpay is one of the leading payment gateway providers in the USA. It was earlier known as Vantiv, which is now Worldpay.

It is an easy-to-integrate payment gateway trusted by millions of businesses worldwide. It supports various methods of payments, including credit cards, debit cards, and e-wallets, through online payment gateways and allows receiving payments from customers all over the world.

Benefits of Integrating Worldpay Payment Gateway in Magento 2

The Magento 2 Worldpay integration can do a lot of good things for your store. Here are some essential benefits of this integration comes with: 

  • Worldpay is a highly flexible payment gateway covering a range of payment methods that are suitable for enterprise-level businesses and small business owners.
  • It comes with a multi-currency payment system that allows online store owners to accept payments worldwide through multiple payment methods and channels.
  • A secured payment solution with PCI DSS compliance for safe transactions, helping you win your customer’s trust.
  • Easily compatible with your Magento 2 store. You don’t need to go through complex integration. A simple configuration can help you to start receiving payments within 24 hours.

Steps to Integrate Magento 2 Worldpay Payment Gateway

Step 1: Create Your Worldpay Account

Firstly, you need to register and create an account with Worldpay. Visit their official site and do the needful.

Step 2: Install & Configure the Payment Extension

Install the Meetanshi Magento 2 Worldpay extension and then extract the zip folder.

Meetanshi Magento 2 Worldpay pyament extension

After this, upload the extension to the root of your Magento 2 directory via FTP and run the following commands step by step:

  • php bin/magento setup:upgrade
  • php bin/magento setup:static-content:deploy –f
  • php bin/magento cache:flush

Now, it’s time to configure.

Head to Stores > Configuration > Sales > Payment Methods > Worldpay Secure Acceptance Hosted Checkout – Meetanshi and enter the following settings.

  • Enabled – Select Yes to enable the payment method
  • Title – Enter the title for the payment method
  • Show WorldPay logo – Select Yes if you wish to show the logo
  • Sandbox Mode – Select Yes to enable the Sandbox Mode
Meetanshi Magento 2 Worldpay settings part 1

Step 3: Worldpay Payment Configuration Settings

Now, it is time to get important API keys from the Worldpay dashboard.

First, we will extract the Secret Key, Access Key, and Profile ID from the Worldpay dashboard and add them to the Magento 2 backend.

Login to Worldpay and head to Payment Configuration > Secure Acceptance Settings. Select the merchant ID from the dropdown menu and set the profile status to inactive.

Then click on the Search > Promote Profile button to activate the profile.

Worldpay Payment Configuration Settings

After activating the profile, click on the view profile and copy the Profile ID.

Worldpay Profile ID

Now, go to the Security tab and click on View Key under the Active Keys. Copy the Access Key and Secret Key from the sidebar.

Access and Secret Key

Head back to the Meetanshi dashboard and enter the following details.

  • Secret Key: Enter the secret key here
  • Access Key: Enter the access key here
  • Profile ID: Enter the profile ID here
  • Gateway URL: Enter the gateway URL for Worldpay Secure Acceptance Hosted Checkout.
  • Allow Auto Invoice: Set YES to auto generate invoice for the orders placed through Worldpay Secure Acceptance Hosted Checkout payment method.
  • Payment from Applicable Countries: Select all or selected countries to allow payments using Worldpay Secure Acceptance Hosted Checkout.
  • Payment from Specific Countries: If you have set specific countries using the above option, select the countries to allow payments using Worldpay Secure Acceptance Hosted Checkout.
  • Additional Information: Enter additional information to show on the checkout page on the frontend.
  • Debug: Set YES to enable debug.
  • Sort Order: Enter the sort order of the Worldpay Secure Acceptance Hosted Checkout payment method.
Meetanshi Magento 2 Worldpay settings part 2

Step 4: Test Worldpay Checkout Method in Frontend

Save the configuration and test to see if everything is working as expected. This way, you have integrated the hosted checkout method of Worldpay into your store.

Magento 2 Worldpay Payment Extension

Integrate UK leading Worldpay Payment Gateway with Magento 2 for secure payment.

Get Extension

Features of Magento 2 Worldpay Payment Extension

The Meetanshi Magento 2 Worldpay extension is the easiest way to add Worldpay to your store.

Using this extension, here are some interesting features you enjoy:

  • Easily test the extension using the Sandbox mode to check if the extension works properly and avoid any payment error the customer might have to face.
  • Worldpay is a hosted payment method, so no card details are stored anywhere, keeping the customer’s sensitive information in a safe environment without causing any privacy concerns.
  • The Magento 2 Worldpay extension offers various customization and setting options to configure the extension as per your requirements. You get the option to choose the custom title for the payment method, select allowed countries, show additional details, and more.

Simplified Payment Solution for Your Store

Integrating Magento 2 Worldpay payment is simple with the right tool. With the Meetanshi extension, you can get this Worldpay payment gateway up and running in your store with minimum effort.

Shivbhadrasinh Gohil Full Image
Article byShivbhadrasinh Gohil

Shivbhadrasinh is the Co-founder & Chief Marketing Officer at Meetanshi. He leads the marketing team and is the person behind the marketing & branding success of the company. Being a seasoned digital marketer, he has been consulting online businesses for growth since 2010 and has helped 100+ clients with digital marketing success. He loves sharing tips and insights about the latest digital marketing trends aimed at helping online business owners.