【问题标题】:Payfort : Charge Amount -> Must be an integerPayfort : Charge Amount -> 必须是整数
【发布时间】:2018-02-26 20:50:15
【问题描述】:

为什么payfort(Payment Gateway) 只接受整数作为Charge or Refund Amount?如果我选择货币->USD 并希望收到十进制的金额 (20.50$)

错误:

{
"amount": [
"must be an integer"
],
"card": []
}

【问题讨论】:

    标签: c# validation payfort


    【解决方案1】:

    Payfort 以美分计算金额。因此,如果您想要 20.50 美元,请传递以下值:

    2050 
    

    【讨论】:

      猜你喜欢
      • 2021-06-29
      • 2020-09-20
      • 1970-01-01
      • 2019-01-02
      • 1970-01-01
      • 1970-01-01
      • 2021-07-30
      • 2013-09-18
      • 2021-03-16
      相关资源
      最近更新 更多