Configure the General Settings {#opencart-vas-config}
=====================================================

You must configure the general settings for the Visa Acceptance Solutions module.

Access the Module Configuration
-------------------------------

You can access the configuration module by choosing ExtensionsExtensions and choosing Modules from the drop-down menu. Scroll down to Visa Acceptance Solutions Configuration and click Edit to view and complete the settings below.

General Configuration settings
------------------------------

* Sandbox Mode: For testing your test account, set to Enabled. For production transactions, set to Disabled.
* Merchant ID: Enter the transacting merchant ID (MID) assigned to you when you set up your account.
* Merchant Key ID: Enter the key from your REST API shared secret key.
* Merchant Secret Key: Enter the shared secret from your REST API shared secret key.
* Key File Path: Enter the path and filename for the Response MLE certificate created in `Business Center`.
* Key Password: Enter the password for the Response MLE certificate.
* Response MLE: Set to Enable to use Response MLE.
* Fraud Management: Set to Enable to inform the module that your `Visa Acceptance for SMB` account is configured for fraud screening and needs to subscribe to the REVIEW webhook notification.
* Delivery Address Verification: When enabled, the module checks that the delivery address is correct. This is a chargeable service.
* Status: Set to Enable to use the module.

> The Response MLE is required for the transaction webhook response and must be added even if you are not enabling Response MLE.

Enhanced Logs
-------------

Enable only when you are troubleshooting issues.

Reporting Configuration
-----------------------

* Payment Batch Detail Report: See Payment Batch Detail for details. This report must be enabled in the `Visa Acceptance for SMB` `Business Center`. When enabling, set the download path.
* Transaction Request Report: See Transaction Request for details. This report must be enabled in the `Visa Acceptance for SMB` `Business Center`. When enabling, set the download path.

The report functionality is designed to work with a scheduler. You can use any OpenCart supported Cron Job module or other online Cron service provider for the required scheduler functionality. The reporting URL is extension/payment/cybersource/cron.

Order Status Configuration
--------------------------

You can change the mapping of order statuses based on transaction outcomes. These statuses are pre-set with the recommended mapping.

Registered Webhooks
-------------------

View information about subscribed webhooks. Webhooks are automatically subscribed to based on your configuration settings.
Webhooks can be deleted, but this may affect transaction response handling.
