Obavijest
Da biste dohvatili detalje transakcije, morate koristiti upit:
TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
Slouží k získání detailů o provedené transakci. Tuto metodu má smysl používat v případě, že byl dokončen předchozí krok – transakce byla dokončena, viz Krok 3: Stav transakce
void TransactionInquire(String transactionId, IInquireResultListener listener) throws RemoteException
Vstupní transaction ID se vygeneruje během prvního kroku, viz Krok 1: Registrace transakce
Pole / Field
rezultat
responseMessage
trasanctionID
vrsta transakcije
ID trgovca
identifikacijski broj terminala
kôd valute
amount
iznos
cashbackAmount
brojkartice
cardDataEntry
approvedCode
broj referencije
traceNumber
date
time
emvAppLabel
broj sekvence
batchNumber
cardProduct
pinOK
merchantInfo
emvAid
cardHolderVerificationMethod
externalTransactionID
totalamount
receiptNumber
blikCode
dccData:
status
amount
kôd valute
exchangeRate
markup
regionSchemaIndicator
vrsta
Cijeli broj
Niz
Niz
Cijeli broj
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Niz
Cijeli broj
Cijeli broj
Cijeli broj
Cijeli broj
Niz
Niz
Niz
Niz
Niz
Niz
Neobavezno / Optional
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Informacije o iznosu
Formati bilo kojeg iznosa su uvijek na 2 decimalna mjesta *100, što znači da se, na primjer, 50,25 CZK popunjava kao 5025 CZK.
Ime / Name
vrsta
Neobavezno / Optional
resultCode
Cijeli broj
ne
transactionId
Niz
Da
ID klijenta
Niz
Da
responseMessage
Niz
Da
error
ErrorResultEntity
Da
Objašnjenje polja
Field
Opis
rezultat
HR: Označava rezultat transakcije (npr. 0 znači uspješnu transakciju).
EN: Indicates the result of the transaction (e.g. 0 means successful transaction).
EN: Indicates the result of the transaction (e.g. 0 means successful transaction).
responseMessage
HR: Prikazuje rezultat transakcije iz autorizacije (npr. 201)
EN: Displays the transaction result from authorization (e.g. 201)
EN: Displays the transaction result from authorization (e.g. 201)
ID transakcije
HR: Jedinstveni ID koji je generirao aplikacija za plaćanje tijekom procesa registracije transakcije.
EN: Unique ID generated by payment app during the transaction registration process.
EN: Unique ID generated by payment app during the transaction registration process.
vrsta transakcije
HR: Vrsta transakcije definira vrstu transakcije koju želite pokrenuti. Dostupne vrijednosti su:
1 - Prodaja 2 - Otkazivanje transakcije 4 - Zatvaranje EN: Defines the transaction type. Available values are:
1 - Sale, 2 - Transaction cancellation, 4 - Close batch / Close day
1 - Prodaja 2 - Otkazivanje transakcije 4 - Zatvaranje EN: Defines the transaction type. Available values are:
1 - Sale, 2 - Transaction cancellation, 4 - Close batch / Close day
ID trgovca
HR: Jedinstveni ID trgovca, koji je obično ID lokacije.
EN: Unique merchant ID, usually location ID
EN: Unique merchant ID, usually location ID
identifikacijski broj terminala
HR: ID terminala na kojem se obrađuju transakcije. Identificira terminal unutar GP sustava.
EN: Unique terminal ID, on which the transaction is processed.
EN: Unique terminal ID, on which the transaction is processed.
kôd valute
HR: Troznamenkasti ISO kodovi valuta – popis možete pronaći na stranici Wiki.
EN: Three chars currency ISO code.
EN: Three chars currency ISO code.
amount
HR: Iznos određuje obujam transakcije. Ovaj se iznos izračunava u lokalnoj valuti koju terminal koristi. Na kraju dana uključuje sve kartične transakcije, pri čemu se krediti oduzimaju od debitnih transakcija.
EN: The amount determines the volume of the transaction. This amount is calculated in the domestic currency used by the terminal. At close day, it contains all card transactions, credited minus debit.
EN: The amount determines the volume of the transaction. This amount is calculated in the domestic currency used by the terminal. At close day, it contains all card transactions, credited minus debit.
iznos
HR: Napojnica. Popunjeno ako je unesena napojnica.
EN: Tip. Filled in if needed.
EN: Tip. Filled in if needed.
cashbackAmount
HR: Iznos povrata novca popunjava se kada se koristi transakcija povrata novca.
EN: The cashback amount is filled in when a cashback transaction is used.
EN: The cashback amount is filled in when a cashback transaction is used.
brojkartice
HR: Broj kartice (PAN). Prisutan je u maskiranom obliku. Primjer: "479608********1859"
EN: Card Number (PAN). It is present in masked form. Example: "479608********1859"
EN: Card Number (PAN). It is present in masked form. Example: "479608********1859"
cardDataEntry
HR: Označava korištenu metodu za čitanje kartice. Moguće vrijednosti:
MANUAL - ručni unos
ICC - čip
CTLS - beskontaktno
MAG - magnetska traka.
EN: Označava korištenu metodu za čitanje kartice. Moguće vrijednosti:
MANUAL - ručni unos
ICC - čip
CTLS - beskontaktno
MAG - magnetska traka.
MANUAL - ručni unos
ICC - čip
CTLS - beskontaktno
MAG - magnetska traka.
EN: Označava korištenu metodu za čitanje kartice. Moguće vrijednosti:
MANUAL - ručni unos
ICC - čip
CTLS - beskontaktno
MAG - magnetska traka.
approvedCode
HR: Ispunjava se samo ako je transakcija odobrena.
EN: Is present just if the transaction is processed.
EN: Is present just if the transaction is processed.
broj referencije
HR: Broj referencije naveden pri zahtjevu za plaćanje.
EN: reference number entered during the payment
EN: reference number entered during the payment
traceNumber
CZ:
date
HR: Datum obrade transakcije u sustavu autorizacije.
EN: Date when transaction was processed.
EN: Date when transaction was processed.
time
HR: Vrijeme obrade transakcije u sustavu autorizacije.
EN: Time when transaction was processed.
EN: Time when transaction was processed.
emvAid
HR: Identificira EMV aplikaciju korištenu za obradu transakcije - npr. Visa Debit
EN: Identifies the EMV app used for transaction processing - for instance Visa Debit
EN: Identifies the EMV app used for transaction processing - for instance Visa Debit
emvAppLabel
HR: Naziv EMV-a koji je korišten za plaćanje.
EN: card label of used card
EN: card label of used card
broj sekvence
HR: Koristi se za otkazivanje transakcija. Koristite vrijednost primljenu kao dio transakcije koju želite otkazati.
EN: Used for transaction cancellation. Used the received value which was a part of transaction you want to cancel.
EN: Used for transaction cancellation. Used the received value which was a part of transaction you want to cancel.
batchNumber
HR: Identificira broj zatvaranja. Ispuniti pri zahtjevu za zatvaranje.
EN: Defines batch number. Present during the close batch transaction.
EN: Defines batch number. Present during the close batch transaction.
cardProduct
HR: Moguće vrijednosti su:
VISA
MASTER
AMEX
DISCOVERY
EN: Possible values:
VISA
MASTER
AMEX
DISCOVERY
VISA
MASTER
AMEX
DISCOVERY
EN: Possible values:
VISA
MASTER
AMEX
DISCOVERY
Potvrdi OK
HR: Označava je li unesen PIN.
EN: Shows whether the PIN was entered
istina/laž
EN: Shows whether the PIN was entered
istina/laž
merchantInfo
HR: Prikazat će se podaci o adresi trgovca.
EN: Shows address of the merchant.
EN: Shows address of the merchant.
cardHolderVerificationMethod
HR: Prikazuje provjeru vlasnika platne kartice korištene za plaćanje (PIN, Nema).
EN: Shows verification method of the card holder (Pin, None).
EN: Shows verification method of the card holder (Pin, None).
externalTransactionID
HR: Identifikacijski broj transakcije u GP tom aplikaciji
EN: Transaction identification number in the GP tom application
EN: Transaction identification number in the GP tom application
ukupniIznos
HR: Ukupan iznos, uključujući napojnicu, koji je plaćen.
EN: Whole amount which was paid included tip.
EN: Whole amount which was paid included tip.
receiptNumber
HR: Identifikacijski broj računa
EN: Receipt identification number
EN: Receipt identification number
blikCode
HR: Šesteroznamenkasti numerički kod koji se unosi prije plaćanja.
EN: A six-digit numerical code that must be entered before making a payment.
EN: A six-digit numerical code that must be entered before making a payment.
status (DCC)
HR: Označava DCC status. Ako je "ACCEPTED", transakcija je izvršena putem DCC-a i morate ispuniti potvrdu s DCC podacima. Ako je "NOT_ACCEPTED", tada možete zanemariti DCC podatke.
EN: Indicates the DCC status. If "ACCEPTED", the transaction was made via DCC and you must fill in the receipt with DCC data. If "NOT_ACCEPTED", then you can ignore the DCC data.
EN: Indicates the DCC status. If "ACCEPTED", the transaction was made via DCC and you must fill in the receipt with DCC data. If "NOT_ACCEPTED", then you can ignore the DCC data.
amount (DCC)
HR: Iznos transakcije u DCC valuti - u valuti kupčeve kartice. Mora biti prikazan točno onako kako dolazi u API odgovoru, uključujući broj decimalnih mjesta.
EN: Transaction amount in DCC currency - in the currency of the customer's card. You must present it on your receipt exactly as received through API response including correct decimal numbers.
EN: Transaction amount in DCC currency - in the currency of the customer's card. You must present it on your receipt exactly as received through API response including correct decimal numbers.
currencyCode (DCC)
HR: Valuta kartice kupca.
EN: Currency of the customer's card.
EN: Currency of the customer's card.
exchangeRate (DCC)
HR: Označava tečaj. Ova vrijednost je u lokalnoj valuti terminala. Mora se prikazati točno onako kako dolazi u API odgovoru, uključujući broj decimalnih mjesta.
EN: Indicates the exchange rate. This value is in the local terminal currency. You must present it on your receipt exactly as received through API response including correct decimal numbers.
EN: Indicates the exchange rate. This value is in the local terminal currency. You must present it on your receipt exactly as received through API response including correct decimal numbers.
markup (DCC)
HR: Doplata za tečaj konverzije. Mora biti prikazan točno onako kako dolazi u API odgovoru, uključujući broj decimalnih mjesta.
EN: Markup for the conversion rate. You must present it on your receipt exactly as received through API response including correct decimal numbers.
EN: Markup for the conversion rate. You must present it on your receipt exactly as received through API response including correct decimal numbers.
regionSchemaIndicator (DCC)
HR: Označava je li kartica kupca izdana unutar EU ili izvan nje. Ako je vrijednost "0" ili "1", na računu se mora prikazati tekst "Markup". Ako je vrijednost "2", na računu se mora prikazati tekst "Markup preko ECB tečaja".
EN: Indicates whether the customer's card was issued within the EU or outside. If the value is "0" or "1", the text "Markup" needs to be displayed on the receipt. If the value is "2", the text "Markup over ECB rate" needs to be displayed on the receipt.
EN: Indicates whether the customer's card was issued within the EU or outside. If the value is "0" or "1", the text "Markup" needs to be displayed on the receipt. If the value is "2", the text "Markup over ECB rate" needs to be displayed on the receipt.
