saucal / woocommerce-gateway-amazon-pay

Amazon Pay Gateway
0 stars 1 forks source link

Updated estimated order amount on total change for blocks #182

Closed dpanta94 closed 2 years ago

dpanta94 commented 2 years ago

All Submissions:

Changes proposed in this Pull Request:

Listening for changes on the total amount for the checkout and/or the currency code. If that happens using the Components key attribute, we force a remount and render the new Amazon Pay button using the updated estimatedOrderAmount value.

How to test the changes in this Pull Request:

  1. Estimated order amount should get updated after the checkout total is changed in cart and checkout blocks

Other information: