3D Model

Start Payment Process
Method Name: TP_WMD_UCD

The method is to start the payment process. The resulting 3D URL will be redirected and your credit card transaction will begin.

Transaction Hash Value Calculation:

Transaction Hash Value Calculation:
The SHA2B64 The SHA2B64 method of this service hash this value and converts it to Base64String as the value you pass to the parameter. As in the following example, combine these parameters using the string concatenation method appropriate to your language and send them to SHA2B64 The result is Islem_Hash value. Create the parameter formats that will generate the Process_Hash by looking at the Parameters to be Sent table. (Such as Islem_Tutar needs to be comma)

Dim Islem_Guvenlik_Str$ = CLIENT_CODE & GUID & Taksit & Islem_Tutar & Toplam_Tutar & Siparis_ID
Dim Islem_Hash$ = SHA2B64(Islem_Guvenlik_Str)
Calculation of Order Amount Including Commission

Comission Ratio: TP_Ozel_Oran_SK_Liste The commission rate payment method selected from installment.
Islem_Tutar: The amount of your order
Toplam_Tutar = Islem_Tutar + ((Islem_Tutar x Komisyon Oran) / 100)
is in the form of.

Nonsecure/3D ödeme işleminin başlatılacağı metottur. İşlem sonucu dönen 3D HTML ine yönlendirme yapılır ve kredi kartı ile ödeme işlemi başlar.

Parameters to Send:

Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
GUID * String 36 Key Belonging to Member Workplace
KK_Sahibi * String 100 Credit Card Holder
KK_No * String 16 Credit Card Number
KK_SK_Ay * String 2 Last 2 digit Expiration month
KK_SK_Yil * String 4 4 digit Expiration year
KK_CVC * String 3 CVC Code
KK_Sahibi_GSM * String 10 Credit Card holder GSM No, Without zero at the beginning (5xxxxxxxxx)
Hata_URL * String 256 If the payment fails, page address to be redirected to
Basarili_URL * String 256 If the payment is successful, page address to be redirected to
Siparis_ID * String 50 Singular ID for order-specific. If you have sent before this value, the system assings new Siparis_ID. As a result of this the Siparis_ID is returned.
Siparis_Aciklama String 250 Description of the order
Taksit * Integer 2 Selected number of installments. Send 1 for one installment.
Islem_Tutar * String - Order Amount, (only a comma with Kuruş format 1000,50)
Toplam_Tutar * String - Commission Including Order Amount, (only a comma with Kuruş format 1000,50)
Islem_Hash * String - Transaction Hash Value
Islem_Guvenlik_Tip * String - NS (NonSecure) or 3D are sent
Islem_ID String - Single ID except the Sipariş Id that belongs to transaction, optional.
IPAdr * String 50 IP Address
Ref_URL String 256 URL of page where payment is made
Data1 String 250 Extra Space 1
Data2 String 250 Extra Space 2
Data3 String 250 Extra Space 3
Data4 String 250 Extra Space 4
Data5 String 250 Extra Space 5

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

Result Parameters:

Parameter Type Length Description
Islem_ID String - SID value
Islem_GUID String - Transaction GUID Value
UCD_HTML String - 3D HTML code
UCD_MD String - 3D MD value
Sonuc String - The transaction result
Sonuc_Str String - The transaction result explanation
Bank_Trans_ID String - Bank transfer ID
Bank_AuthCode String -
Bank_HostMag String -


Withdrawal Transaction with the MD Value
Method Name: TP_WMD_Pay

It is used to complete the withdrawal transaction with the MD value.

Parameters to Send:

Parameter Required Type Length Description
G * Object - ST_WS_Guvenlik Object
GUID * String 36 Key Belonging to Member Workplace
UCD_MD * String - 3D MD value
Islem_GUID * String - Transaction GUID Value
Siparis_ID * String - Singular ID for Order-specific. If you have sent before this value the system is new Assign order_ID. As a result of this The order_ID is returned.

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

Result Parameters:

Parameter Type Length Description
Sonuc String - The transaction result
Sonuc_Ack String - The transaction result explanation
Dekont_ID String - Transaction’s receipt ID
Siparis_ID String - Order ID
UCD_MD String - 3D MD value
Bank_Trans_ID String - Bank transfer ID
Bank_AuthCode String -
Bank_HostMag String -