Support » Plugin: WooCommerce MPGS » Duplicate Plugin

  • Resolved Johnny

    (@johnexposureninja)


    Hello,

    I’m looking to have two instances of this plugin installed so the payment gateway can have multiple MerchantIDs / API password / payment page URL.

    Went through the support and saw this was possible – https://wordpress.org/support/topic/two-merchant-ids/ I have successfully prevented all PHP errors but the “new” payment gateway doesn’t show on the payment gateways page.

    Was wondering if you could help?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ali Basheer

    (@alibasheer)

    Hi @johnexposureninja,

    I believe you need to change as well some more code, you need to rename one of the payment gateways names so they both appear.

    Best,
    Ali

    Thread Starter Johnny

    (@johnexposureninja)

    Hi @alibasheer

    Thanks for the reply.

    I actually made lots of progress after my earlier message. I’ve been able to get both gateways to show and even completed payments.

    However when both instances are active, the duplicate gateway throws this error – https://prnt.sc/z4pi3x

    This error doesn’t show when the original gateway plugin is active.

    Here’s my code – https://pastebin.com/DRtYP2Ww

    PS: I understand that this may be outside scope of your support. I’m willing to suggest paying for your services to my superiors if needed.

    Thanks.

    Thread Starter Johnny

    (@johnexposureninja)

    Meant to say:

    “This error doesn’t show when the original gateway plugin is deactivated”.

    Plugin Author Ali Basheer

    (@alibasheer)

    I see you did great progress @johnexposureninja!

    Yeah this is out of the support scope and at the moment I am not able to do customization/freelance work.

    I believe you will reach the fix as it looks so close.

    Best,
    Ali

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Duplicate Plugin’ is closed to new replies.