Modal that opens when the customer chooses the payment method stripe or line with this permission to select a card for payment or add one.
cards: contains all the cards in an array to list
hide(): close the modal
add(): open a modal to add a new card
accept(): Confirm the selected card
change(card_id): select the card you want to use
Updated about 3 years ago