Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4907

CCAvenue: Clicking payment button returns an error on PHP 7.2+

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.7.1
    • Fix Version/s: 5.10.0-b2
    • Component/s: Gateways
    • Labels:
      None

      Description

      The Blesta CCAvenue documentation indicates that mcrypt is required, but despite mcrypt appearing in the PHP info on PHP 7.2-7.4, it was deprecated in PHP 7.1 and removed in PHP 7.2. If this is the cause for the issue, it means that CCAvenue no longer works with Blesta on any supported PHP version.

      To reproduce, install and configure CCAvenue. Click to make a payment using the CCAvenue button as a client. The following error is shown on CCAvenue's website:

      Error Code: 10001 Invalid Request - Encrypted request invalid/not present.

      Presumably the hidden field "encRequest" has invalid encrypted details due to mcrypt. Either due to mcrypt having been removed, or whatever mcrypt appears in PHP info not being the same mcrypt as previously used, or perhaps an incompatibility with this "new" mcrypt and PHPSeclib.

      The gateway needs to be updated to be compatible with PHP 7.2+

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              14/May/24

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 2 days, 44 minutes
              2d 44m

                Agile