Skip to content
Bank virtual pos

TEB Virtual POS Integration

TEB Bonus loyalty card installments and EST 3D Secure merchant integration.

Better Payment
Bonus card installment matrix3D Secure 2.x supportSecure hash verification
Protocol

EST (Nestpay) XML

Auth

HASH ver3

3D Secure

Included

3d / 3d_pay / 3d_pay_hosting

Dependencies

0

Capabilities

Full TEB support

  • Bonus card installment matrix
  • 3D Secure 2.x support
  • Secure hash verification

How a request flows

  1. 1

    createPayment / initThreeDSPayment

    One typed request, translated into TEB's format.

  2. 2

    EST (Nestpay) XML · HASH ver3 · SHA-512

    Signatures and field mappings are generated for you.

  3. 3

    Callback verification

    The signature is compared in constant time and the order match is checked.

  4. 4

    Normalized result

    Success, error code and transaction id come back in one shape.

Connect in one config.

Hand over your credentials; Better Payment handles the rest.

payment-teb.tsTypeScript
import { createBetterPayment } from "better-payment";

const payment = createBetterPayment({
  defaultProvider: "teb",
  providers: {
    teb: {
      clientId: process.env.TEB_CLIENT_ID!,
      username: process.env.TEB_USERNAME!,
      password: process.env.TEB_PASSWORD!,
      storeKey: process.env.TEB_STORE_KEY!
    }
  }
});