# MD for: https://www.mercadopago.com.br/developers/en/docs/vtex/configure-payment-methods/cards.md \# Card payments To offer card payments and process charges through Mercado Pago, you must configure each credit card brand you want to offer and then select Mercado Pago as the processing provider. Below, we will explain how to perform this configuration. :::AccordionComponent{title="Configure credit card payments in full" pill=""} 1\. In the side menu, select \*\*Store settings > Payments > Settings\*\*. 2\. In the \*\*Payment conditions\*\* tab, click the button with the \*\*+\*\* symbol in the upper right corner of the screen to add a new payment method. !\[Access to payment methods configuration\](https://www.mercadopago.com.br/images/vtex/vtex-config-payment-methods-en-v1.png) 3\. Search for the \*\*Credit card\*\* category and select the brand you want to configure. !\[search for credit cards\](https://www.mercadopago.com.br/images/vtex/vtex-config-credit-card-es-v1.png) 4\. Complete the necessary fields: - \*\*Condition Name\*\*: choose a name that allows you to identify this payment method and click the checkmark located to the right to save it. - \*\*Status\*\*: activate the payment method using the sliding button. - \*\*Process with provider\*\*: select MercadoPagoV2\. 5\. Select the \*\*In full\*\* option. 6\. Optionally, you can add special requirements by clicking the \*\*Add special condition\*\* button. - \*\*Expiration date\*\*: Allows limiting the payment method activity only to specific date periods or establishing a recurrence. - \*\*Card issuer\*\*: Allows limiting the payment method activity according to the country and issuing bank of the card. - \*\*Trade policy (Sales channel)\*\*: Makes a payment condition available only for one or several specific trade policies. - \*\*Commercial condition\*\*: Creates rules that apply to specific groups of SKUs and determines criteria for a payment method to appear in the store checkout. - \*\*Account name\*\*: This field should only be completed if you have more than one store registered in the same VTEX account. In those cases, you must select which store you want to configure the payment method for. 7\. Click \*\*Save\*\* to activate the configuration. !\[credit card configuration\](https://www.mercadopago.com.br/images/vtex/creditcard-infull-en-v1.png) ::: :::AccordionComponent{title="Configure credit card payments in interest-free installments" pill=""} 1\. In the side menu, select \*\*Store settings > Payments > Settings\*\*. 2\. In the \*\*Payment conditions\*\* tab, click the button with the \*\*+\*\* symbol in the upper right corner of the screen to add a new payment method. !\[Access to payment methods configuration\](https://www.mercadopago.com.br/images/vtex/vtex-config-payment-methods-en-v1.png) 3\. Search for the \*\*Credit card\*\* category and select the brand you want to configure. !\[search for credit cards\](https://www.mercadopago.com.br/images/vtex/vtex-config-credit-card-es-v1.png) 4\. Complete the necessary fields: - \*\*Condition Name\*\*: choose a name that allows you to identify this payment method and click the checkmark located to the right to save it. - \*\*Status\*\*: activate the payment method using the sliding button. - \*\*Process with provider\*\*: select MercadoPagoV2\. 5\. Select the \*\*In installments\*\* option and complete the necessary fields: - \*\*Total number of installments:\*\* Define the number of sequential installments (e.g.: 1-12) or individual installments (e.g.: 1, 3, 6). \*\*You can offer up to 12 installments\*\*. - \*\*Minimum installment:\*\* Set a minimum monetary value from which this payment option will be offered. - \*\*Billing\*\*: this field will only be taken into account for installments with interest, so any option is valid. > WARNING > > The number of installments configured in this instance will take priority over the maximum installments indicated during the payment provider configuration. We recommend indicating the same amount to avoid inconsistencies. 6\. Click \*\*Save\*\* to activate the configuration. !\[interests-free installments\](https://www.mercadopago.com.br/images/vtex/creditcard-no-instests-en-v1.png) ::: :::AccordionComponent{title="Configure credit card payments in installments with interest" pill=""} You can configure installments with interest for credit card payments and customize the interest percentage for each installment. To do this, you must first install the \*\*Mercado Pago installments connection\*\* application and then configure interest installment payments for the brand you want to offer. Follow the steps below. ## Install Mercado Pago installments connection To ensure that the installment and interest conditions configured in VTEX match those configured in Mercado Pago and avoid billing inconsistencies, you must configure the \*\*Mercado Pago installments connection\*\* application. Follow the steps below to do so. 1\. In the side menu, select \*\*Apps > Extension Hub > App Store\*\*. 2\. In the search bar, type \*\*Mercado Pago installments connection\*\* and select the application that will appear below. !\[Search for installments connection app\](https://www.mercadopago.com.br/images/vtex/mp-installments-connection/installments-connection-install-en-v1.png) 3\. Click the \*\*Install\*\* button. A pop-up window will appear where you can read the terms and conditions. If you agree, confirm it using the \*\*Install\*\* button. 4\. Click the \*\*Item # 0\*\* button to link the seller's Mercado Pago account with the VTEX store. On this screen, you will be asked for Mercado Pago credentials for Provider Authorization. Complete the fields accordingly: | Field | Description | |---|---| | API key | This field refers to the \_Public Key\_ of the Mercado Pago application. Since you are in the development stage, you should use the :toolTipComponent\[\_Public Key\_ of the test user application\]{content="Public key of the test user application, which is used in the frontend to access information and encrypt data, whether in the development or testing stage. You can access it by logging in with your test user and going to \*Your integrations > Application details > Production > Production credentials\*"}. Later, you can change it to a production one. | | API Token | This field refers to the \_Access Token\_ of the Mercado Pago application. Since you are in the development stage, you should use the :toolTipComponent\[\_Access Token\_ of the test user application\]{content="Private key of the test user application, which is used in the frontend to access information and encrypt data, whether in the development or testing stage. You can access it by logging in with your test user and going to \*Your integrations > Application details > Production > Production credentials\*"}. Later, you can change it to a production one. | 5\. In the \*\*Payment Methods\*\* section, uncheck the credit card brands that \*\*do not correspond\*\* to the country where the VTEX store operates. !\[payment methods selection\](https://www.mercadopago.com.br/images/vtex/mp-installments-connection/mp-installments-connection-payments-v1.png) > NOTE > > If you want to operate with more than one Mercado Pago account in the same store, you must add the credentials for each of them. To do this, click the \*\*+ Add more\*\* button and repeat the previous steps. 6\. Finally, in the next window, click \*\*Save\*\* to finish the installation. ## Add credit card payments in installments with interest > WARNING > > The installment and interest conditions configured in VTEX must match the conditions configured in Mercado Pago to avoid billing inconsistencies. Therefore, make sure you have \*\*Mercado Pago installments connection\*\* configured. 1\. In the side menu, select \*\*Store settings > Payments > Settings\*\*. 2\. In the \*\*Payment conditions\*\* tab, click the button with the \*\*+\*\* symbol in the upper right corner of the screen to add a new payment method. !\[Access to payment methods configuration\](https://www.mercadopago.com.br/images/vtex/vtex-config-payment-methods-en-v1.png) 3\. Search for the \*\*Credit card\*\* category and select the brand you want to configure. !\[search for credit cards\](https://www.mercadopago.com.br/images/vtex/vtex-config-credit-card-es-v1.png) 4\. Complete the necessary fields: - \*\*Condition Name\*\*: choose a name that allows you to identify this payment method and click the checkmark located to the right to save it. - \*\*Status\*\*: activate the payment method using the sliding button. - \*\*Process with provider\*\*: select MercadoPagoV2\. 5\. Select the \*\*In installments\*\* option and complete the necessary fields: - \*\*Total number of installments:\*\* Define the number of sequential installments (e.g.: 1-12) or individual installments (e.g.: 1, 3, 6). \*\*You can offer up to 12 installments\*\*. - \*\*Minimum installment:\*\* Set a minimum monetary value from which this payment option will be offered. - \*\*Billing\*\*: this field will only be taken into account for installments with interest, so any option is valid. > WARNING > > The number of installments configured in this instance will take priority over the maximum installments indicated during the payment provider configuration. We recommend indicating the same amount to avoid inconsistencies. 6\. Then, click the \*\*Set interest rate\*\* button. Interest rates will be automatically configured with those you have established in your Mercado Pago account. 7\. Click \*\*Save\*\* to activate the configuration. !\[interests\](https://www.mercadopago.com.br/images/vtex/creditcard-installments-interests-en-v1.png) ::: :::AccordionComponent{title="Configure debit card payments" pill=""} 1\. In the side menu, select \*\*Store settings > Payments > Settings\*\*. 2\. In the \*\*Payment conditions\*\* tab, click the button with the \*\*+\*\* symbol in the upper right corner of the screen to add a new payment method. !\[Access to payment methods configuration\](https://www.mercadopago.com.br/images/vtex/vtex-config-payment-methods-en-v1.png) 3\. Search for the \*\*Credit card\*\* category and select the brand you want to configure. !\[search for debit cards\](https://www.mercadopago.com.br/images/vtex/vtex-config-debit-card-es-v1.png) 4\. Complete the necessary fields: - \*\*Condition Name\*\*: choose a name that allows you to identify this payment method and click the checkmark located to the right to save it. - \*\*Status\*\*: activate the payment method using the sliding button. - \*\*Process with provider\*\*: select MercadoPagoV2\. 5\. Select the \*\*In full\*\* option. 6\. Optionally, you can add special requirements by clicking the \*\*Add special condition\*\* button. - \*\*Expiration date\*\*: Allows limiting the payment method activity only to specific date periods or establishing a recurrence. - \*\*Card issuer\*\*: Allows limiting the payment method activity according to the country and issuing bank of the card. - \*\*Trade policy (Sales channel)\*\*: Makes a payment condition available only for one or several specific trade policies. - \*\*Commercial condition\*\*: Creates rules that apply to specific groups of SKUs and determines criteria for a payment method to appear in the store checkout. - \*\*Account name\*\*: This field should only be completed if you have more than one store registered in the same VTEX account. In those cases, you must select which store you want to configure the payment method for. 6\. Click \*\*Save\*\* to activate the configuration. !\[debit configuration\](https://www.mercadopago.com.br/images/vtex/vtex-config-payment-methods2-en-v1.png) ::: > NOTE > > To perform integration tests with this payment method, contact your Mercado Pago advisor.