After implementing support for Systempay #230, I figured that successURL, errorURL and refusedURL are not passed to the service.
It seems to be nearly the same as #228 and #153.
At this time, I found that the cancelURL is correctly managed, but not the other ones and I can't figure why.
I could not figure how to add pass_through_fields via hook, so it requires to be hardcoded after each update.
With that, after finishing the credit-card stuff, the final user is redirected to one of the civicrm/customextension/confirm/* page and then redirected to the correct CiviCRM page.
It would be better if successURL and errorURL were directly passed to the processor.
Does anyone notes the same as me or have a clean solution?
Hi
After implementing support for Systempay #230, I figured that
successURL
,errorURL
andrefusedURL
are not passed to the service. It seems to be nearly the same as #228 and #153.At this time, I found that the
cancelURL
is correctly managed, but not the other ones and I can't figure why.My current (dirty) workaround is the following:
1. Adding 3 custom pages, accessible or anyone
in
xml/Menu/_customextension.xml
in
CRM/CustomExtension/Page/Confirm.php
The
templates/CRM/CustomExtension/Page/Confirm.tpl
should never be displayed, but we never know...2. Adding redirect fields into the processor definition
I could not figure how to add
pass_through_fields
via hook, so it requires to be hardcoded after each update.With that, after finishing the credit-card stuff, the final user is redirected to one of the
civicrm/customextension/confirm/*
page and then redirected to the correct CiviCRM page.It would be better if
successURL
anderrorURL
were directly passed to the processor.Does anyone notes the same as me or have a clean solution?