-
Notifications
You must be signed in to change notification settings - Fork 16
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
Not supported Method "addSupportedBrand" in AbstractRequest #27
Comments
Strange, I see it here: https://github.com/thephpleague/omnipay-common/blob/master/src/Common/CreditCard.php Can you find out exactly which version of omnipay you are using? It may be you are not using the latest due to some other composer dependency. This command will give you the details:
Or If that's the case, I need to raise the required version of this package (^2.2 or ^2.3), or preferably build in some fallback workaround. Even better, if we can fix your dependencies, I won't have to add any code ;-) Let me know what you find and we can take it from there. |
I use omnipay/omnipay with all official payment processings.
I use another payment processings too and cannot update omnipay/common to version 2.5.x :( |
Do you can add the condition for example?
With this condition can work each version :) |
There can be all sorts of reasons why it has stopped on this version, including PHP versions. But that is the nature of composer. Yes, I can add a quick fix like that. There may be one or two brands that won't be supported, but at least it will work. I'm just waiting for feedback on another issue (which I stupidly did not fix in a branch) so I can tag that, then I can work on this. |
great, thank you very much! :) |
Or I can checkout 2.2.0 and branch from there. git is a never-ending learning experience :-) |
Would you be able to try this branch: https://github.com/academe/OmniPay-Payone/tree/issue27 If that works, I'll tag it for release and merge it into master. |
Ok, thanks. |
Release 2.2.1 |
Hi, I tested now and found more :) You wrote in your compose.json: |
The You are still going to have to find out what is holding back your |
I have a Fatal Error: "Call to undefined method Omnipay\Common\CreditCard::addSupportedBrand()"
(AbstractRequest, Line 721)
CreditCard of Omnipay don't have the "addSupportedBrand" Method.
It was tested with last version of Omnipay
The text was updated successfully, but these errors were encountered: