- Home
- Plugins and Extensions
- Magento 2
- Access Worldpay plugin for Magento 2
- Direct integration
Direct integration
Main configurations
The screenshot and the table below describe your options to set credit card configurations.
Credit card configuration | Description |
---|---|
Save Card | Set Save Card to Yes or No. |
Enabled | Set to Yes to make credit card payments available to shoppers at checkout. |
Integration Mode | There are two integration modes for credit cards: 1. Direct integration mode - Card information is saved at the Magento online store and passed to Worldpay by server-to-server transfer in JSON format. No card information is saved by the Worldpay plugin. This integration requires the highest level of PCI DSS compliance.2. AccessCheckout (Web SDK) integration mode - The shopper’s card information is saved and captured at the Worldpay end. This integration qualifies for SAQ-A – the lowest PCI compliance level. |
Test WebSDK URL | Worldpay’s test WebSDK URL |
Live WebSDK URL | Worldpay’s live WebSDL URL |
Payment Methods | Select which credit cards are available to shoppers at checkout. |
Title | The title that appears above the credit card payment section at checkout. |
Require CVC | If enabled, a mandatory CVC form field appears in the card-detail entry form. |
Configure Disclaimer
You can configure a disclaimer in Admin Configuration. Shoppers must accept this disclaimer during checkout to save their card details. See the screenshot below.
The table below describes all the fields, and the information you need to complete the disclaimer configuration.
Configuration | Description |
---|---|
Disclaimer Message | Enter the message that shoppers see. |
Show Disclaimer in Store Front | If set to Yes, a pop-up link to the disclaimer message appears on the checkout page. |
Important Disclaimer Mandatory | If set to Yes, the shopper must agree to the disclaimer before they can save their card details. |
Order notifications
NOTE: You must set up order notifications to ensure this plugin works as designed.
Order notifications are transaction-status updates that Worldpay pushes to the Magento store.
To enable your Magento store to receive order notifications, enter the URL below in your Worldpay merchant profile:
https://
If transactions are being processed asynchronously, you may notice some details of the transaction among your Magento order details.
The fully updated order details include risk data (Sales/Orders/Order View/Information). These details appear after Magento has received the order notification from Worldpay. For a detailed view, go to Sales/Orders/Order View/Information and look under Payment Information:
The shopper journeys
If you have a direct integration, shoppers use your checkout page to place their orders. They can use features on this and other pages to save the card. When they have saved a card, shoppers can use this saved card to place orders quickly with a minimum number of clicks.
There are three shopper journeys in this section:
There are also brief sections at the end about
Guest shopper
A guest shopper is someone who doesn't want you to store their card details. This is their journey:
The shopper goes to the payment page, with no fields automatically filled.
The shopper enters their card details and clicks the Place Order button.
Assuming the transaction is a success, the shopper is redirected to the success page.
Shopper registering with card details
This journey is for a shopper who registers their card details assuming you, the merchant, have enabled the saved card feature:
The shopper enters their card details and clicks the Place Order button. If shopper ticks the Save This Card checkbox, the system creates an authorized token. This token is saved under My Account >Saved Cards, with a masked card number. This saved token is used to place future orders.
If the shopper checks the Save This Card checkbox, they must click Important Disclaimer, read and agree to this stored credentials disclaimer (if you enable it) and continue to place the order.
Assuming the transaction is a success, the shopper is redirected to the success page.
Shopper with a saved card
This journey shows how simple and fast a saved card transaction is.
To use the saved card, during the checkout under the credit cards section, the shopper selects Use Saved Card.
After a succesful transaction the shopper is taken to a success page.
If you, the merchant, has disabled the Require CVC setting, shoppers can place their orders with the Use Saved Card feature in the quickest way possible. Shoppers select the saved card and click the Place Order button.
As always, if the transaction is successful the shopper is taken to a success page.
Note: If 3DS is enabled, after the shopper clicks Place Order a challenge page appears. The shopper enters the information and then if the transaction is successful the shopper is taken to a success page.
My Account - Saved Card section
When the shopper selects My Account > Saved Card the My Saved Card screen appears with a list of their saved cards. Shoppers can update the card details or delete the card.
Add a new card
To add a new card to their list of saved cards, shoppers do the following:
Go to My Account > Saved Card. The shopper clicks Add New Card and the Add New Card screen appears.
Note: The shopper must have entered their shipping and billing address, otherwise the Add a New Card feature doesn't work.