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

Fix compatibility with WooCommerce Payment Gateway Roles #9

Merged
merged 1 commit into from
Jul 7, 2014
Merged

Fix compatibility with WooCommerce Payment Gateway Roles #9

merged 1 commit into from
Jul 7, 2014

Conversation

mdeboer
Copy link
Contributor

@mdeboer mdeboer commented Jul 3, 2014

Fix compatibility with WooCommerce Payment Gateway Roles (and possibly others).

While working with WooCommerce Payment Gateway Roles it returned the MPM_Settings class instead of a valid gateway class. I modified the checks and MPM_Settings is only returned on the wc-settings page, otherwise the MPM_Gateway is returned.
Works perfectly, you can even assign individual roles for every enabled Mollie payment method.

Alvast bedankt! 👍

@RickWong RickWong merged commit 235d1d4 into mollie:master Jul 7, 2014
@RickWong
Copy link
Contributor

RickWong commented Jul 7, 2014

Thanks for making the module compatible with Payment Gateway Roles. I've merged your fix. It will be shipped with the next release.

@mdeboer
Copy link
Contributor Author

mdeboer commented Jul 7, 2014

You're welcome, thanks for the quick merge! Happy to see it with the next release so I get some sites in the air 👍

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

Successfully merging this pull request may close these issues.

2 participants