When subscription switching and prorating is enabled, user can select to upgrade their subscription and we charge them only the outstanding amount for upgrade. On subscription switch product page, the express checkout button is displayed and if you try to pay from this product page, it charges you the full amount instead of the difference.
Steps to reproduce
Create a variable subscription product with 2 variations (Blue: 50 USD and Red: 60 USD).
Purchase the Blue variation.
From My Account > Subscriptions page find your subscription.
Click on upgrade your subscription button.
You will be taken to the product page to switch the product variation.
If you click the switch button, go to the checkout page and try paying with ECE/PRB on the checkout page, you will be charged 10 USD (the difference)
If you try to pay from the product page with ECE/PRB, you will be charged 60 USD (the full price)
Expected behavior
Hide the ECE/PRB buttons from the product page in this scenario.
When subscription switching and prorating is enabled, user can select to upgrade their subscription and we charge them only the outstanding amount for upgrade. On subscription switch product page, the express checkout button is displayed and if you try to pay from this product page, it charges you the full amount instead of the difference.
Steps to reproduce
Expected behavior