We are using the react-square-web-payments-sdk components, and dynamically handling the amount that is in the createPaymentRequest property object, but when using the GooglePay or ApplePay component, it does not take the updated values.
What could be happening?