smehsan Posted February 5, 2016 Share Posted February 5, 2016 Hi I am in a problem.I am trying to create a addons very much similar to bankwire payment.http://prntscr.com/9z7xun Until order summery everything is looking good but http://prntscr.com/9z7y11 but when i click on confirmation button, it just redirect to http://localhost/one/module/bKash/validation and shows 500 server error. http://prntscr.com/9z7yeyI have checked the log file and it shows PaymentModule::validateOrder - Order Status cannot be loaded http://prntscr.com/9z7ypb I can not understand, where is the problem. Can anyone please help me.Thank You Link to comment Share on other sites More sharing options...
bellini13 Posted February 5, 2016 Share Posted February 5, 2016 what order status did you use when your module called validateOrder function? Link to comment Share on other sites More sharing options...
smehsan Posted February 5, 2016 Author Share Posted February 5, 2016 Thank You.$bKash->validateOrder($cart->id, Configuration::get('PS_OS_BKASH'), $total, $bKash->displayName, NULL, array(), (int)$currency->id, false, $customer->secure_key); I hope you will help me. Thanks Link to comment Share on other sites More sharing options...
bellini13 Posted February 5, 2016 Share Posted February 5, 2016 what is this... Configuration::get('PS_OS_BKASH') Link to comment Share on other sites More sharing options...
smehsan Posted February 5, 2016 Author Share Posted February 5, 2016 (edited) what is this... Configuration::get('PS_OS_BKASH') Thank you, you are such a great person. i hope you will help me to overcome this problem. i was able to validate the module but now it shows This payment method is not available. http://prntscr.com/9zg49u and in the the module is also not shown in the active payment module area. http://prntscr.com/9zg6nk can you please tell me what is the wrong now? Edited February 5, 2016 by smehsan (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted February 6, 2016 Share Posted February 6, 2016 Only official Prestashop modules are allowed in the Active area, so don't worry about that. As for the "This payment method is not available" message, when do you receive that? Link to comment Share on other sites More sharing options...
num47 Posted June 11, 2021 Share Posted June 11, 2021 On 2/6/2016 at 12:19 AM, bellini13 said: what is this... Configuration::get('PS_OS_BKASH') Were you trying to implement bKash Payment system to your website? 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