Payment provider - HTML code on process?
Posted: 20 Aug 2016, 01:31
Hi,
our Payment provider is basically a payment page, however it is integrated via Javascript and therefore looks exactly like the main page, the result is transmitted to the payment provider.
So therefore, I would need to be able to add the corresponding payment provider code instead of a form.
Is there an easy solution for this or will there be support for this in the future?
I currently have two possibilities:
1.) Redirect to own page which only displays the payment provider form by corresponding GET parameters.
2.) Override client/html/templates/checkout/standard/process-body-default.php and modify the form via JavaScript and pass corresponding values via the form Attribute-Array.
Number 2 is a bit hacky though but I am also not completely happy about number 1.
our Payment provider is basically a payment page, however it is integrated via Javascript and therefore looks exactly like the main page, the result is transmitted to the payment provider.
So therefore, I would need to be able to add the corresponding payment provider code instead of a form.
Is there an easy solution for this or will there be support for this in the future?
I currently have two possibilities:
1.) Redirect to own page which only displays the payment provider form by corresponding GET parameters.
2.) Override client/html/templates/checkout/standard/process-body-default.php and modify the form via JavaScript and pass corresponding values via the form Attribute-Array.
Number 2 is a bit hacky though but I am also not completely happy about number 1.