diff --git a/src/PaymentMethods/Applepay.php b/src/PaymentMethods/Applepay.php index 5955112f..9b392b5b 100644 --- a/src/PaymentMethods/Applepay.php +++ b/src/PaymentMethods/Applepay.php @@ -31,8 +31,8 @@ protected function getConfig(): array public function getFormFields($generalFormFields): array { - $checkout_page_id = wc_get_page_id( 'checkout' ); - $edit_checkout_page_link = get_edit_post_link( $checkout_page_id ); + $checkout_page_id = wc_get_page_id('checkout'); + $edit_checkout_page_link = get_edit_post_link($checkout_page_id); $notice = [ 'notice' => [ @@ -42,7 +42,7 @@ public function getFormFields($generalFormFields): array '
The appearance of the Apple Pay button can be controlled in the Checkout page editor.
', 'mollie-payments-for-woocommerce' ), - esc_url( $edit_checkout_page_link ) + esc_url($edit_checkout_page_link) ), 'type' => 'title', 'class' => 'notice notice-warning',