{"section":"tutorials","requestedLocale":"en","requestedSlug":"setting-up-payments-with-lifemiles","locale":"en","slug":"setting-up-payments-with-lifemiles","path":"docs/en/tutorials/payments/payment-settings/setting-up-payments-with-lifemiles.md","branch":"main","content":"At VTEX, it is possible to integrate with the Lifemiles payment provider. With this provider, your store can make sales through Notes Payable.\n\nTo configure Lifemiles, follow the steps below:\n\n1. In the VTEX Admin, go to **Store Settings > Payment > Providers**, or type **Providers** in the search bar at the top of the page.\n2. On the providers screen, click the `New Provider` button.\n3. Type the name **Lifemiles** in the search bar and click on the name of the provider.\n4. In **Provider Authorization**, fill in the **App key** and **App token** fields with data provided by your account Lifemiles.\n5. If you wish to modify the identification name to be displayed for the Lifemiles provider on the VTEX Admin screen, enter the information in the **Name** field in **Basic Information**.\n6. In **Payment Control**, select whether you want to activate the provider in a test environment by clicking **Enable test mode**.\n7. In **Provider Fields**, select or complete the fields **Partner Code**, **Payment currency 1**, **Website currency identifier 1**, **Payment currency 2**, **Website currency identifier 2**, **Payment currency 3**, **Website currency identifier 3**, and **Webhook Status** according to the provider's  instructions\n8. Click `Save`.\n\n## Setting up payment condition Notes Payable\n\nIf you have not yet configured promissory notes as a payment method in other connectors in your store, go to [Setting up payments with Notes Payable](/en/docs/tutorials/setting-up-payments-with-notes-payable).\n\nThen, follow the steps below:\n\n1. In the VTEX Admin, go to **Store Settings > Payment > Settings**, or type **Settings** in the search bar at the top of the page.\n2. In the **Payment Conditions** tab, click on the `+` button.\n3. On **Custom Payment**, click the button corresponding to the name used for the note payable payment method (configured in the previous section).\n4. Activate the condition in the **Status** field.\n5. On **Process with provider**, select **lifemilespartnerco-lifemiles-v0**.\n6. If you wish, you can also configure [payment special conditionso](/en/docs/tutorials/special-conditions).\n7. Click `Save`.\n\nAfter following the indicated steps, Lifemiles may take up to 10 minutes to appear at your store's  checkout as a payment option."}