问题描述
我正在尝试使用 Square API 构建结帐。我收到以下错误:
'order.total_money.amount' 必须大于 1。
我正在发送:
<cfset stFields = {
"idempotency_key": "*******-258a-402e-abb5-fee8e3d16884","redirect_url": "https://graftondecafundraising.org/SquareOrderComplete.cfm","order": {
"total_money":{
"amount": 900},"idempotency_key": "******-258a-402e-abb5-fee8e3d16884","order": {
"location_id": "******C7F3RZ1S5","customer_id": "customer_id","reference_id": "reference_id"
}
},"ask_for_shipping_address": false,"merchant_support_email": "[email protected]","pre_populate_buyer_email": "[email protected]"
}
>
预先感谢您的任何建议!
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)