1

I downloaded PayU Integration API php files to be used in EE2, but I am not too sure in which directory to store it? It's not a module or something similar, its just 3 API files I need to reference in my checkout steps. Where would be best to store them in my EE2 project?

3

I would advise that you built it into an Omnipay gateway.

Omnipay is the payment provider library that powers Exp:resso Store 2 and so by building it for Omnipay it will work on Store.

They have a GitHub with examples and documentation https://github.com/omnipay/omnipay

If you decide to go down that route, the ExpressionEngine Answers website wouldn't be the place to get help. Instead you can use StackOverflow with the tag "omnnipay" and they'll be able to assist there.

https://stackoverflow.com/questions/tagged/omnipay

| improve this answer | |
2

Ideally you should use them to create a plugin but technically you can place them wherever you wish so long as whatever needs to reference them can reach them.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.