.Net を使用して 2Checkout から戻りパラメータをフェッチする際に問題に直面しています。現在、デモ モードで作業しています。製品リストは 2checkout に正常に送信され、(x_receipt_link_url) に戻ると、追加しているにもかかわらず、購入が完了したことが通知されません。戻りパラメータを取得するためのブロック、私はこのようなものを使用していますが、値が異なります
//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!";
}
}
親切にアドバイス?ご協力いただきありがとうございます。