我使用的.Net從的2Checkout獲取返回參數面臨的一個問題,我目前的工作演示模式,產品列表中成功發送到的2Checkout以及何時返回(x_receipt_link_url)沒有發生,通知購買已經完成,雖然我加入一個模塊來獲取返回參數, 我使用這樣的事情,但不同的價值觀無法獲取的2Checkout返回參數
//Check for response from 2Checkout
if (Request.Params["credit_card_processed"] != null)
{
//Initialize returned parameters
string key = Request.Params["key"];
string sid = "1303908";
string secret_word = "tango";
string merchant_order_id = Request.Params["merchant_order_id"];
string order_number = Request.Params["order_number"];
string total = Request.Params["total"];
//Compute our hash
string string_to_hash = secret_word + sid + order_number + total;
string our_hash = getMd5Hash(string_to_hash);
//Compare hashes and update response string
if (our_hash != key)
{
response = "ERROR: MD5 hash did not match!";
}
else
{
response = "Thank you for your Order!";
}
}
請諮詢? 感謝您的幫助。
感謝您的回覆。 – yousra
你的回答是解決方案的一部分,而另一部分則是,我必須改變林後的設置帳戶才能使用直接回報的選擇頭球回傳。並解決了這個問題 – yousra