This repository has been archived by the owner on May 27, 2021. It is now read-only.
forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Braintree Blue: Allow unstoring just a credit card
Unfortunately the Braintree implementation of store/unstore/update was originally made very customer-centric where ActiveMerchant is credit card centric. This means that #unstore expects a customer id rather than a credit card token. To at least allow unstoring a card only, this allows passing a credit card token for removal; the customer id must be passed as nil for it to work, though.
- Loading branch information
Showing
3 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters