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

Commits on Oct 31, 2013

  1. stripe: support multiple cards on account

    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>
    pierre committed Oct 31, 2013
    Configuration menu
    Copy the full SHA
    8bfbdb7 View commit details
    Browse the repository at this point in the history
  2. stripe: add card_id parameter to unstore call

    Specifying a card_id will now delete the card only, without
    deleting the customer.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Oct 31, 2013
    Configuration menu
    Copy the full SHA
    af24259 View commit details
    Browse the repository at this point in the history