Jump to content

New payment module with new status


Recommended Posts


I'm trying to make a custom Payment module, and I started by taking the "bankwire" a reference.


I've created a new type of "order status" (with the backoffice interface) but how do I use it in my module?


In theory I should replace the "PS_OS_BANKWIRE" in the validateOrder, but I don't know how or where to get the proper reference.

$bankwire->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $bankwire->displayName, NULL, array(), (int)$currency->id, false, $customer->secure_key);

$this->module->validateOrder($cart->id, Configuration::get('PS_OS_BANKWIRE'), $total, $this->module->displayName, NULL, $mailVars, (int)$currency->id, false, $customer->secure_key);


What should I do to make it use my newly created order status?


Thanks in advance,



Prestashop Version:

Edited by BrnCrsh (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 months later...

Hi BrnCrsh, could you please say how you solved the problem? I'm trying to do the same, I installed a free bankwire3 module from here (http://www.prestashop.com/forums/topic/230706-solvedhow-could-i-clone-the-bankwire-module/). I wanna use it as my second bankwire module, but can't get the order status + correct e-mail to be sent (the original bankwire e-mail is sent). Thank you. Jana 



Check my post here: http://www.prestashop.com/forums/topic/230706-solvedhow-could-i-clone-the-bankwire-module/?view=findpost&p=1418805

Edited by mouse1 (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...