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

[CHK-7187] Fix Apple Pay Race Condition #171

Open
wants to merge 1 commit into
base: CHK-4297
Choose a base branch
from
Open

Conversation

boldjoshshea
Copy link
Contributor

@boldjoshshea boldjoshshea commented Jan 10, 2025

Added logic to sequentialize on update and fix shipping address not set issue for Apple Pay.

Fixes CHK-7187

@JosephLeedy JosephLeedy changed the title [CHK-7187] Apply Pay Race Condition [CHK-7187] Fix Apple Pay Race Condition Jan 10, 2025
@JosephLeedy JosephLeedy added the bug Something isn't working label Jan 10, 2025
@@ -24,6 +24,7 @@ define([
response = JSON.parse(response);
window.checkoutConfig.quoteData.entity_id = response.quoteId;
window.checkoutConfig.quoteItemData = response.quoteItemData;
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this statement necessary? No additional logic runs after the try/catch block.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its possible its not necessary, I added it to have an explicit return just for promise resolution. I'll look into removing it in the cleanup task I've got out

@boldjoshshea boldjoshshea force-pushed the CHK-7187 branch 3 times, most recently from 4b4b915 to 4e7611f Compare January 11, 2025 07:49
@JosephLeedy JosephLeedy self-requested a review January 13, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants