Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem Adding a Card to a Customer #11

Open
d1b1 opened this issue Nov 21, 2014 · 0 comments
Open

Problem Adding a Card to a Customer #11

d1b1 opened this issue Nov 21, 2014 · 0 comments

Comments

@d1b1
Copy link

d1b1 commented Nov 21, 2014

I am trying to add a card to an existing customer. I can not get it to save. I have been able to make the description change with the updateCustomer function, but not the new credit card. I appears the updateCustomer call update the card info, but does not create a new card.

Any ideas?

<cfset card= { 'exp_month'= Form.exp_month,
'name'= Form.name,
'address_line1'= Form.address_line1,
'address_line2'= Form.address_line2,
'address_city'= Form.address_city,
'address_state'= Form.address_state,
'address_zip'= Form.address_zip,
'number'= Form.number,
'cvc'= Form.cvc,
'exp_year'= Form.exp_year }>

<cfdump var="#updateCustomer#">
<cfcatch>
  <cfdump var="#cfcatch#">
</cfcatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant