move integration date into constant

This commit is contained in:
David Remer 2020-10-08 07:28:43 +03:00
parent d865b4f8fc
commit 63f223c69d
2 changed files with 3 additions and 2 deletions

View file

@ -693,8 +693,7 @@ class SmartButton implements SmartButtonInterface {
'client-id' => $this->client_id,
'currency' => get_woocommerce_currency(),
'locale' => get_user_locale(),
// ToDo: Update date on releases.
'integration-date' => gmdate( 'Y-m-d' ),
'integration-date' => PAYPAL_INTEGRATION_DATE,
'components' => implode( ',', $this->components() ),
'vault' => $this->can_save_vault_token() ?
'true' : 'false',