Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-17223

PayJunction CVV Transactions Fail

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6.8
    • Fix Version/s: 4.7
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      PayJunction integration does not include CVV support. I have to update the files every time I do an upgrade. It would be nice to have this rolled into future updates.

      Two files need to be modified.
      sites/all/modules/civicrm/CRM/Core/Payment/PayJunction.php
      sites/all/modules/civicrm/packages/PayJunction/pjClasses.php

      Add the following after line 121(after crypt_type) to PayJunction.php:

      cavv' => $params['cvv2'],
      

      Replace the following in pjClasses.php:

      $dc_verification_number      = "000";
      

      with

      $dc_verification_number      = $pjTxn['cavv'];
      

        Attachments

        1. PayJunction.php
          7 kB
          Lee Gooding
        2. pjClasses.php
          12 kB
          Lee Gooding

          Activity

            People

            • Assignee:
              dgg David Greenberg
              Reporter:
              slgooding Lee Gooding
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: