【发布时间】:2017-03-12 02:04:20
【问题描述】:
我在 Laravel 中有一个应用程序,我正在关注 this 教程。我从here 克隆了一个示例 repo,当我尝试制作一个 pyament 表单时,它给了我以下响应
Caught exception!
Response body:
object(stdClass)[6]
public 'errors' =>
array (size=1)
0 =>
object(stdClass)[7]
public 'category' => string 'INVALID_REQUEST_ERROR' (length=21)
public 'code' => string 'VALUE_TOO_LOW' (length=13)
public 'detail' => string '`amount_money.amount` must be greater than 100.' (length=47)
public 'field' => string 'amount_money.amount' (length=19)
Response headers:
array (size=12)
0 => string 'HTTP/1.1 400 Bad Request' (length=24)
'Content-Type' => string 'application/json' (length=16)
'Vary' => string 'Origin, Accept-Encoding' (length=23)
'X-Content-Type-Options' => string 'nosniff' (length=7)
'X-Download-Options' => string 'noopen' (length=6)
'X-Frame-Options' => string 'SAMEORIGIN' (length=10)
'X-Permitted-Cross-Domain-Policies' => string 'none' (length=4)
'X-Xss-Protection' => string '1; mode=block' (length=13)
'Date' => string 'Sat, 29 Oct 2016 08:23:51 GMT' (length=29)
'Keep-Alive' => string 'timeout=60' (length=10)
'Strict-Transport-Security' => string 'max-age=631152000' (length=17)
'content-length' => string '161' (length=3)
当我尝试沙盒时它起作用了。
- 我怎样才能对低于 100 美元的任何金额进行收费?
- 如何验证卡,即在 github repo 中给出的表格中,他们不要求提供持卡人姓名?
- 如何将其他付款方式与现金或支票等方格相结合?
【问题讨论】:
-
如果您正在制作基于 Web 的自定义销售点,我很想了解有关您的用例的更多信息!请随时通过我个人资料中的地址给我发送电子邮件。
标签: php git laravel-5.2 payment-gateway square-connect