mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Render pay later message before buttons on order pay page
This commit is contained in:
parent
d35fdea592
commit
8950b9ca13
1 changed files with 3 additions and 2 deletions
|
@ -405,7 +405,7 @@ class SmartButton implements SmartButtonInterface {
|
||||||
add_action(
|
add_action(
|
||||||
$this->pay_order_renderer_hook(),
|
$this->pay_order_renderer_hook(),
|
||||||
array( $this, 'message_renderer' ),
|
array( $this, 'message_renderer' ),
|
||||||
11
|
15
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -478,7 +478,8 @@ class SmartButton implements SmartButtonInterface {
|
||||||
function (): void {
|
function (): void {
|
||||||
$this->button_renderer( PayPalGateway::ID );
|
$this->button_renderer( PayPalGateway::ID );
|
||||||
$this->button_renderer( CardButtonGateway::ID );
|
$this->button_renderer( CardButtonGateway::ID );
|
||||||
}
|
},
|
||||||
|
20
|
||||||
);
|
);
|
||||||
add_action(
|
add_action(
|
||||||
$this->checkout_button_renderer_hook(),
|
$this->checkout_button_renderer_hook(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue