Here I want to display shipping methods which comes form the another website via webservice. So how can I pass weight and country to my php file from smarty code?
The order.tpl has all the variables but I cannot figure out how to pass that two variable into php code?
The file getOrderDetails_client.php seems to be a sample implementation of the webservice, so i think the best way to use it would be to extend the appropriate core or view classes via module, implement the connection to the webservice there and then pass the variables you get from PHP to Smarty. You can find Information on how to create modules here: http://wiki.oxidforge.org/Tutorials
From where? In Step 3 (payment.php/payment.tpl) there is no direct way to get active shipping method, but in the template you can find out by stepping through all shipping sets: