Asp.net web sitemde Paypal'ı entegre ettim, Bazı bilgisayarlarda mükemmel çalışıyor, diğerleri ise bunu yapmıyor.GetExpressCheckoutDetails, asp.net'de (yalnızca bazı bilgisayarlarda) oturumun süresi dolduğunu (10411 hatası) döndürür (yalnızca bazı bilgisayarlarda)
DÜZENLEME:
şeyler ben paypal ile ödeme yapabilirsiniz yarıyor gözüküyor ve GetExpressCheckoutDetails çağırır sonra ne zaman 10411 döndürür: çözüm
sorun arayan sorunu ama nadas olarak edilir bulundu hata Ben fallowing koduyla GetExpressCheckoutDetails çağrı
'bu ekspres kasada oturumu süresi doldu':
public bool GetDetails(string token, ref NVPCodec decoder, ref string retMsg)
{
if (bSandbox)
{
pendpointurl = pendpointurl_SB;
host = host_SB;
SetCredentials(APIUsername_SB, APIPassword_SB, APISignature_SB);
}
NVPCodec encoder = new NVPCodec();
encoder["METHOD"] = "GetExpressCheckoutDetails";
encoder["TOKEN"] = token;
string pStrrequestforNvp = encoder.Encode();
string pStresponsenvp = HttpCall(pStrrequestforNvp);
decoder = new NVPCodec();
decoder.Decode(pStresponsenvp);
string strAck = decoder["ACK"].ToLower();
if (strAck != null && (strAck == "success" || strAck == "successwithwarning"))
{
return true;
}
else
{
retMsg = "ErrorCode=" + decoder["L_ERRORCODE0"] + "&" +
"Desc=" + decoder["L_SHORTMESSAGE0"] + "&" +
"Desc2=" + decoder["L_LONGMESSAGE0"];
return false;
}
}
Bu yalnızca bazı bilgisayarlarda olur ... ve oturumu henüz sona olmamalıdır değil hemen tamamlanır.
Hata yaptığım hakkında bir fikriniz var mı? Herhangi biri lütfen yardım edebilir misiniz ???
Çok teşekkür ederim!
Hatayı döndüren API yanıtının bir kopyasını sağlayabilir misiniz? Bir korelasyon numarası arıyorum – Gerzie