Closed GhaziTriki closed 9 years ago
Hi Ghazi, I haven't actually tested this, but does it actually remove the ability to just set a single return url using the generic returnUrl parameter? If so, this would break many existing integrations (including mine!), and deviate away from the OmniPay principle of being able to swap between payment gateway drivers easily. One solution might be to let the setReturnUrl method just call the other methods, setting the individual urls to whatever was passed in the generic returnUrl param...
Cheers, Andy
I thought about it and I was sure that it has bad implications. I like the backward compatibility fallback you have proposed and I will implement it.
Hi @GhaziTriki I have given you access to the repo so you can merge these yourself like Andy suggested. Just make sure to keep BC for @coatesap and write tests =)
Thank you very much. I am really grateful you have given me access to the repository. I will add unit tests for this.
You're welcome :+1:
ref #17 : the three response back url can now be different.