ACI Payon 集成请求失败

ACI Payon integration failed request

我想为 ACI PAY.ON 支付网关创建一个集成,但是当我使用以下请求时它失败了,但是我从 API 文档中得到了整个请求。

curl https://test.oppwa.com/v1/payments \
    -d "authentication.userId=8a8294174e735d0c014e78d0ac5a17ee" \
    -d "authentication.entityId=8a8294174e735d0c014e78d0ac4417ea" \
    -d "authentication.password=bzKZ7yXgWN" \
    -d "amount=10.00" \
    -d "currency=USD" \
    -d "paymentType=PA" \
    -d "paymentBrand=BITCOIN" \
    -d "customParameters[SHOPPER_BITNET_REFUND_ADDRESS]=2NEpMQUX5f7kbq7MdbCz6Ss9bYc1Se73Wiv" \
    -d "customer.email=jane@jones.com" \
    -d "cart.items[0].name=Product 1" \
    -d "cart.items[0].price=9.00" \
    -d "cart.items[0].quantity=1" \
    -d "cart.items[0].description=Basic Product 1" \
    -d "cart.items[0].merchantItemId=Product001"

响应:

{
  "id":"8a8294495d3c342e015d4be11cef3f4a",
  "paymentType":"PA",
  "paymentBrand":"BITCOIN",
  "result":{
    "code":"600.200.500",
    "description":"Invalid payment data. You are not configured for this currency or sub type (country or brand)"
  },
  "customer":{
    "email":"jane@jones.com"
  },
  "customParameters":{
    "SHOPPER_BITNET_REFUND_ADDRESS":"2NEpMQUX5f7kbq7MdbCz6Ss9bYc1Se73Wiv"
  },
  "cart":{
    "items":[
      {
        "merchantItemId":"Product001",
        "name":"Product 1",
        "description":"Basic Product 1",
        "quantity":"1",
        "price":"9.00"
      }
    ]
  },
  "buildNumber":"0f631cce045c12ea93a5ab7df44d9eef7a3fec55@2017-07-12 09:30:45 +0000",
  "timestamp":"2017-07-16 14:50:30+0000",
  "ndc":"8a8294174e735d0c014e78d0ac4417ea_f4a46e3fa1564e2492f7de2c6bc6f7a4"
}

try out版本。我在比特币支付方面没有太多经验,所以我不知道我(或 ACI API 参考)从请求中遗漏了什么。

他们的后端并未针对该付款方式进行设置。不是你做错了什么。

您输入了错误的 paymentType 值。它应该是 "DB"(对于借方交易)而不是 "PA" 和 "CD"(对于贷方交易)。请随时联系 ACI 支持,因为他们可以帮助您激活 BIP。