-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Card / Customer splitting #183
Comments
I think the approach should be deciding what the new interface should be, then mapping the old Omnipay does not have to provide all features of all gateways, but have a better idea of what features gateways supply and people want to use, so I believe the interface needs to be abstract enough to be able to plug in custom handling classes for all these features. That's my 2p worth. |
I made a cosmetic change here: #185 |
What is the status of this? And what exactly happened to #80? Thanks. |
That was reverted, because we decided to do a minimal 3.x upgrade. |
Thanks @barryvdh. What are the plans and timeline to integrate this? |
For many projects, the 'CreditCard' object is used for just customerData. We could split it up, but what would be the best way to do this, without BC breaks?
Gateways use
getCard
and users usesetCard
, so we can't just add a Customer object by default.The most that bugs me is the name of the object, and the validation of the object. So could we just use the same object but allow both card and customer as objects? And change the validation a bit?
eg. passing
customer
would behave the same ascard
, by settingcard
internallyAnd
validate()
could behave different when parameters are passed.See also #80
The text was updated successfully, but these errors were encountered: