Configuration {#adobe-commerce-25-2-0-configuration}
====================================================

To configure the Visa Acceptance Solutions extension, go to Stores \&gt; Configuration \&gt; Sales \&gt; Payment Methods \&gt; Visa Acceptance. Configure these fields:  
Configure General settings:

* Environment:

  * Test: Choose for testing of your `Cybersource` test account.
  * Production: Choose for live transactions.
* Merchant ID: Enter the transacting Merchant ID (MID) assigned to you by Visa Acceptance Solutions.

* API Key: Enter the Key from your REST API Shared Secret Key.

* API Shared Secret Key: Enter the Shared Secret from your REST API Shared Secret Key.

* Accepted Card Types: Choose the card brands you want to accept.  
  Configure Debug Mode:

* Yes: Compiles detailed logs for every transaction. This option is only recommended for the Test Environment or when troubleshooting issues in Production.

* No: Only basic logging occurs.  
  Configure Message Level Encryption:  
  Enabled

* Yes: Encrypts the full request message using JSON Web Tokens before being transmitted to the Visa Acceptance Platform.

* No: Uses the HTTP Signature.

JSON Web Tokens use a digital certificate to prove who you are, while HTTP Signature uses a shared secret key to confirm the message is genuine. Both methods are PCI compliant.

* Certificate File: Upload the p12 certificate for your `Cybersource` Merchant ID.
* Key Password: Enter the password that was used when you created your p12 certificate.

Configure Secure Payment Methods:

* Enable: Choose `Yes` to enable the extension.
* Title: Enter the label your customers see on the checkout page.
* Payment Action: Choose one of these options:
  * Authorize and Capture: Captures the transaction automatically when the authorization is approved.
  * Authorize only: Sends an authorization request and if approved, you must manually request a capture.
* Payment Card Types: Choose the card brands you want to offer to your customers.
* Allowed Payment Methods: Choose the payment methods you want to offer to your customers. These payment card types must be enabled for your MID in the `Business Center`. See here for details.
* Select Layout:
  * Embedded: The payment widget appears inline on the checkout page.
  * Sidebar: The payment widget appears on the right side on the checkout page.
* Payment from Applicable Countries:
  * All Allowed: Uses the `Adobe Commerce` global settings to determine which countries are available.
  * Specific Countries: Specify which countries you want to accept payments from.
* `Payer Authentication`/`3-D Secure`: Choose `Yes` to enable `3-D Secure`.
* Tokenization: Choose `Yes` to enable your customers to save their payment cards for future purchases.
* Tokenization Title: Enter the label you want your customers to see when they pay with a saved card.
* Saved Card Verification: Choose `Yes` to request that your customer enter their card security code when paying with a saved card.
* Enforce Strong Customer Authentication: Choose `Yes` to enforce a `3-D Secure` challenge when a customer saves their card for the first time.

