mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Persist client credentials as soon as they are recived
This commit is contained in:
parent
12a8596261
commit
e0a94bf2ed
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ class LoginSellerEndpoint implements EndpointInterface {
|
|||
}
|
||||
$this->settings->set( 'client_secret', $credentials->client_secret );
|
||||
$this->settings->set( 'client_id', $credentials->client_id );
|
||||
$this->settings->persist();
|
||||
|
||||
$accept_cards = (bool) ( $data['acceptCards'] ?? true );
|
||||
$funding_sources = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue