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

CreditCard class should support card tokens. #65

Closed
akDeveloper opened this issue Mar 3, 2016 · 1 comment
Closed

CreditCard class should support card tokens. #65

akDeveloper opened this issue Mar 3, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@akDeveloper
Copy link
Owner

CreditCard class should manage a token reference of itself.
Some gateways supports the feature of exchanging the sensitive data of a credit card with a token reference.

Merchants can use this token to fulfill payments.
In this case purchase or authorize methods should accept a CreditCard object or a string reference of CreditCard.

Instead of changing the signature of these methods, it is better add support of token in CreditCard class.

So inside these methods should check if $creditcard->token is available to complete the action with token instead of card data.

@akDeveloper akDeveloper self-assigned this Mar 3, 2016
@akDeveloper akDeveloper added this to the Version 1.1 milestone Mar 3, 2016
@akDeveloper
Copy link
Owner Author

CreditCard class should ideal be replaced with this package in next major release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant