PayPal Payment Buttons: reject a return URL longer than PayPal accepts - #52556
Conversation
|
Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.
Interested in more tips and information?
|
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 Follow this PR Review Process:
If you have questions about anything, reach out in #jetpack-developers for guidance! Jetpack plugin: The Jetpack plugin has different release cadences depending on the platform:
If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. Paypal Payment buttons plugin: No scheduled milestone found for this plugin. If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack. |
5cbf652 to
2424481
Compare
The merge-base changed after approval.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2424481 to
8d5a682
Compare
Fixes N/A
Stacked on #52553 (WOOPTP-510), itself on #52550, #52543 and #52534: the base is
add/wooptp-510-changes-made-dialog, and this diff is the last commit only. Retarget to trunk once those merge.Proposed changes
return_url_too_longerror, so a longer URL never reaches PayPal whichever way the request arrives.Related product discussion/links
Does this pull request change what data or activity we track or use?
No.
Testing instructions
The block is behind the
paypal-payments-api-managed-buttonsfeature flag, and needs a site connected to a PayPal (sandbox) account.jp test js packages/paypal-paymentsandjp test php packages/paypal-payments.🤖 Generated with Claude Code