BNPL - Respect minimum order amounts when adding the PMME to the page #9244
Labels
focus: checkout payments
priority: high
The issue/PR is high priority—it affects lots of customers substantially, but not critically.
type: bug
The issue is a confirmed bug.
Milestone
Describe the bug
BNPL has minimum order amounts. Stripe uses the total when determining which BNPL methods are applicable. If no payment methods are applicable, say due to the total not hitting the minimum, no payment methods are displayed. Until recently, this wasn't a problem because nothing would be displayed on the page. However, the container with id
payment-method-message
is still added to the page and contains an empty Stripe iframe. Since #9166, a skeleton loader is added. When minimum order amounts aren't hit, the skeleton loader still appears, but no PMME is displayed when loading is finished. The result is a loader that appears to load nothing.To Reproduce
Screenshots
Screen.Recording.2024-08-09.at.1.05.11.PM.mov
Expected behavior
The loader shouldn't appear if minimum order amounts aren't met for the selected currency.
The text was updated successfully, but these errors were encountered: