Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ajax referer #3476

Merged
merged 1 commit into from
Sep 26, 2024
Merged

Fix ajax referer #3476

merged 1 commit into from
Sep 26, 2024

Conversation

Mayisha
Copy link
Contributor

@Mayisha Mayisha commented Sep 26, 2024

I mistakenly made this error while resolving merge conflicts in #3439 and merged with the error. 🤦‍♀️

Testing instructions

Code review should be enough as you can confirm the changed ajax referer matches this string. You may test the following steps as well.

  • Enable the ECE feature flag.
  • Add a product to your cart and go to the block checkout page.
  • Click on the Google Pay button.
  • In develop branch, notice that the shipping address on the modal can not be selected and the wc_ajax_wc_stripe_get_shipping_options call fails with 403 status.
  • In this branch the error should not happen.

@Mayisha Mayisha requested review from a team and mattallan and removed request for a team September 26, 2024 15:14
@Mayisha Mayisha merged commit d3175e9 into develop Sep 26, 2024
34 of 35 checks passed
@Mayisha Mayisha deleted the fix/ajax-referer branch September 26, 2024 15:36
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