Learn how to seamlessly integrate the Verifone Hosted Cart with Magento to accept eCommerce transactions
NOTE: To install and configure the Verifone Hosted Cart, you will need a Verifone Central account with an Online Payment facility. Contact us to set this up here.
There are three steps to setting up the Verifone Hosted Cart for your Magento store:
- Download and install the plugin
- Configure the plugin
- Generate a secure card capture key
Download and install the plugin:
-
Upload the included Verifone directory to 'app/code/' under your Magento root directory on your server.
-
Ensure each file is uploaded to the correct directory on your server.
-
Install the module by running 'bin/magento setup:upgrade' and 'bin/magento setup:di:compile'.
-
Log in to your Magento 2 administration panel and navigate to System > Cache management.
-
On the Cache management page, click on the Flush Magento cache button.
-
Go back to the System tab and select Index Management.
-
On the Index Management page, select the Update on save option and click on the Submit button to re-index all templates.
Configure your Verifone Central Credentials:
After installing the Verifone payment module, follow these steps to configure the plugin and set up your payment settings:
In the Magento admin panel, go to Stores > Configuration.
Under Configuration, click on the Sales tab and scroll down to Payment Methods.
Select Payment Methods and then Verifone - Credit Card Hosted Payment module.
Fill in details for Verifone Account Settings, Display Settings, and Card Payment settings to configure your plugin.
Verifone account settings
- Enabled: Select Yes
- Test Mode: Select No. If you choose to enable Test Mode, you will need to fill in the Test Credentials below from a Test environment. For more details about Test mode and how you can use it, you can contact our support team.
- Invoice: Select Yes to invoice the order automatically when successful
- New Order Status: Status for new orders. We recommend processing or complete should be selected.
- The following credentials need to be copied from your Verifone Central account. Login to Verifone Central here
- User ID & API Key:
- Click your initials and then API Keys
- Click Create API Key
- Ensure you click Copy public key before closing the dialogue box! The API key can only be copied once.
- Click on the API Key you created to find your API User ID.
- Entity ID:
- Go to Administration > Account Setup > Organisation Company and Sites
- Select your Organisation from the table and copy the Organisation ID from the General Information section.
- NOTE: There might be several organisations available as part of your account hierarchy. The correct Organisation usually does not have Account or Site in the Name. You can check that you've copied the right Organisation ID by reviewing the Payment Provider Contracts available. Scroll down and make sure the Organisation ID you copy is connected to your Payment Provider Contract for eCommerce.
- Test API User, Test API Key and Test Enity ID: Fill in these Test Credentials from your Test environment if you have enabled Test mode.
- Region: New Zealand
- Enable/Disable cURL verify host and peer: Enable host/SSL verification.
Display Settings
- Checkout type: Choose whether the Verifone checkout is displayed as a standalone page where your customers are redirected to perform the payment or as an iFrame (embedded onto your website page).
- Hosted Payment Page (HPP) - the shopper is redirected to a payment page hosted by Verifone to make the payment. Upon completion of the payment process, the shopper is redirected back to your website page.
- iFRAME allows you to display a payment form component as part of your own website, without having to redirect the shopper to a new web page. The form is still securely hosted by Verifone, so there is no additional PCI scope required for you with this solution.
- Title - The customer-facing payment method label (Verifone Hosted Cart).
- Description - The customer-facing description for your payment solution.
- Theme ID: You can customise the look and feel of your Checkout. First, you need to create a custom theme for your payment page, by using the Checkout Theme tool on Verifone Central. Once the custom theme is created, you can copy the Theme ID and paste it into the Display Settings.
Card payment settings
The card payment settings area allows you to configure the payment details needed to process card payments.
- Enable card payment: Select Yes
- Payment Contract ID:
- The Payment provider contract ID can be found in Verifone Central. Go to Administration > Account Setup > Payment (Provider) Contracts.
- Click the Payment Provider Contract with 'ECOMMERCE' in the Name field
- Copy the Payment Provider Contract ID
- Test Payment Contract ID: Only used if you have enabled Test Mode. You will need a test Payment Contract ID from a Test environment.
- 3DS: Select Yes
- 3DS Contract ID:
- Go to Administration > Advanced Settings > 3DS Contracts
- Copy your 3DS Contract ID
- Transaction type: Select Sale
- Click on Save Config to save your settings
Generate a Secure Card Capture Key
2. Go to Administration >Account Set up > Organisation Company and Sites, and select your Parent Organisation that starts with 'Account'
3. Scroll down to Secure Card Capture
4. Click Create new public key
Full documentation and troubleshooting guides are available on Verifone Cloud