C# 检测到不支持的HTTP请求方法

C# 检测到不支持的HTTP请求方法,c#,payment,C#,Payment,现在,我正在使用quickpay向我的网站支付一些费用,当我试图进入页面时,我需要将我的付款情况通知给另一方,因此针对此错误: Message Error Detected An unrecoverable message error has been detected with the following information: Unsupported HTTP request method detected - please use HTTP POST request Please

现在,我正在使用quickpay向我的网站支付一些费用,当我试图进入页面时,我需要将我的付款情况通知给另一方,因此针对此错误:

Message Error Detected

An unrecoverable message error has been detected with the following information:

Unsupported HTTP request method detected - please use HTTP POST request

Please correct the problem and re-submit.
当我发送信息给他们时,我喜欢这样:

string okpage_value = "/PayContinue";
            string errorPage_value = "/PayError";
            string resultpage_value = "/PayCallback";
Html

在我的hidden by continueurl和cancelurl以及callbackurl中,我这样编写了它们:

string okpage_value = "/PayContinue";
            string errorPage_value = "/PayError";
            string resultpage_value = "/PayCallback";

重定向是一个get请求;您需要设置submit按钮的PostBackURL属性,该属性不会发回您的站点,而是发回Quickpay站点。看


看起来它应该可以工作:

您需要阅读quickpay支付实施指南,了解支持的/可用的HTTP请求方法。接受的方法在错误消息-HTTP POST中说明。您需要构造并发送一个POST请求,而不是浏览器重定向。@Avijit我在丹麦语中哪里可以找到它?我根本找不到它。@Jesperpersen您可能需要使用谷歌翻译工具将其从英语翻译成丹麦语。哦,太好了!!它现在工作了,现在它来了,说QuickpayId丢失/无效
string okpage_value = "/PayContinue";
            string errorPage_value = "/PayError";
            string resultpage_value = "/PayCallback";
<asp:button id="paybutton" runat="server"
  text="Pay with QuickPay" 
  postbackurl="..url.." >
</asp:button>