向 TwoCheckOut 請求數據:來自 TwoCheckOut 的響應。{ "error": "Bad request - parameter error"}這是代碼 $charge = Twocheckout_Charge::auth(array( "sellerId" => '*HIDDEN*', "merchantOrderId" => $orderID, "token" => $token, "currency" => $currency, "total" => $itemPrice, "billingAddr" => array( "name" => $name, "addrLine1" => $addrLine1, "city" => $city, "state" => $state, "zipCode" => $zipCode, "country" => $country, "email" => $email, "phoneNumber" => $phoneNumber ), "shippingAddr" => array( "name" => 'Testing Tester', "addrLine1" => '123 Test St', "city" => 'Columbus', "state" => 'OH', "zipCode" => '43123', "country" => 'USA', "email" => '[email protected]', "phoneNumber" => '555-555-5555' ), "demo" => true ));雖然如果我發送錯誤的“令牌”密鑰,我將無法通過身份驗證。編輯 :我查看 JS 代碼隨意放棄你的建議
- 2 回答
- 0 關注
- 174 瀏覽
添加回答
舉報
0/150
提交
取消