mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
💡 Add documentation on next steps
This commit is contained in:
parent
73bad59a26
commit
65204a5003
1 changed files with 3 additions and 2 deletions
|
@ -451,6 +451,7 @@ class AuthenticationManager {
|
|||
}
|
||||
|
||||
try {
|
||||
// TODO: this call only reliably works in the _next_ request, because in the current request the PartnersEndpoint instance might be initialized with an empty merchant_id.
|
||||
$seller_status = $this->partners_endpoint->seller_status();
|
||||
|
||||
// Request the merchant details via a PayPal API request.
|
||||
|
@ -462,8 +463,8 @@ class AuthenticationManager {
|
|||
// Persist the changes.
|
||||
$this->common_settings->set_merchant_data( $connection );
|
||||
$this->common_settings->save();
|
||||
} catch ( PayPalApiException $exception ) {
|
||||
$this->logger->warning( 'Could not determine merchant country' );
|
||||
} catch ( Throwable $exception ) {
|
||||
$this->logger->warning( 'Could not determine merchant country: ' . $exception->getMessage() );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue