Conversation
supportHello, When a customer attempts to pay in installments, they see the message: “Request data is not valid security error, invalid digest.” The redirection to the bank works fine. Customers can make non-installment payments without any issues, but only experiencing this problem with installment payments. Do you have any idea what might be causing this? Here is the screenshot: https://ibb.co/8zhcy18
Good afternoon, After making relevant checks , we noticed that there is a fix that might solve your issue as seen in a previous thread. The solution suggested is : add the following 2 lines of code in the file classes/WC_AlphaBank_Gateway_Base.php: ‘extInstallmentoffset’ => null, ‘extInstallmentperiod’ => null, just after the line ‘trType’ => $trType, and just before the line ‘confirmUrl’ => get_site_url() . “/?wc-api=WC_alphabank_Gateway&result=success”,. We will inform our dev team to add this fix in one of our next plugin updates.
Thank you very much for your support. The issue has been resolved with the code you provided. I hope the new update will be released as soon as possible. Best regards.
Good afternoon, After making relevant checks , we noticed that there is a fix that might solve your issue as seen in a previous thread. The solution suggested is : add the following 2 lines of code in the file classes/WC_AlphaBank_Gateway_Base.php: ‘extInstallmentoffset’ => null, ‘extInstallmentperiod’ => null, just after the line ‘trType’ => $trType, and just before the line ‘confirmUrl’ => get_site_url() . “/?wc-api=WC_alphabank_Gateway&result=success”,. We will inform our dev team to add this fix in one of our next plugin updates.
Thank you very much for your support. The issue has been resolved with the code you provided. I hope the new update will be released as soon as possible. Best regards.