You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Update disconnect dialog to use PayPal's required disclaimer text
- Show error banners when payments_receivable=false or email_confirmed=false after OAuth
- Block paypal-rest from active gateways when merchant status is invalid
- Add payee.merchant_id to purchase_units when connected via OAuth
- Log PayPal-Debug-Id header from every API response
Closes#725
// Show required PayPal error messages when merchant status is incomplete
278
+
if (! $payments_receivable) {
279
+
$this->add_oauth_notice(
280
+
'error',
281
+
__('Your PayPal account is not yet able to receive payments. Please complete your PayPal account setup and try connecting again.', 'ultimate-multisite')
282
+
);
283
+
} elseif (! $email_confirmed) {
284
+
$this->add_oauth_notice(
285
+
'error',
286
+
__('Your PayPal account email address is not confirmed. Please confirm your email with PayPal and try connecting again.', 'ultimate-multisite')
if (!confirm(<?phpechowp_json_encode(__('Are you sure you want to disconnect PayPal?', 'ultimate-multisite')); ?>)) return;
1941
+
if (!confirm(<?phpechowp_json_encode(__('Disconnecting your PayPal account will prevent you from offering PayPal services and products on your website. Do you wish to continue?', 'ultimate-multisite')); ?>)) return;
0 commit comments