向 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" => 'testingtester@2co.com', "phoneNumber" => '555-555-5555' ), "demo" => true ));虽然如果我发送错误的“令牌”密钥,我将无法通过身份验证。编辑 :我查看 JS 代码随意放弃你的建议
- 2 回答
- 0 关注
- 129 浏览
添加回答
举报
0/150
提交
取消