Setting up payments with Lifemiles
2 min read
At VTEX, it is possible to integrate with the Lifemiles payment provider. With this provider, your store can make sales through Notes Payable.
To configure Lifemiles, follow the steps below:
- In the VTEX Admin, go to Store Settings > Payment > Providers, or type Providers in the search bar at the top of the page.
- On the providers screen, click the `New Provider button.
- Type the name Lifemiles in the search bar and click on the name of the provider.
- In Provider Authorization, fill in the App key and App token fields with data provided by your account Lifemiles.
- 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.
- In Payment Control, select whether you want to activate the provider in a test environment by clicking Enable test mode.
- 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
- Click
Save
.
Setting up payment condition Notes Payable
If 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.
Then, follow the steps below:
- In the VTEX Admin, go to Store Settings > Payment > Settings, or type Settings in the search bar at the top of the page.
- In the Payment Conditions tab, click on the
+
button. - On Custom Payment, click the button corresponding to the name used for the note payable payment method (configured in the previous section).
- Activate the condition in the Status field.
- On Process with provider, select lifemilespartnerco-lifemiles-v0.
- If you wish, you can also configure payment special conditionso.
- Click
Save
.
After following the indicated steps, Lifemiles may take up to 10 minutes to appear at your store`s checkout as a payment option.