You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2022. It is now read-only.
I've been struggling with updating the amount for the rendered component.
The properties for my wrapping component are updating correctly (seen via react dev tools) and the properties on the PayPalButton are also updating correctly but the createOrder call to paypal (see in the console with debug enabled) is not sending the correct value.
To give context to usage, I have a checkout page with a promo code field which can alter the total cost. The paypal payment button is show below the promo code fields at the very bottom of the page.
I tried using the onshippingchange action to mess with the value but it's not ideal.
Any suggestions?