mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-31 06:52:50 +08:00
Change onboarding parameters
This commit is contained in:
parent
c035cdaf3e
commit
39a4da6d52
1 changed files with 2 additions and 2 deletions
|
@ -136,7 +136,7 @@ class SettingsListener {
|
|||
*
|
||||
* @var int
|
||||
*/
|
||||
private $onboarding_max_retries = 3;
|
||||
private $onboarding_max_retries = 5;
|
||||
|
||||
/**
|
||||
* Delay between onboarding URL retries.
|
||||
|
@ -238,7 +238,7 @@ class SettingsListener {
|
|||
}
|
||||
|
||||
// Process token validation.
|
||||
$onboarding_token_sample = ( (string) substr( $onboarding_token, 0, 4 ) ) . '...' . ( (string) substr( $onboarding_token, -4 ) );
|
||||
$onboarding_token_sample = ( (string) substr( $onboarding_token, 0, 2 ) ) . '...' . ( (string) substr( $onboarding_token, -6 ) );
|
||||
$this->logger->debug( 'Validating onboarding ppcpToken: ' . $onboarding_token_sample );
|
||||
|
||||
if ( ! OnboardingUrl::validate_token_and_delete( $this->signup_link_cache, $onboarding_token, get_current_user_id() ) ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue