Menu
Feedback
Start here
Tutorials


Tutorials
Payment Settings
Setting up payments with easypay marketplace
6 min read

On VTEX, you can integrate with the easypay payment provider. This connector enables your store to sell using easypay, MBWay, and MultiBanco.

To use the easypay affiliation in your marketplace, you need to:

If your store is not a marketplace, read Setting up payment with easypay or Setting up payments with easypay seller.

Install the easypay app

To install the easypay app, follow the steps below:

  1. In the VTEX IO CLI, run the command vtex login accountname to log in to your account.
  2. Install the easypay app using the vtex install easypaypartnerpt.payment-provider-easypay command.

Configure the easypay app

After installing the easypay app, you need to configure it. To access the settings screen, follow the steps below:

  1. In the VTEX Admin, go to Extensions Hub > App Management, or type App Management in the search bar at the top of the page.
  2. Find the Easypay Payment Provider app and click Settings.

Configuration is divided in four sections:

{"base64":"  ","img":{"width":968,"height":776,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":51162,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_1.png"}}

You must set up the following configurations in the easypay environment. easypay controls these settings, therefore, VTEX does not guarantee that the steps below will be permanently updated. Use this document as a reference and check your easypay environment for up-to-date information.

easypay credentials

The information in this section must be completed.

Key ID e Key Value: easypay key value and ID.

{"base64":"  ","img":{"width":1197,"height":548,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":63241,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_2.PNG"}}

{"base64":"  ","img":{"width":1916,"height":777,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":908505,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_3.png"}}

{"base64":"  ","img":{"width":1569,"height":363,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":68863,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_4.png"}}

Merchant account UID: identification of the merchant account where purchase amounts from store sales will be deposited. If there is no separate merchant account, you can use the "Account UID" of the payment account.

{"base64":"  ","img":{"width":1075,"height":389,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":39960,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_5.PNG"}}

{"base64":"  ","img":{"width":1219,"height":489,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":178678,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_6.png"}}

Margin account UID: identification of the margin account.

  1. In the side menu of the easypay environment, click Beneficiary.
  2. Copy the information and save the Account UID information available in Margin Account.

{"base64":"  ","img":{"width":1888,"height":539,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":464042,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_7.png"}}

Refund account ID and Refund account key: easypay refund keys ID and value.

{"base64":"  ","img":{"width":1913,"height":680,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":930082,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_8.png"}}

{"base64":"  ","img":{"width":1321,"height":347,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":192256,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_9.png"}}

{"base64":"  ","img":{"width":1215,"height":275,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":21164,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_10.png"}}

{"base64":"  ","img":{"width":1531,"height":334,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":64231,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_11.png"}}

Refunds are debited directly from a marketplace account. Later, the marketplace must request the refunded amount from the seller.

Payment

In this section, you must indicate whether your store will use asynchronous and/or synchronous payments. See the easypay documentation to check the available payment methods and their identification acronyms.

{"base64":"  ","img":{"width":1361,"height":705,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":235897,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_12.png"}}
Accepted asynchronous payment types: asynchronous payment methods available to the customer. Only enter the acronyms of the asynchronous payment types, separated by commas without periods or spaces.

Example:

CorrectIncorrect
mb,dd,vimb, dd, vi

If you complete this field, you must also complete the Expiration days for asynchronous payments field.

Accepted synchronous payment types: synchronous payment methods available to the customer. Only enter the acronyms of the synchronous payment types, separated by commas without periods or spaces.

Example:

CorrectIncorrect
cc,mbwcc, mbw

Expiration days for asynchronous payments: expiration period, in days, for asynchronous payments. Only enter the desired number of days.

Example:

CorrectIncorrect
1010 days, Dec, or 05/10/2023

Customizing the easypay checkout

easypay has a native checkout layout configured in the app. See below:

{"base64":"  ","img":{"width":876,"height":699,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":129574,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_13.png"}}

If you want to customize easypay's native checkout, complete one or more fields in this section:

  • Checkout logo URL: logo displayed at the easypay checkout. Enter the link to the image you want to use
  • Checkout background color: background color. Enter the HEX code of the desired color. Native default: #ffffff.
  • Checkout accent color: highlight color, button pattern, and input borders. Enter the HEX code of the desired color. Native default: #0d71f9.
  • Checkout error color: error message color. Enter the HEX code of the desired color. Native default: #ff151f.
  • Checkout input background color: input background color. Enter the HEX code of the desired color. Native default: transparent.
  • Checkout input border color: input border color. Enter the HEX code of the desired color. Native default: the same color used in the accent color.
  • Checkout input border radius: allows you to define the rounded borders of the inputs. Enter the desired value in pixels (numbers only). Native default: 50 pixels.

Example:

CorrectIncorrect
3535px
  • Checkout button background color: background color of the buttons. Enter the HEX code of the desired color. Native default: the same color used in the accent color.
  • Checkout button border radius: allows you to set the rounded borders of the buttons. Enter the desired value in pixels (numbers only). Native default: 50 pixels.

Example:

CorrectIncorrect
3030px
  • Checkout button box shadow: option to enable or disable the button shadow.

  • Checkout font family: fonts used in texts. Enter the generic family name, web-safe font, or font link. Native default: Overpass. Example, correct: sans-serif, verdana, ou https://fonts.gstatic.com/s/overpass/v12/qFda35WCmI96Ajtm83upeyoaX6QPnlo6_PPbM5qKl8Kuo8AzesE.woff2

  • Checkout base font size: allows you to set the font size in the root element. Enter the desired value in pixels (numbers only). Native default: 10 pixels.

Example:

CorrectIncorrect
1111px

Do not use fonts over 12 pixels, as they can blur the layout.

Sandbox mode

To enable the development test environment, select the Enable sandbox mode option. You must use test credentials.

After completing the configuration fields, click Save.

Configure the easypay webhook

To configure the easypay webhook, follow the steps below:

{"base64":"  ","img":{"width":762,"height":339,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":26735,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_14.PNG"}}

https://{your-account-name}.myvtex.com/_v/easypaypartnerpt.payment-provider-easypay/webhook

{"base64":"  ","img":{"width":1762,"height":724,"type":"png","mime":"image/png","wUnits":"px","hUnits":"px","length":597171,"url":"https://raw.githubusercontent.com/vtexdocs/help-center-content/refs/heads/main/docs/en/tutorials/payments/payment-settings/setting-up-payments-with-easypay-marketplace_15.png"}}

If there is more than one payment account in your marketplace, add a link to each of the existing accounts.

Configure the easypay affiliation

To configure the easypay affiliation, follow the steps below:

  1. In the VTEX Admin, go to Store Settings > Payment > Settings, or type Settings in the search bar at the top of the page.
  2. In the Gateway Affiliations tab, click the + button.
  3. Click the easypay connector.
  4. Complete the Application Key and Application Token fields with your easypay account information.
  5. In Payment Settlement, select the Use Payment Behavior Recommended by Payment Processor option.
  6. In Enable payout split and sending payment recipients?, select Yes.
  7. Click Save.

To configure the payment methods that easypay will process, read the Configuring payment conditions article.

To set special conditions for payment methods, read Configuring payment special conditions.

After following the instructions, it can take up to 10 minutes for the easypay connector to be displayed as a payment option at your store checkout.
(https://help.vtex.com/pt/tutorial/condicoes-especiais--tutorials_456#).

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Setting up payments with easypay
« Previous
Setting up payments with easypay seller
Next »
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback