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

Stripe: multiple cards support #895

Closed

Conversation

pierre
Copy link
Contributor

@pierre pierre commented Oct 31, 2013

Add support to manage cards separately from customers.

Add support for multiple payment methods per customer.
The `store' call now adds a payment method if a customer
is specified (it used to clobber the default card instead).
You can specify :set_default => true to set the newly created
card as default.

The `update' call will add the new card and set it as default.

A new `update_customer' call has been added to update a customer's
metadata.

This commit also features a small refactoring in Stripe remote tests
to easily swap the default currency used.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Specifying a card_id will now delete the card only, without
deleting the customer.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
pierre added a commit to killbill/killbill-stripe-plugin that referenced this pull request Oct 31, 2013
This requires changes in activemerchant/active_merchant#895.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
@ntalbott ntalbott closed this in 17e5e81 Nov 11, 2013
chengz pushed a commit to chengz/active_merchant that referenced this pull request Dec 7, 2013
Specifying a card_id will now delete the card only, without
deleting the customer.

Closes activemerchant#895.
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

Successfully merging this pull request may close these issues.

None yet

1 participant