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

mpay24_php_api, a little impractical to integrate due to MPay24Api::dieWithMsg #5

Closed
thomasmeike opened this issue Jun 8, 2016 · 0 comments

Comments

@thomasmeike
Copy link

Hi

We have to use mpay24-api as part of an abstraction layer for online-payments. Would it be possible to simply throw an exception on certain validation errors within MPay24Api::dieWithMsg instead of calling "die"?

another option which already could help is to make the members of the MPay24Api-Class protected. Doing so i am able to simply inject my own Version of MPay24Api-Class overwriting the methode dieWithMsg.

thanks in advance
cheers
Thomas

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

No branches or pull requests

1 participant