<!-- Canonical: https://www.ezgym.net/en/manual/1.0/guides/ev-charger-mercadopago | Language: en -->

# Charge for charging with QR and Mercado Pago

---

The driver scans the charger's QR code, chooses how much to charge and pays by card from their phone. Charging starts on its own and, when it ends, the driver pays only for what they used: whatever they didn't use is refunded automatically through Mercado Pago. You don't need to be there.

To get started you need:

- **Mercado Pago connected** to EzGYM. If you haven't done it yet, follow [Set up Mercado Pago payments](/en/manual/1.0/config/mercadopago): it's the same setup your invoices use.
- **The charger connected** to EzGYM (see [Electric vehicle chargers](/en/manual/1.0/guides/ev-chargers)).

<a name="activate"></a>
## 1. Turn on payments on the charger

1. Open **EV Chargers** and go into the charger.
2. Under **How do you want to use your charger?**, choose **Prepaid with QR** (people you don't know) or **Mixed** (your regulars charge with a card and pay at the end of the month; everyone else uses the QR code). It is further down the charger page. If the charger already has a mode, tap **Change mode** to see the other options.
3. Enter the **Price per kWh**, in your account's currency.
4. Choose the **Energy tax**.
5. Check that it says **Payment method connected: drivers can pay.**
6. Click **Use in Prepaid with QR mode** (or **Use in Mixed mode**).

![Prepaid with QR mode, price and tax](/images/tutorials/ev-charger-mercadopago/01-modo-prepago-precio-impuesto.webp)

<ol class="docs-shot-legend"><li><strong>Prepaid with QR</strong> mode.</li><li><strong>Price per kWh</strong>.</li><li><strong>Energy tax</strong>.</li><li>Payment method connected.</li><li><strong>Use in Prepaid with QR mode</strong>.</li></ol>

> {warning} If instead of the check mark you see **Connect MercadoPago or PayPal in Settings**, first finish [the Mercado Pago setup](/en/manual/1.0/config/mercadopago).

<a name="poster"></a>
## 2. Put up the poster with the QR code

On the same page, under **QR payments**, click **View and print the poster**. Print it on A4 and put it up where drivers can see it, next to each connector. The QR code never changes: if you turn payments off and on again, the poster still works.

![Poster with the charger's QR code](/images/tutorials/ev-charger-mercadopago/02-cartel-con-qr.webp)

<ol class="docs-shot-legend"><li><strong>View and print the poster</strong>.</li><li><strong>Copy link</strong>, if you want to send the payment link another way.</li></ol>

<a name="driver"></a>
## 3. What the driver sees

1. They plug in the car and scan the QR code with the phone camera. No app to download and no sign-up.
2. They see the price per kWh with taxes included and choose a maximum amount.
3. They tap **Pay** and pay by credit or debit card, with Mercado Pago, on the secure payment page.
4. Once the payment is approved, charging starts on its own. On the phone they follow the kWh and the amount.
5. Charging ends when it reaches what they paid, when the car is full or when they unplug it.
6. They're charged only for what they used and the rest is refunded automatically through Mercado Pago. If they left their email, they receive the receipt.

![Driver page: choose the amount and pay](/images/tutorials/ev-charger-mercadopago/03-conductor-elige-monto-y-paga.webp)

<ol class="docs-shot-legend"><li>Suggested amounts: they can also type another one.</li><li><strong>Pay</strong>: opens the payment page with Mercado Pago.</li></ol>

> {primary} Mercado Pago makes the refund to the same card. Depending on the bank, it may take a few days to show on the driver's statement.

<a name="test"></a>
## 4. Try a short charge

Before opening it to the public, do a test charge with Mercado Pago's test credentials and test card (see [Test before charging for real](/en/manual/1.0/config/mercadopago#section-5)): scan, pay a small amount, charge for a while and check in the charger's QR charges that the receipt was issued and the unused amount was refunded. Then paste the production credentials back.

<a name="troubleshooting"></a>
## If something doesn't work

| What happens | What to check |
|---|---|
| The driver doesn't see Mercado Pago | That the charger's price is in the currency of your Mercado Pago account's country: for example, a Uruguayan account only charges in UYU. |
| Nobody can pay for real | That **Settings → Mercado Pago** has the **production** credentials, not the test ones. |
| The driver paid and charging doesn't start | The webhook: URL with your `domain=`, **Pagos (legacy)** and **Order (Mercado Pago)** events, and the **Webhook Secret Key** saved (see [Set up the webhook](/en/manual/1.0/config/mercadopago#section-4)). |
| The page warns that the charger can't be used for payments | Follow [My charger is not compatible with QR](/en/manual/1.0/guides/ev-chargers#tutorial-qr-incompatible). |

Suggested amounts, minimum and maximum, time limits, the receipt and driver notices are set in **EV Chargers → QR payment settings**. All the details are in [QR payments](/en/manual/1.0/guides/ev-chargers#qr-payments).
