Imagine the following situation: on my website, a customer is sent to Redsys to pay for an order, but once there they click on the Cancel button because they want to pay later. The next time they want to pay for this (same) order, it will be impossible. No redirection to Redsys will be done.
When the customer comes back to pay for the (same) order, there's no way for them to be redirected to the Redsys gateway, because payum-redsys' CaptureAction
only redirects when Ds_Signature
is falsy:
if (false == $postData['Ds_Signature']) {
$details['Ds_Signature'] = $this->api->sign($postData->toUnsafeArray());
throw new HttpPostRedirect($this->api->getRedsysUrl(), $details);
}