Payment choose stripe
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.
Main models
cards
: contains all the cards in an array to list
Utility Functions
hide()
: close the modaladd()
: open a modal to add a new cardaccept()
: Confirm the selected cardchange(card_id)
: select the card you want to use
Example of base theme
hide()
cards
change(card_id)
add()
accept()
Updated over 5 years ago