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

Empty or no Merchant ID provided when config is disabled for a website #91

Open
cyildirim opened this issue Jan 6, 2023 · 0 comments
Open

Comments

@cyildirim
Copy link

Hi,

I get Empty or no Merchant ID provided error when config is disabled. But it works fine for the website openpay is disabled. This impacts when you have multiple websites on a magento instance.

Versions installed

openpay/sdk 2.2.1
openpay/magento2-banks 4.1.2
openpay/magento-cards 3.4.12

Steps to reporduce :

  1. Have two different website on Magento instance 2 A and B
  2. Enable & configure openpay cards for website A
  3. Disable and leave empty openpay for website B
  4. Go to website A cart page and observe everting works fine
  5. Go to website B cat page and check exception Empty or no Merchant ID provided is thrown

**Expected **
Merchant id shouldn't be asked if openpay is disabled

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