Summary
After OAuth onboarding, if payments_receivable or email_confirmed is false, display PayPal's required error messages in the settings UI.
payments_receivable=false:
"Attention: You currently cannot receive payments due to restriction on your PayPal account. Please reach out to PayPal Customer Support or connect to https://www.paypal.com for more information."
email_confirmed=false:
"Attention: Please confirm your email address on https://www.paypal.com/businessprofile/settings in order to receive payments! You currently cannot receive payments."
File
inc/gateways/class-paypal-rest-gateway.php — render_oauth_connection() method
Acceptance Criteria
Part of #725
aidevops.sh v3.5.555 plugin for OpenCode v1.3.12 with claude-opus-4-6 spent 14h 19m and 13,232 tokens on this as a headless worker.
Summary
After OAuth onboarding, if
payments_receivableoremail_confirmedis false, display PayPal's required error messages in the settings UI.payments_receivable=false:
"Attention: You currently cannot receive payments due to restriction on your PayPal account. Please reach out to PayPal Customer Support or connect to https://www.paypal.com for more information."
email_confirmed=false:
"Attention: Please confirm your email address on https://www.paypal.com/businessprofile/settings in order to receive payments! You currently cannot receive payments."
File
inc/gateways/class-paypal-rest-gateway.php—render_oauth_connection()methodAcceptance Criteria
Part of #725
aidevops.sh v3.5.555 plugin for OpenCode v1.3.12 with claude-opus-4-6 spent 14h 19m and 13,232 tokens on this as a headless worker.