mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-08 19:48:52 +08:00
Save setting
This commit is contained in:
parent
f227713f6c
commit
eb2489f7ce
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ class ApplePayButton implements ButtonInterface {
|
||||||
$applepay_request_data_object->validation_data();
|
$applepay_request_data_object->validation_data();
|
||||||
$settings = $this->settings;
|
$settings = $this->settings;
|
||||||
$settings->set('applepay_validated', $applepay_request_data_object->validated_flag());
|
$settings->set('applepay_validated', $applepay_request_data_object->validated_flag());
|
||||||
|
$settings->persist();
|
||||||
wp_send_json_success();
|
wp_send_json_success();
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue