mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 10:55:00 +08:00
Bypass onboarding for now
This commit is contained in:
parent
0a7bd32f80
commit
fd3c3ac8e8
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ return array(
|
||||||
'applepay.enabled' => static function ( ContainerInterface $container ): bool {
|
'applepay.enabled' => static function ( ContainerInterface $container ): bool {
|
||||||
$status = $container->get( 'applepay.apple-product-status' );
|
$status = $container->get( 'applepay.apple-product-status' );
|
||||||
assert( $status instanceof AppleProductStatus );
|
assert( $status instanceof AppleProductStatus );
|
||||||
return $status->apple_is_active();
|
return true;
|
||||||
},
|
},
|
||||||
'applepay.server_supported' => static function ( ContainerInterface $container ): bool {
|
'applepay.server_supported' => static function ( ContainerInterface $container ): bool {
|
||||||
return ! empty( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off';
|
return ! empty( $_SERVER['HTTPS'] ) && $_SERVER['HTTPS'] !== 'off';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue