Order Confirmation

Pazaryeri_TP_Siparis_Onay

This method is used on the Marketplace to authorize the product for money transfer if the transaction has gone through without any problems.

ROLE: When order durum=1 (Approved); payment due date information is determined. Payments start to be sent in the morning working hours on the due date. For Order Cancellation; If Durum=1, first Durum=0, then Durum= -1.

Status Code Description
0 Awaiting Approval Used in parameters to be sent.
1 Approved (If status is 1, it is the previous status) Used in parameters to be sent.
-1 Cancelled (status code valid only for order cancellations. For order cancellations, status must be set to 0 first) Used in parameters to be sent.
12 Cancelled (status code valid for both order and payment cancellations) Used in parameters to be sent.
13 Refunded Used in parameters to be sent.


Parameter Mandatory Type Length Description
G * Object - ST_WS_Guvenlik object
PYSiparis_GUID * String 36 Marketplace Order GUID value
Durum * String - Order status code
Parameter Type Length Description
Sonuc Integer 1 Result Value
Sonuc_Str String 150 Result Description, if the Result Parameter > 0, the operation is successful, otherwise it is unsuccessful.
POS_Islem_Id String - Transaction ID value
GUID_AltUyeIsyeri String 36 Sub-member business GUID value
Tutar_Urun String - Total product amount
Tutar_Odenecek String - Amount to be paid
Durum String - Status code
Durum_Str String - Status Description
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Pazaryeri_TP_Siparis_Onay xmlns="https://turkpos.com.tr/">
<G>
<CLIENT_CODE>10738</CLIENT_CODE>
<CLIENT_USERNAME>Test</CLIENT_USERNAME>
<CLIENT_PASSWORD>Test</CLIENT_PASSWORD>
</G>
<PYSiparis_GUID>2540E9E6-4733-4C45-99C6-C1B0F896136F</PYSiparis_GUID>
<Durum>1</Durum>
</Pazaryeri_TP_Siparis_Onay>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Pazaryeri_TP_Siparis_OnayResponse xmlns="https://turkpos.com.tr/">
<Pazaryeri_TP_Siparis_OnayResult>
<POS_Islem_Id>1065004720</POS_Islem_Id>
<GUID_AltUyeIsyeri>84715a8e-14d3-47b5-80f0-b833d8de1057</GUID_AltUyeIsyeri>
<Tutar_Urun>1,8900</Tutar_Urun>
<Tutar_Odenecek>1,8900</Tutar_Odenecek>
<Durum>1</Durum>
<Durum_Str>Sipariş Durum Güncellendi</Durum_Str>
<Sonuc>1</Sonuc>
<Sonuc_Str>Başarılı</Sonuc_Str>
</Pazaryeri_TP_Siparis_OnayResult>
</Pazaryeri_TP_Siparis_OnayResponse>
</soap:Body>
</soap:Envelope>