访问被拒绝-用户无权访问银联(WireCard)中请求的操作

问题描述 投票:1回答:1

我已使用Wirecard银联卡付款,但返回访问被拒绝-用户无权执行所请求的操作!错误。

以下是沙箱详细信息;

{
        "MerchantAccountId": "7139c728-cc91-11e3-ac9f-00163e1a318d",
        "PaymentMethod": "chinapay",
        "Mode": "sandbox",
        "UserName": "70000-APILUHN-CARD",
        "Password": "8mhwavKVb91T",
        "Url": "https://api-test.wirecard.com/engine/rest/paymentmethods"
}

标题基本NzAwMDAtQVBJTFVITi1DQVJEOjhtaHdhdktWYjkxVA ==

请求JSON

{
   "payment":{
      "merchant-account-id":{
         "value":"7139c728-cc91-11e3-ac9f-00163e1a318d"
      },
      "request-id":"dd30edbf-240e-4b21-9bb5-d0d95319e6b1",
      "transaction-type":"authorization",
      "requested-amount":{
         "value":"1.01",
         "currency":"USD"
      },
      "account-holder":{
         "first-name":"Pawan",
         "last-name":"Shukla",
         "email":"[email protected]",
         "phone":"+1(1)4161234567",
         "address":{
            "street1":"123 anystreet",
            "city":"Brantford",
            "country":"CA",
            "state":"ON"
         }
      },
      "order-number":"62598",
      "payment-methods":{
         "payment-method":[
            {
               "name":"chinapay"
            }
         ]
      },
      "cancel-redirect-url":"http://localhost:55152/Home/cancel",
      "success-redirect-url":"http://localhost:55152/Home/success",
      "fail-redirect-url":"http://localhost:55152/Home/fail",
      "ip-address":"127.0.0.1"
   }
}

如果我向有线卡发送请求,则in将返回以下响应。

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<payment xmlns="http://www.elastic-payments.com/schema/payment" xmlns:ns2="http://www.elastic-payments.com/schema/epa/transaction">
    <transaction-state>failed</transaction-state>
    <statuses>
        <status code="403.1166" description="Access Denied - User doesn't have the access for the requested operation!" severity="error"/>
    </statuses>

所以请让我让我失去我。

payment-gateway payment
1个回答
0
投票

您尝试使用其他测试帐户吗?

WIRECARD_USERNAME =“ 70000-APIDEMO-CARD”

WIRECARD_PASSWORD =“ ohysS0-dvfMx”

WIRECARD_USERNAME =“ 70000-APILUHN-CARD”

WIRECARD_PASSWORD =“ 8mhwavKVb91T”

© www.soinside.com 2019 - 2024. All rights reserved.