bugfix/725: Update PayPal disconnect disclaimer and show merchant status banners#733
Conversation
…nners t523a: Replace generic disconnect confirm with PayPal's required disclaimer text per #727. t523b: Always persist payments_receivable and email_confirmed after OAuth, and display PayPal's exact required error banners in render_oauth_connection() when either flag is false per #728. Closes #727 Closes #728
Both sides had the same disconnect disclaimer text; kept our multi-line log format and corrected JS indentation.
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 20 minutes and 37 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔨 Build Complete - Ready for Testing!📦 Download Build Artifact (Recommended)Download the zip build, upload to WordPress and test:
🌐 Test in WordPress Playground (Very Experimental)Click the link below to instantly test this PR in your browser - no installation needed! Login credentials: |
|
Performance Test Results Performance test results for 708589f are in 🛎️! Note: the numbers in parentheses show the difference to the previous (baseline) test run. Differences below 2% or 0.5 in absolute values are not shown. URL:
|
Summary
payments_receivableandemail_confirmedafter OAuth (previously only stored when truthy). Display PayPal's exact required error banners inrender_oauth_connection()when either flag is false.Changes
inc/gateways/class-paypal-oauth-handler.phppayments_receivableandemail_confirmedsettings (defaulting totruewhen absent from API response)inc/gateways/class-paypal-rest-gateway.phprender_oauth_connection()using PayPal's exact required textAcceptance Criteria
payments_receivableis false with PayPal's exact text (t523b: Show onboarding failure messages when merchant status is invalid #728)email_confirmedis false with PayPal's exact text (t523b: Show onboarding failure messages when merchant status is invalid #728)Closes #727
Closes #728
Part of #725
aidevops.sh v3.5.556 plugin for OpenCode v1.3.0 with claude-sonnet-4-6 spent 15h 10m and 13,232 tokens on this as a headless worker.