# Elavon Coverage/Virtual Merchant Payment Plugin

**Introduction**

This plugin integrates J2Store with Virtual Merchant payment gateway, thus facilitating users who prefer Virtual Merchant to pay online.

**Requirements**

1. PHP 8.1.0 +
2. Joomla! 4.x/ Joomla! 5.x +
3. J2Commerce / J2Store 4.x +

**Installation**

1. Use Joomla installer to install the plugin.
2. At the backend, joomla control panel, go to Extension -> Plugin Manager and open the Virtual Merchant (type = j2store).
3. Enable the plugin.
4. Enter the plugin parameters.

**Parameters**

You can configure the payment plugin with the help of the images below:

![vmp](https://raw.githubusercontent.com/j2store/doc-images/master/payment-methods/virtaul-merchant-payement-plugin/vm-config-1.png)

1. Payment Option Title -Enter Option Title here. This text will be displayed while listing the payment option.
2. Logo or Image -This option is used to display the payment plugin logo in the checkout page.
3. API Merchant ID -Here, you have to enter the API Merchant ID associated with Virtual Merchant account.
4. API User ID -Here, you have to enter the API User ID associated with Virtual Merchant account.
5. API PIN -Here, you have to enter the API PIN associated with Virtual Merchant account.
6. Use Sandbox -This is for testing purposes. Before going live, you can test your store using sandbox mode.There are two options allowed here.Yes - Set in demo accounts for testing purposesNo - Set in live accounts

> Note - In live site, this should always be set to NO

1. Test Merchant ID -Here, you need to enter the Test Merchant ID, that is associated with Virtual Merchant demo account.
2. Test User ID -Here, you need to enter the Test User id, that is associated with Virtual Merchant demo account.
3. Test Merchant ID -Here, you need to enter the Test PIN id, that is associated with Virtual Merchant demo account.
4. Thankyou Page Article ID -If you want to display thankyou message, you need to enter the article id here. The message will be displayed after payment completion page.
5. Display Text on Selection -The text entered here is displayed when a customer selects this payment method. You can enter a language constant as a value here, if you are using a multi-lingual site and then write a language override. Refer the tips below:

> Tip -ONLY FOR MULTI-LINGUAL SITES -For example, enter a language constant :J2STORE\_TEXT\_TO\_DISPLAY\_ON\_SELECTION.Now you can go to Joomla admin -> Language Manager -> Overrides and create overrides for the language constant in all languages.

1. Display text before payment -The text entered here is displayed to the customer at the order summary screen, before the customer makes the payment.You can enter language constant as a value here, if you are using a multi-lingual site and then write a language override. Refer the Display text on selection param.
2. Display text on after payment -The text entered here will be displayed to the customer after he makes the payment. You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection param.
3. Display text on error in payment -The text entered here is displayed to the customer when there is an error in the payment process.You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection param.
4. Display text if customers cancels payment -The text entered here will be displayed to the customer when he cancels the payment at the gateway (NOT in your site).You can enter a language constant as a value here if you are using a multi-lingual site and then write a language override. Refer the Display text on selection param.
5. Payment button text -The text of the payment button. The button will be displayed at the final checkout step.
6. Debug -This option is used to enable/disable log file.

**Support** Still have questions? You can reach us in <support@j2store.org>

Thankyou for using our extension.
