Skip to content

Mercado Pago, PayPal and TEF

Payment Gateway Integration

I connect sales systems and online stores to payments: gateways such as Mercado Pago and PayPal, Pix, TEF and Smart POS terminals. And I take care of the part that usually causes headaches: dropped connections, refunds, double charges and the invoice going out together with the payment.

Main tools

  • Mercado Pago
  • PayPal
  • Pix
  • TEF : Card payments integrated into the system
  • SiTef
  • Smart POS : Android-based card terminal

What I do

Mercado Pago and PayPal integration

I integrate checkout, payment links and API charges, with webhook confirmation so the system knows the moment the money comes in. Every charge carries an idempotency key, so a repeated request never turns into two charges.

  • Embedded checkout and payment links
  • Pix, card and boleto through the gateway
  • Webhooks for confirmation, refunds and chargebacks

TEF and SiTef integration at the point of sale

In brick-and-mortar retail, TEF (Brazil's integrated card payment standard) links the sales system straight to the card terminal, so nobody types the amount twice. I work on the whole flow: authorization, confirmation, cancellation and handling pending transactions when something fails mid-sale.

Smart POS payments

I build applications that run directly on Smart POS terminals, which are Android devices. The sale and the charge happen on the same device, with no checkout computer next to it.

NF-e and NFC-e invoicing with the payment

Payments and invoices go together in Brazil. I integrate electronic invoicing into the sales flow, so the invoice goes out with the payment and tax authority (SEFAZ) rejections are handled without blocking the checkout.

Stack and technologies

What these integrations usually involve:

  • Mercado Pago
  • PayPal
  • Pix
  • TEF : Card payments integrated into the system
  • SiTef
  • Smart POS : Android-based card terminal
  • Webhooks
  • REST APIs
  • C#
  • .NET
  • Kotlin
  • Android
  • NF-e / NFC-e : Brazilian electronic invoice
  • SQL Server

How an integration project works

  1. 1

    Discovery

    I learn the current system, its language and database, and how sales happen today.

  2. 2

    Flow design

    I define how sale, payment and invoice behave in every scenario, including network loss, cancellation and refunds.

  3. 3

    Implementation and testing

    I build against the gateway's sandbox, covering the error cases and not only the approved payment.

  4. 4

    Rollout and follow-up

    I follow the go-live and the first days of reconciliation to make sure nothing is left pending.

  • Fully remote
  • Payment via Pix, card or PayPal

Payment gateway FAQ

Which gateway makes sense for me?

It depends on how you sell. For an online store and Pix, Mercado Pago usually works well in Brazil; if you sell abroad, PayPal helps. At the counter, TEF or Smart POS. In the first conversation we work out what fits your volume.

Can you integrate it into the system I already have?

In most cases, yes. I learn how your system sells today and fit the payment into that flow, without rewriting the rest.

What happens if the internet drops mid-payment?

That is the scenario that deserves the most care. The system records the transaction state before each step and, when the connection returns, confirms or undoes the payment. The customer is not charged twice and the sale is not lost.

What is the difference between TEF and a regular card terminal?

With a regular terminal the operator types the amount and the sale stays disconnected from the system. With TEF the system sends the amount and gets the result back, which avoids typos and makes end-of-day reconciliation easier.

Can invoicing be part of the same project?

It can. I have experience with NF-e and NFC-e issued together with the payment, so both can be solved at once.

Need payments in your system?

Tell me which system, language and payment methods you have in mind. I will reply with the open questions and the path I would take.

contato@jdaltonlins.dev