- π΅π°Pakistan hmdnawaz
I tested this MR and I'm still facing the same issue. And endless redirect loop.
The following code block in MollieRedirectEventSubscriber.php can trigger endless loops:
if (($isUpdated && !$confirmationUpdate) || $isLocked) {
$this->messageManager->display(WebformMessageManagerInterface::SUBMISSION_UPDATED);
return Url::fromRoute($routeName, $routeParameters, $routeOptions);
}
This happens when you are setting up e-mail handlers with a condition when the payment status is set to paid, code that was introduced in #3206912: Mollie Webform: Mails only when paid β . When mollie redirects, and the transaction subscriber has saved the submission, you end up in this block. However, at this point, the current route is someting like mollie/redirect/mollie_webform/{submissionid} and you end up being redirected to the same page, resulting in an endless loop.
Not sure what the best approach is here.
This should probably go into 2.1.x as well.
Needs work
2.2
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I tested this MR and I'm still facing the same issue. And endless redirect loop.