ignited/laravel-omnipay

how change migs endpoint?

Closed this issue · 1 comments

I'm trying to use this Api with laravel 5.2 and omnipay/migs gateway
I'm successfully done a transaction, but I have to change the line #10 from vendor/omnipay/migs/src/Message/AbstractRequest.php

protected $endpoint = 'https://migs.mastercard.com.au/';

for my bank endpoint (Banamex)

As we can see, this file is in vendor folder, How can I change this value for some more persistent, in a config file or something like?
Thanks

I solved this overwritting the file in config path (config/omnipay/migs/src/Message/AbstractRequest.php)
:)