NishantVadgama Posted December 19, 2014 Share Posted December 19, 2014 I want to make order payment from back office using payment method like as done in front office, what exactly done now is when im doing order payment from back office I think only databse record (update ) add into payment. not doing validation and make payment to my payment methods account like paypal or authorized.net if I want to do so then how can I implement that in my prestashop (Module development) to make payment of existing order from back office ..? please help me Link to comment Share on other sites More sharing options...
NemoPS Posted December 20, 2014 Share Posted December 20, 2014 Instead of setting the status, there is a link to pay yourself for the customer in the front office, in case you need the method to be processed. At the very end of the order creation Link to comment Share on other sites More sharing options...
NishantVadgama Posted December 22, 2014 Author Share Posted December 22, 2014 (edited) Thank You so much nemo I have done that In my module's admin controller but whith that link I have to pass one flag variable.. I have set cookie value in my module's admin controller file but in front office this cookie does not exist so how can I do that..? Edited December 22, 2014 by NishantVadgama (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted December 29, 2014 Share Posted December 29, 2014 Flag? You mean language? If you want to assign it to the front office cookie, then you can try creating anew instance of it $cookie = new Cookie('ps-s'.$context->shop->id, '', $cookie_lifetime, $domains); Or, you can try this: Tools::setCookieLanguage($cookie); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now