Skip to content

Conversation

@hmouhtar
Copy link
Collaborator

@hmouhtar hmouhtar commented Oct 9, 2025

The current approach for handling cross-browser AppSwitch flows relies on adding query parameters to the return URL. This approach broke the same-tab AppSwitch flow because with the addition of the query parameters, the browser detects the return URL as a different URL and opens a new tab, causing all orders to go through the resume flow.

This will be solved on a later release by #3755, in the meantime, PayPal has requested to disable support for cross-browser AppSwitch, which is done in this PR.

@github-actions
Copy link

github-actions bot commented Oct 9, 2025

Test using WordPress Playground

The changes in this pull request can be previewed and tested using a WordPress Playground instance.
WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

🔗 Test this pull request with WordPress Playground

What's included:

  • ✅ WordPress (latest)
  • ✅ WooCommerce (latest)
  • ✅ PayPal Payments plugin v3.2.0-pr3761-18408636794-gde12884 (built from this PR)

Login credentials:

  • Username: admin
  • Password: password

Plugin Details:

  • Version: 3.2.0-pr3761-18408636794-gde12884
  • Commit: de12884
  • Artifact: woocommerce-paypal-payments-3.2.0-pr3761-18408636794-gde12884

💡 The demo environment resets each time you refresh. Perfect for testing!

🔄 This link updates automatically with each new commit to the PR.

⚠️ This URL is valid for 30 days from when this comment was last updated.


🤖 Auto-generated for commit de12884 • Last updated: 2025-10-10T14:01:09.725Z

@hmouhtar hmouhtar changed the base branch from develop to release/3.2.0 October 9, 2025 19:24
@hmouhtar hmouhtar marked this pull request as ready for review October 9, 2025 23:41
@hmouhtar hmouhtar requested a review from Dinamiko October 10, 2025 13:58
@Dinamiko Dinamiko merged commit 528921d into release/3.2.0 Oct 13, 2025
21 checks passed
@Dinamiko Dinamiko deleted the PCP-5441 branch October 13, 2025 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants