swell-js
swell-js copied to clipboard
Payment Windows Show Outdated Cart Amounts After Cart Updates
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?