thephpleague / omnipay-eway

eWay driver for the Omnipay PHP payment processing library
MIT License
13 stars 17 forks source link

How to Install via Composer with DirectGateway #3

Closed sn0rcha closed 10 years ago

sn0rcha commented 10 years ago

Hey there,

I followed you're instructions on how to install this via composer using:

"omnipay/eway": "~2.0"

But it didn't seem to download the the direct gateway files. Is there something I did wrong with composer?

Cheers, Ben

amacneil commented 10 years ago

The eWay Direct gateway isn't supported by Omnipay (yet), only the Rapid 3.0 gateway. So you can either use Rapid (probably a better idea for PCI compliance), or I'm happy to accept a pull request with the direct gateway too.

sn0rcha commented 10 years ago

How do I do a pull request? - Sorry never done one before :)

I ask as each time I do a composer update it's reverting back to the version without eway direct.

Many thanks!

amacneil commented 10 years ago

If you want to keep the direct gateway when you run composer update, you can just put it in your project's source directory instead of the vendor directory.

For more info about making a pull request, see here: https://help.github.com/articles/fork-a-repo