mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
add reset button
This commit is contained in:
parent
cbca7491f5
commit
3b35d6a0ee
6 changed files with 71 additions and 19 deletions
|
@ -73,10 +73,11 @@ return [
|
|||
if ($state->currentState() === State::STATE_START) {
|
||||
return new StartSettings();
|
||||
}
|
||||
$environment = $container->get('onboarding.environment');
|
||||
if ($state->currentState() === State::STATE_PROGRESSIVE) {
|
||||
return new ProgressiveSettings();
|
||||
return new ProgressiveSettings($environment);
|
||||
}
|
||||
return new FullyOnboardedSettings();
|
||||
return new FullyOnboardedSettings($environment);
|
||||
},
|
||||
'wcgateway.order-processor' => static function (ContainerInterface $container): OrderProcessor {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue