I have a very serious questions for PHP pros.
I'm using the woocommerce plugin for my virtual shop. My problem is with the payment gateways. I work with third party credit company, and I need to call their pages once someone click on the pay botton.
So the problems are:
1) How to add completely new payment gateway with the needed code?
2) I tried ti change the woocommerce-functions.php and it didn't help. I know that inside that file the checkout button name is located, and I want to try to add the call code which is:
// Call pay method
catch (ZCreditException $zex)
$e = $zex->getPrevious();
if($e != null)
catch (Exception $ex)