mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Introduce oxxo payment (WIP)
This commit is contained in:
parent
49048c59d5
commit
2b67884900
10 changed files with 344 additions and 104 deletions
|
@ -231,6 +231,8 @@ class WCGatewayModule implements ModuleInterface {
|
|||
if ( 'DE' === $c->get( 'api.shop.country' ) && 'EUR' === get_woocommerce_currency() ) {
|
||||
( $c->get( 'wcgateway.pay-upon-invoice' ) )->init();
|
||||
}
|
||||
|
||||
( $c->get( 'wcgateway.oxxo' ) )->init();
|
||||
}
|
||||
);
|
||||
|
||||
|
@ -288,6 +290,8 @@ class WCGatewayModule implements ModuleInterface {
|
|||
$methods[] = $container->get( 'wcgateway.pay-upon-invoice-gateway' );
|
||||
}
|
||||
|
||||
$methods[] = $container->get( 'wcgateway.oxxo-gateway' );
|
||||
|
||||
return (array) $methods;
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue