Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 939 Bytes

CHANGELOG.md

File metadata and controls

30 lines (25 loc) · 939 Bytes

CHANGELOG for 1.5

  • 1.5.1
    • Sha256 is now the default hash algorithm used to generate signature. If you still want to use Sha1 (previously the default algorithm for SYSTEMPAY endpoint), you must update the API config:

      Before

      $factory = new PayzenGatewayFactory();
      $gateway = $factory->create([
          'site_id'     => ' ... ',
          'certificate' => ' ... ',
          'ctx_mode'    => Api::MODE_PRODUCTION,
          'directory'   => ' ... ',
      ]);

      After

      $factory = new PayzenGatewayFactory();
      $gateway = $factory->create([
          'site_id'     => ' ... ',
          'certificate' => ' ... ',
          'ctx_mode'    => Api::MODE_PRODUCTION,
          'directory'   => ' ... ',
          'hash_mode'   => Api::HASH_MODE_SHA1, // Add this entry
      ]);