Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Configuring accepted cards breaks #32

jbt opened this Issue · 1 comment

2 participants


using $.extend to update config means that trying to configure any fewer than four card types in acceptedCards will only update the first few, and won't alter the length of the array.

For example, calling Recurly.config({ acceptedCards: ['visa'] }) will change Recurly.settings.acceptedCards to ['visa', 'discover', 'mastercard', 'visa'] rather than just ['visa']


You are correct - however it is for that reason that acceptedCards is not documented as an available option for Recurly.config. See here in the docs:

It should be used with the form building functions.

@shermany shermany closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.