Hounddd / omnipay-systempay

SystemPay driver for the Omnipay PHP payment processing library
MIT License
0 stars 5 forks source link

Option to have automatic return URL to merchant shop #4

Open PubliAlex opened 3 years ago

PubliAlex commented 3 years ago

Hello (it's me again ^^),

Automatic return url to the merchant shop can be very useful in some cases (especially when you don't implement IPN url hum hum 😅)

Systempay allow that by providing extra datas to put on the form, see the documentation here.

It would be great to provide extra option in your plugin that would add that datas to the form.

for example :

$gateway->setAutomaticReturnUrl(true);

or something like that.

Thank you

damsfx commented 3 years ago

Hi @PubliAlex ,

Do you think that timeouts and messages related to this function need to be editable too?