mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 21:52:55 +08:00
Add pui payment source entity (WIP)
This commit is contained in:
parent
753b8bae3e
commit
da3272e687
8 changed files with 250 additions and 119 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue