☰
Login
Signup
Home
›
PHP client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
14.1K
All Categories
0
Incidents
157
Node JS client
41
Go client
795
.Net API client
385
Kite Publisher
537
.Net / VBA / Excel (3rd party)
463
Algorithms and Strategies
1K
Java client
1.1K
API clients
407
PHP client
4.1K
Python client
349
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.4K
General
In this Discussion
February 2018
prashanth100
February 2018
vishwash_yadav
February 2018
sujith
Not able to modify or cancel order using API 3.0
prashanth100
February 2018
edited February 2018
in
PHP client
API - 3.0
Language - PHP
For cancelling order, I m using following statement.
$kite->cancelOrder('regular', '180206001286329');
And for Modifying
$kite->modifyOrder('regular', '180206001283115', [
"tradingsymbol" => "IDBI",
"quantity" => 1,
"price" => "55",
"order_type" => "LIMIT",
"exchange" => "NSE",
"product" => "CNC",
"transaction_type" => "BUY",
"validity" => "DAY"
]);
In both the cases, I m getting following error.
Fatal error: Uncaught GeneralException (405) 'Request method not allowed'
thrown in C:\xampp\htdocs\kiteconnect\kiteconnect.php on line 898
Could you please suggest, how to resolve this problem?
Tagged:
@sujith
sujith
February 2018
This was fixed earlier. You need to update to latest version of phpkiteconnect.
vishwash_yadav
February 2018
Even i am getting same exception, is this fix available for .net API client as well.
sujith
February 2018
edited February 2018
@vishwash_yadav
,
Are you sure you are getting 405?
Which version are you using?
prashanth100
February 2018
Thank you Sujith.
This discussion has been closed.
Are you sure you are getting 405?
Which version are you using?