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'];