mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
add dcc requirement to dcc fields
This commit is contained in:
parent
2678d33d9c
commit
4163af8a47
2 changed files with 10 additions and 4 deletions
|
@ -293,7 +293,9 @@ return array(
|
|||
'type' => 'checkbox',
|
||||
'default' => false,
|
||||
'gateway' => 'dcc',
|
||||
'requirements' => array(),
|
||||
'requirements' => array(
|
||||
'dcc',
|
||||
),
|
||||
'screens' => array(
|
||||
State::STATE_ONBOARDED,
|
||||
),
|
||||
|
@ -310,7 +312,9 @@ return array(
|
|||
'screens' => array(
|
||||
State::STATE_ONBOARDED,
|
||||
),
|
||||
'requirements' => array(),
|
||||
'requirements' => array(
|
||||
'dcc',
|
||||
),
|
||||
'gateway' => 'dcc',
|
||||
),
|
||||
'description' => array(
|
||||
|
@ -347,7 +351,9 @@ return array(
|
|||
'screens' => array(
|
||||
State::STATE_ONBOARDED,
|
||||
),
|
||||
'requirements' => array(),
|
||||
'requirements' => array(
|
||||
'dcc',
|
||||
),
|
||||
'gateway' => 'dcc',
|
||||
),
|
||||
'intent' => array(
|
||||
|
|
|
@ -79,7 +79,7 @@ class Settings implements ContainerInterface {
|
|||
*/
|
||||
public function reset(): bool {
|
||||
$this->load();
|
||||
$this->settings = [];
|
||||
$this->settings = array();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue