mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
PCP-43 add payee preferred option
This commit is contained in:
parent
c16bf2594e
commit
0905f30465
3 changed files with 38 additions and 3 deletions
|
@ -340,6 +340,23 @@ return [
|
|||
'requirements' => [],
|
||||
'gateway' => 'all',
|
||||
],
|
||||
'payee_preferred' => [
|
||||
'title' => __('Instant Payments ', 'woocommerce-paypal-commerce-gateway'),
|
||||
'type' => 'checkbox',
|
||||
'default' => false,
|
||||
'desc_tip' => true,
|
||||
'description' => __(
|
||||
'If you enable this setting, PayPal will be instructed not to allow the buyer to use funding sources that take additional time to complete (for example, eChecks). Instead, the buyer will be required to use an instant funding source, such as an instant transfer, a credit/debit card, or PayPal Credit.',
|
||||
'woocommerce-paypal-commerce-gateway'
|
||||
),
|
||||
'label' => __('Require Instant Payment', 'woocommerce-paypal-commerce-gateway'),
|
||||
'screens' => [
|
||||
State::STATE_PROGRESSIVE,
|
||||
State::STATE_ONBOARDED,
|
||||
],
|
||||
'requirements' => [],
|
||||
'gateway' => 'paypal',
|
||||
],
|
||||
'brand_name' => [
|
||||
'title' => __('Brand Name', 'woocommerce-paypal-commerce-gateway'),
|
||||
'type' => 'text',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue