Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

fix: Update existing Payment Intent on every capture-context call #4159

Merged

Conversation

julianajlk
Copy link
Contributor

REV-4034.

This is already done on the POST method, but we need to do this as well on the /capture-context call every time the checkout page is loaded to make sure the Payment Intent has the updated amount, since this is used to show BNPL Affirm or not (based on a range set by Affirm).

@julianajlk julianajlk requested a review from a team as a code owner May 8, 2024 19:36
@julianajlk julianajlk changed the base branch from master to 2u/main May 8, 2024 19:36
@julianajlk julianajlk force-pushed the julianajlk/REV-4034/update-pi-on-capture-context branch from d8fbc70 to 130919d Compare May 9, 2024 14:28
@julianajlk julianajlk force-pushed the julianajlk/REV-4034/update-pi-on-capture-context branch from 130919d to f6f563e Compare May 9, 2024 14:38
@julianajlk julianajlk merged commit 8c1bca4 into 2u/main May 9, 2024
8 checks passed
@julianajlk julianajlk deleted the julianajlk/REV-4034/update-pi-on-capture-context branch May 9, 2024 16:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants