mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 14:57:26 +08:00
resolve merge conflict
This commit is contained in:
commit
16ad8c9cd1
3 changed files with 31 additions and 6 deletions
|
@ -8,6 +8,20 @@
|
||||||
#field-merchant_email{
|
#field-merchant_email{
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
#field-client_secret.show,
|
||||||
|
#field-client_id.show,
|
||||||
|
#field-merchant_id.show,
|
||||||
|
#field-merchant_email.show {
|
||||||
|
display: table-row;
|
||||||
|
}
|
||||||
|
|
||||||
|
#field-toggle_manual_input span.hide,
|
||||||
|
#field-toggle_manual_input.show span.show{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
#field-toggle_manual_input.show span.hide {
|
||||||
|
display: unset;
|
||||||
|
}
|
||||||
|
|
||||||
#field-toggle_manual_input button {
|
#field-toggle_manual_input button {
|
||||||
color: #0073aa;
|
color: #0073aa;
|
||||||
|
|
|
@ -64,11 +64,11 @@ const groupToggleSelect = (selector, group) => {
|
||||||
'click',
|
'click',
|
||||||
(event) => {
|
(event) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
document.querySelector('#field-toggle_manual_input').style.display = 'none';
|
document.querySelector('#field-toggle_manual_input').classList.toggle('show');
|
||||||
document.querySelector('#field-merchant_email').style.display = 'table-row';
|
document.querySelector('#field-merchant_id').classList.toggle('show');
|
||||||
document.querySelector('#field-merchant_id').style.display = 'table-row';
|
document.querySelector('#field-merchant_email').classList.toggle('show');
|
||||||
document.querySelector('#field-client_id').style.display = 'table-row';
|
document.querySelector('#field-client_id').classList.toggle('show');
|
||||||
document.querySelector('#field-client_secret').style.display = 'table-row';
|
document.querySelector('#field-client_secret').classList.toggle('show');
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -266,6 +266,17 @@ return array(
|
||||||
'requirements' => array(),
|
'requirements' => array(),
|
||||||
'gateway' => 'paypal',
|
'gateway' => 'paypal',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
'checkout_settings_heading' => array(
|
||||||
|
'heading' => __( 'PayPal Checkout Plugin Settings', 'paypal-payments-for-woocommerce' ),
|
||||||
|
'type' => 'ppcp-heading',
|
||||||
|
'screens' => array(
|
||||||
|
State::STATE_PROGRESSIVE,
|
||||||
|
State::STATE_ONBOARDED,
|
||||||
|
),
|
||||||
|
'requirements' => array(),
|
||||||
|
'gateway' => 'paypal',
|
||||||
|
),
|
||||||
'title' => array(
|
'title' => array(
|
||||||
'title' => __( 'Title', 'paypal-payments-for-woocommerce' ),
|
'title' => __( 'Title', 'paypal-payments-for-woocommerce' ),
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
|
@ -481,7 +492,7 @@ return array(
|
||||||
'gateway' => 'paypal',
|
'gateway' => 'paypal',
|
||||||
),
|
),
|
||||||
'prefix' => array(
|
'prefix' => array(
|
||||||
'title' => __( 'Installation prefix', 'paypal-payments-for-woocommerce' ),
|
'title' => __( 'Invoice prefix', 'paypal-payments-for-woocommerce' ),
|
||||||
'type' => 'text',
|
'type' => 'text',
|
||||||
'desc_tip' => true,
|
'desc_tip' => true,
|
||||||
'description' => __( 'If you use your PayPal account with more than one installation, please use a distinct prefix to seperate those installations. Please do not use numbers in your prefix.', 'paypal-payments-for-woocommerce' ),
|
'description' => __( 'If you use your PayPal account with more than one installation, please use a distinct prefix to seperate those installations. Please do not use numbers in your prefix.', 'paypal-payments-for-woocommerce' ),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue