Add pui payment source entity (WIP)

This commit is contained in:
dinamiko 2022-03-09 17:22:17 +01:00
parent 753b8bae3e
commit da3272e687
8 changed files with 250 additions and 119 deletions

View file

@ -185,9 +185,9 @@ class WCGatewayModule implements ModuleInterface {
add_action(
'init',
function () use ($c) {
function () use ( $c ) {
if ( 'DE' === $c->get( 'api.shop.country' ) ) {
($c->get('wcgateway.pay-upon-invoice'))->init();
( $c->get( 'wcgateway.pay-upon-invoice' ) )->init();
}
}
);