Axo gateway skeleton.

This commit is contained in:
Pedro Silva 2024-02-08 14:37:56 +00:00
parent fc7b8022e8
commit b4b5863cb4
No known key found for this signature in database
GPG key ID: E2EE20C0669D24B3
14 changed files with 2872 additions and 9 deletions

View file

@ -9,6 +9,19 @@ declare(strict_types=1);
namespace WooCommerce\PayPalCommerce\Axo;
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerInterface;
return array(
'axo.url' => static function ( ContainerInterface $container ): string {
$path = realpath( __FILE__ );
if ( false === $path ) {
return '';
}
return plugins_url(
'/modules/ppcp-axo/',
dirname( $path, 3 ) . '/woocommerce-paypal-payments.php'
);
},
);