ACI Payon集成失败请求

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

我想为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 "[email protected]" \
    -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":"[email protected]"
  },
  "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参考)错过了请求。

payment-gateway
2个回答
0
投票

他们的后端只是没有为这种付款方式设置。这不是你做错了什么。


0
投票

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

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