Is it possible with Recurly.js to be notified of the card type used by the customer?

It is possible! Elements have a change event which passes a state object to listeners. If you’re listening for change on a CardElement or CardNumberElement, the state object will contain a brand attribute.

Comments

0 comments

Please sign in to leave a comment.