我一直在使用paypal按钮,当我通过Visual Studio运行它时工作正常但是当我通过IIS运行它时它不会重定向到paypal。我没有关于如何使其工作的想法。救命啊!
我的代码如下所示:
{string url = "";
string business = "samplemerchantproj@yahoo.com";
string description = "Buy";
string country = "US";
string currency = "PHP";
string amount = Label1.Text;
url += "https://www.sandbox.paypal.com/cgi-bin/webscr" +
"?cmd=" + "_xclick" +
"&business=" + business +
"&amount=" + amount +
"&lc=" + country +
"&item_name=" + description +
"¤cy_code=" + currency +
"&bn=" + "PP%2dBuyNowBF";
System.Diagnostics.Process.Start(url);
}