<div class="col-sm-4 payment-method-card" th:classappend="${isCheckoutContext}? 'card-plain' : 'rotating-card-container manual-flip'">
    <div class="card"
         th:classappend="|${isCheckoutContext != null ? 'js-chooseSavedPayment' : 'card-rotate'}
                        ${((paymentInfoForm.customerPaymentId == null) ? payment.isDefault() : paymentInfoForm.customerPaymentId == payment.id) ? 'active' : ''}|"
         th:attr="data-customerpaymentid=${payment.id}">
        <div th:classappend="!${isChec