2016-10-29 30 views
0

我在Laravel有一個應用程序,我正在關注this教程。我從here克隆樣本回購,當我嘗試做一個pyament形成這一點,它給了我下面的響應如何與Laravel集成廣場

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回購中給出的表格,他們沒有要求持卡人姓名?
  • 如何將其他支付方式與方形現金或支票一起使用?
+0

如果你正在銷售的定製基於Web的一點,我很樂意詳細瞭解您的使用案例!隨時通過我的個人資料中的地址給我發電子郵件。 – tristansokol

回答

1

這聽起來像你正試圖使一個基於Web的銷售點。要回答你的問題:

  • 信用卡的最低收費,無論是在廣場註冊應用程序和API爲$ 1.00(100量包括美分)
  • 該卡主要與CVV和郵政編碼驗證,你應該在窗體中看到必需的字段。
  • 此時您無法爲其他投標類型創建付款,例如現金或通過API檢查。 (這主要是因爲我們的事務API用於電子商務專,而銷售的自定義點通常與我們的Register APIs創建)