eileenmcnaughton / nz.co.fuzion.omnipaymultiprocessor

Omnipay Multi Processor Payment Processor For CiviCRM
Other
13 stars 44 forks source link

Adding new gateway #63

Closed actnow closed 5 years ago

actnow commented 5 years ago

I get this error: Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred. Class '\Omnipay\mygateway\Gateway' not found

eileenmcnaughton commented 5 years ago

I probably need a bit more detail about what you did to add mygateway....

Did you run composer?

actnow commented 5 years ago

Yes added the below lines, and ran "composer update" based on https://stackoverflow.com/questions/26179177/omnipay-add-new-gateway add "autoload" too It installs without error

"razorpay/omnipay-razorpay": "dev-master" }, "autoload": {

    "psr-0": { 
        "": "lib/", 
        "Omnipay\\Razorpay\\" : "lib/omnipay/src"
    }
},
eileenmcnaughton commented 5 years ago

so above - should that say

Class '\Omnipay\Razorpay\Gateway' not found

I can't see where 'mygateway' would come from

actnow commented 5 years ago

Sorry the error is Class '\Omnipay\Razorpay\Gateway' not found I tried to find solution..

eileenmcnaughton commented 5 years ago

Hmm - I can take a look tomorrow if you push your code up as a PR so I can download it

actnow commented 5 years ago

Thanks will do

eileenmcnaughton commented 5 years ago

Per https://github.com/eileenmcnaughton/nz.co.fuzion.omnipaymultiprocessor/pull/64 closing