我已經在工作支付網關部署了我的實時應用程序,但我仍然需要在某處測試,因此使用sandbox.authorize.net創建了一個帳戶並獲得了新的api鍵。Authorize.net CIM Active Merchant - 由於身份驗證值無效導致用戶身份驗證失敗
現在,當我嘗試在開發這些細節/舞臺,我得到 -
User authentication failed due to invalid authentication values
當訪問authorize.net
是否與sandbox.authorize.net活躍商戶的工作?測試似乎在測試模式下設置的網關可以正常工作,但不能使用沙箱帳戶。
如果使用Rails,你還可以添加ActiveMerchant :: Billing :: Base.mode =:測試config/environments/development.rb和config/environments/staging.rb,它們將在這些環境中自動使用測試屬性。 – nfriend21 2014-07-14 18:33:29