Skip to content

Configuration

Orders > Bank virtual POS > Bank profiles. One profile per bank agreement.

Field What it does
Gateway NestPay (Payten / Asseco), Garanti BBVA Virtual POS, Yapı Kredi POSNET or VakıfBank VPOS 7/24. Fixed after the profile is created.
Bank NestPay only: the bank that gave you the NestPay terminal. Its live gateway address is filled in; for Other bank (and banks without a preset) enter both addresses from the bank’s documents.
Payment model See the table below.
Mode Test uses the bank’s test environment and the test credentials, Live the live ones. Both sets are stored.
Default bank Takes every card that no other rule assigns. One per storefront.
Position Order of the profiles when two offers are equal.
Credentials Stored encrypted. Leave a secret field empty to keep the stored value.
Gateway URLs Leave empty to use the address shown (from the bank’s integration guide), or enter the one from your bank’s documents.
Card programmes Programmes this POS takes instalments for (normally the bank’s own).
Instalments for cards not in the BIN table Off: only credit cards whose programme is known get instalment offers. On: any card may choose this bank’s plans (the bank declines cards outside its programme).
Currencies Currencies of your agreement. An order in another currency is charged in TRY when the store has TRY. Instalments are offered in TRY only.
Instalment table Tick each count (2-12) the agreement offers; the surcharge (%) is added to the order total; the minimum is the smallest order total in TRY for that count.
Gateway Model Card typed on BIN routing How the sale is done
NestPay 3D Pay your store yes the bank charges after 3D Secure; the signed answer is read back with an order status query
NestPay 3D Pay Hosting the bank’s page no (default bank) as 3D Pay
NestPay 3D your store yes after 3D Secure your store sends the sale (XML API)
Garanti BBVA 3D_PAY your store yes the bank charges after 3D Secure; read back with an order inquiry
Garanti BBVA 3D_OOS_PAY the bank’s page no (default bank) as 3D_PAY
Garanti BBVA 3D your store yes after 3D Secure your store sends the provision (XML)
Yapı Kredi POSNET 3D Secure (OOS / TDS) your store yes your store sends the sale after the 3D check (oosTranData)
VakıfBank 3D Secure (MPI + VPOS) your store yes your store sends the VPOS sale with the 3D data

When the default bank uses a hosted model, the card page shows only the instalment choice and sends the customer to that bank’s page; the other profiles are not used for routing.

Card data typed on your store is sent to the bank in the same request and is not stored. VakıfBank needs the card again for the sale after 3D Secure: it is kept encrypted for that one step with a one-time key that travels through the bank, and wiped after the sale or after 30 minutes.

The payment model decides how much of the PCI DSS (card industry security standard) applies to your store.

  • Card form on your store (NestPay 3D Pay and 3D, Garanti 3D_PAY and 3D, POSNET, VakıfBank): the card number, expiry and CVV are posted to your store server and passed on to the bank. A store that handles card data this way is in the full PCI DSS scope (self-assessment questionnaire SAQ D): your server, hosting and processes must meet the standard, and your bank or acquirer may ask for evidence. The add-on never writes the card to the session, the logs or the order (only the first six and last four digits), but that does not remove the scope.
  • Bank page (NestPay 3D Pay Hosting, Garanti 3D_OOS_PAY): the customer types the card on the bank’s own page and the card never reaches your server, so the PCI burden stays minimal. Where your bank offers a hosted model, we recommend it.

This page describes how the add-on handles card data; it is not a statement that your store is or becomes PCI compliant. Ask your bank which questionnaire applies to you.

The instalment surcharge is added to the order total after the bank confirmed the payment, as the order’s payment surcharge, without tax: the add-on does not add VAT to it. In Turkey the instalment difference is normally part of the VAT base; ask your accountant how to invoice it. On Multi-Vendor the surcharge is shared over the vendor orders by their totals for display and stays with the marketplace owner; vendor payouts are not changed until an order is edited and placed again.

For each card the add-on reads the first 6 to 8 digits in the BIN table:

  1. Single payment: the card’s own bank, if you have a profile for it (“on-us”, usually the lowest rate); else a bank of the card’s programme; else the default bank.
  2. Instalments (credit cards of a known programme, TRY): every bank whose programmes include the card’s programme offers its counts; for each count the lowest surcharge wins (then the card’s own bank, then the position).

The server decides the bank again when the card is submitted; the browser never chooses it.

Orders > Bank virtual POS > BIN table. Banks give their merchants BIN lists; import them as CSV (comma or semicolon separated, header row):

bin,issuer,family,card_type,scheme,commercial
540669,garanti,bonus,credit,mastercard,N
454671,isbank,maximum,credit,visa,N
  • bin: 6 to 8 digits. The longest matching prefix wins.
  • issuer: bank code: akbank, albaraka, anadolubank, denizbank, fibabanka, garanti, halkbank, hsbc, ing, isbank, kuveytturk, odeabank, qnb, sekerbank, teb, turkiyefinans, vakifbank, vakifkatilim, yapikredi, ziraat, ziraatkatilim, other.
  • family: bonus, world, maximum, axess, cardfinans, paraf, bankkart, advantage, saglam, other (empty = none).
  • card_type: credit, debit, prepaid. Only credit cards get instalment offers.
  • scheme and commercial are optional.

The add-on ships no BIN data. With an empty table every card goes to the default bank as a single payment.

Add-ons > Manage add-ons > Turkish Bank Virtual POS > Settings.

Setting Default What it does
Enabled Yes Off hides the payment method at checkout.
Order status when paid / failed / canceled Processed / Failed / Canceled Statuses the add-on sets. A paid order never goes back.
Refund when the order status becomes (none) Refunds the rest of the payment through the queue when an order reaches this status (void on the payment day, refund later).
Card attempts per order 5 After this many declined attempts the order is set to the failed status.
Show the instalment table on product pages Yes Monthly amount and total per programme, from your bank profiles (TRY).
Debug log No Also logs the bank requests and answers, with card numbers, CVV, passwords and keys masked.
Log retention (days) 90 Older log rows are deleted by the cron job.
Permanently delete all payment records on uninstall No See Installation.

The queue reads back payments whose customer did not come back from the bank, runs queued refunds and a daily connection check per bank profile. Add one of the two lines shown under Settings > Cron, every 5 minutes:

php /path/to/store/admin.php --dispatch=kv_turkish_bank_pos.cron

or call the secret address shown there (index.php?dispatch=kv_turkish_bank_pos.cron&key=...).