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

Payment Windows Show Outdated Cart Amounts After Cart Updates #181

Open
mohitkumar29 opened this issue Jun 27, 2024 · 1 comment
Open

Payment Windows Show Outdated Cart Amounts After Cart Updates #181

mohitkumar29 opened this issue Jun 27, 2024 · 1 comment

Comments

@mohitkumar29
Copy link

Hi,

I am rendering payment buttons (e.g., PayPal, Apple Pay) on a page where users can update their cart (e.g., update quantity, apply coupons).

The issue I'm encountering is that after the buttons are rendered, any updates made to the cart are not reflected when clicking on any of the buttons. Instead, the payment windows show the old amount from before the updates.

Could you please suggest a solution to ensure that the payment windows reflect the updated cart amount?

@mohitkumar29 mohitkumar29 changed the title Duplicate payment buttons Payment Windows Show Outdated Cart Amounts After Cart Updates Jun 27, 2024
@vstudenichnik-insoft
Copy link
Contributor

Hi @mohitkumar29,
Unfortunately, this is technically impossible. After rendering payment buttons, it is only possible to change the shipping method/price if this is supported by the payment modal/page (which is displayed after clicking on the payment button).
So it looks like you need to add a checkout step to render the payment buttons where customers cannot change the cart amount.

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

No branches or pull requests

2 participants