Summary
When payments_receivable or email_confirmed is false, the PayPal REST gateway should be removed from active gateways at checkout so buyers don't see a broken payment option.
Follow the existing pattern used for the currency check.
File
inc/gateways/class-paypal-rest-gateway.php
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
When
payments_receivableoremail_confirmedis false, the PayPal REST gateway should be removed from active gateways at checkout so buyers don't see a broken payment option.Follow the existing pattern used for the currency check.
File
inc/gateways/class-paypal-rest-gateway.phpAcceptance 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.