Transaction Query

Method Name: TP_Islem_Sorgulama

You can find out if the transaction is successful, unsuccessful, canceled or returned.

After the TP_Islem_Operation method, you can also query the status of the operation with this method when an error occurs during the POST, depending on the success or failure of the operation following the entry of the credit card 3D password information, Basarili_URL or Error_URL.

Parameters to Send:

Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
GUID * String 36 Key Belonging to Member Workplace
Dekont_ID * String - Dekont_ID which is POSTed after successful transaction, optional.
Siparis_ID String - Posted Order ID after successful transaction.
Islem_ID String - Transaction ID sent to TP_Islem_Odeme method, optional.

*Non-required fields must be submitted with empty values.

You can query the transaction status by sending any of Dekont_ID, Order_ID, and Islem_ID. If you only want to query with Islem_ID here, make sure you send a unique Islem_ID in your orders.

Result Parameters:

Parameter Type Length Description
Sonuc Integer - The transaction result
Sonuc_Str String - Transaction result explanation
Odeme_Sonuc String - Payment Result
Odeme_Sonuc_Aciklama String - Payment Result Description
Dekont_ID Long - Receipt Information, If it is unsuccesful it returns “0”, if it is successful it returns greater than “0”
Siparis_ID String - Order ID
Islem_ID String - Islem_ID send from method
Toplam_Tutar String - Amount of the order that includes commission
Taksit Integer 2 Installment information
Ext_Data String - In payment method Data1, Data2, Data3, Data4, Data5 parameters combined with “|” returns.

Sample Result Parameters:



<DT_Bilgi>
    <DT_Islem_Sorgulama diffgr:id="DT_Islem_Sorgulama1" msdata:rowOrder="0">
        <Odeme_Sonuc>1</Odeme_Sonuc>
        <Odeme_Sonuc_Aciklama>İşlem Başarılı</Odeme_Sonuc_Aciklama>
        <Tarih>17.11.2015 14:49:19</Tarih>
        <Dekont_ID>1009834621</Dekont_ID>
        <Siparis_ID />
        <Islem_ID />
        <Komisyon_Oran>1.7500</Komisyon_Oran>
        <Komisyon_Tutar>1.7500</Komisyon_Tutar>
        <Toplam_Tutar>1.0000</Toplam_Tutar>
        <Taksit>1</Taksit>
        <Ext_Data>||||</Ext_Data>
    </DT_Islem_Sorgulama>
</DT_Bilgi>
<Sonuc>1</Sonuc>
<Sonuc_Str>Success</Sonuc_Str>