bigcommerce / checkout-js

Optimized One-Page Checkout
MIT License
112 stars 342 forks source link

fix(payment): PI-2103 fix bluesnap direct styling #1875

Closed vitalii-koshovyi closed 1 month ago

vitalii-koshovyi commented 1 month ago

What?

Fixed hosted input styling for providers that doesn't need cvv verification

Why?

Due to our mechanics to get Stencil styles in the checkout we need to mount hidden input and from that we're taking styles. We use cvv input as an element where we should mount that hidden input for the stored card . Some providers like BluesnapDirect don't have such input so we should mount it near the card number input.

Testing / Proof

Before fix: Screenshot 2024-05-28 at 16 29 23

After fix: Screenshot 2024-05-28 at 16 24 30

@bigcommerce/team-checkout