Configure the Extension {#adobe-commerce-r-configuration}
=========================================================

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

* Environment:

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

* 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.

* Debug Mode:

  * Yes: Compiles detailed logs for every transaction. This option is recommended only for the Test Environment or when troubleshooting issues in Production.
  * No: Only basic logging occurs.
    {#adobe-commerce-r-configuration_ul_yxq_1yg_s3c}

{#adobe-commerce-r-configuration_ul_ecc_1yg_s3c}


* 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.
      {#adobe-commerce-r-configuration_ul_lp5_42n_s3c}
      {#adobe-commerce-r-configuration_ul_xtf_42n_s3c}

{#adobe-commerce-r-configuration_ul_hcb_2yg_s3c}  
JSON Web Tokens use a digital certificate to prove who you are, while HTTP Signature uses a shared secret key to confirm that the message is genuine. Both methods are PCI compliant.

* * Certificate File: Upload the p12 certificate for your `Visa Acceptance for SMB` Merchant ID.
  * Key Password: Enter the password that was used when you created your p12 certificate.
    {#adobe-commerce-r-configuration_ul_tc5_p2n_s3c}

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 it is approved, you must manually request a capture.
* 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 the [*Unified Checkout Developer Guide*](https://developer.visaacceptance.com/docs/vas/en-us/unified-checkout/developer/all/rest/unified-checkout/uc-about-guide.md "") 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 Countries: The `Adobe Commerce` global settings determine which countries to accept payment from.
  * Specific Countries: You specify which countries you want to accept payments from.
* `Payer Authentication`/`3-D Secure`: Choose `Yes` to enable `3-D Secure`.
* Digital Pay button in minicart: Choose `Yes` to enable Minicart checkout.
* 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.

