mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +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();
|
||||
$settings = $this->settings;
|
||||
$settings->set('applepay_validated', $applepay_request_data_object->validated_flag());
|
||||
|
||||
$settings->persist();
|
||||
wp_send_json_success();
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue