Tag: authorize.net

(13)商家登录ID或密码无效或帐户无效

我想使用asp.net在我的网站上实现Authorize .net支付网关。 我是这方面的初学者。 有人可以给我一个示例代码,我可以将其重定向到Authorize.net页面以完成付款流程。 我创建了一个沙箱帐户。 重定向URL – https://test.authorize.net/gateway/transact.dll但我收到错误 (13)商家登录ID或密码无效或帐户无效。 我的帐户处于有效状态且处于测试模式 我的代码: protected void Button_pay_Click(object sender, EventArgs e) { string value = TextBox_amt.Text; decimal d = decimal.Parse(value); Run(“abc”, “abcq234”, d); } public static ANetApiResponse Run(String ApiLoginID, String ApiTransactionKey, decimal amount) { Console.WriteLine(“Create an Accept Payment Transaction Sample”); ApiOperationBase.RunEnvironment = AuthorizeNet.Environment.SANDBOX; // define the merchant information (authentication […]