Add Order Detail

Pazaryeri_TP_Siparis_Detay_Ekle

This method is used to add order details.

RULE: The amount information to be sent for Tutar_Urun and Tutar_Odenecek parameters cannot be greater than the Net Amount information returned from the payment transaction. Sonuc_Str = “Net amount exceeded.”

Parameter Mandatory Type Length Description
G * Object - ST_WS_Guvenlik Object
ETS_GUID * String 36 Marketplace GUID value
Tutar_Urun * String - Represents the net amount after deducting the commission from the total product amount
Tutar_Odenecek * String - Represents the amount to be sent to the sub-member
SanalPOS_Islem_ID * String - Virtual POS transaction ID
GUID_AltUyeIsyeri * String 36 Sub-member workplace GUID value

G Object:

Parameter Mandatory Type Length Description
CLIENT_CODE * Integer 5 Terminal ID, will be provided by us.
CLIENT_USERNAME * String max 16 Username, will be provided by us.
CLIENT_PASSWORD * String max 11 Password, will be provided by us.
Parameter Type Length Description
Sonuc Integer 1 Result Value
Sonuc_Str String 150 Result Explanation, if Sonuc Parameter > 0, Transaction Successful, otherwise unsuccessful.
GUID_AltUyeIsyeri String 36 Sub-member workplace GUID value
Tutar_Urun String - Total product amount
Tutar_Odenecek String - Payable Amount
PYSiparis_GUID String 36 Marketplace Order GUID value
SanalPOS_Islem_ID String - Virtual POS transaction ID
<?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_Detay_Ekle xmlns="https://turkpos.com.tr/">
<G>
<CLIENT_CODE>10738</CLIENT_CODE> <CLIENT_USERNAME>Test</CLIENT_USERNAME> <CLIENT_PASSWORD>Test</CLIENT_PASSWORD>
</G>
<ETS_GUID>0C13D406-873B-403B-9C09-A5766840D98C</ETS_GUID>
<Tutar_Urun>1,75</Tutar_Urun>
<Tutar_Odenecek>1,75</Tutar_Odenecek>
<SanalPOS_Islem_ID>1247910825</SanalPOS_Islem_ID>
<GUID_AltUyeIsyeri>84715A8E-14D3-47B5-80F0-B833D8DE1057</GUID_AltUyeIsyeri>
</Pazaryeri_TP_Siparis_Detay_Ekle>
</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_Detay_EkleResponse xmlns="https://turkpos.com.tr/">
<Pazaryeri_TP_Siparis_Detay_EkleResult>
<Sonuc>1</Sonuc>
<Sonuc_Str>Başarılı işlem. Limit tutarı aşılmadı. Tahsilat alınabilir.</Sonuc_Str>
<GUID_AltUyeIsyeri>84715a8e-14d3-47b5-80f0-b833d8de1057</GUID_AltUyeIsyeri>
<Tutar_Urun>1,7500</Tutar_Urun>
<Tutar_Odenecek>1,7500</Tutar_Odenecek>
<PYSiparis_GUID>0055D51C-2E65-407D-9440-FAF6798164B3</PYSiparis_GUID>
<SanalPOS_Islem_ID>1065009715</SanalPOS_Islem_ID>
<Toplam_Tahsilat_Tutari>81</Toplam_Tahsilat_Tutari>
<Pazaryeri_Limit>35316</Pazaryeri_Limit>
<Yeni_Odenecek_Tutar>2</Yeni_Odenecek_Tutar>
</Pazaryeri_TP_Siparis_Detay_EkleResult>
</Pazaryeri_TP_Siparis_Detay_EkleResponse>
</soap:Body>
</soap:Envelope>