-
-
Notifications
You must be signed in to change notification settings - Fork 824
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24183 from seamuslee001/elavon_extension_convert
[REF] Convert Elavon Payment Processor to be a core Extension
- Loading branch information
Showing
15 changed files
with
1,469 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ recaptcha | |
search_kit | ||
sequentialcreditnotes | ||
legacycustomsearches | ||
evalon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
use CRM_Elavon_ExtensionUtil as E; | ||
|
||
// This file declares a managed database record of type "ReportTemplate". | ||
// The record will be automatically inserted, updated, or deleted from the | ||
// database as appropriate. For more details, see "hook_civicrm_managed" at: | ||
// http://wiki.civicrm.org/confluence/display/CRMDOC42/Hook+Reference | ||
return [ | ||
0 => [ | ||
'name' => 'PaymentProcessorType_Elavon', | ||
'entity' => 'PaymentProcessorType', | ||
'params' => [ | ||
'version' => 3, | ||
'name' => 'Elavon', | ||
'title' => E::ts('Elavon Payment Processor'), | ||
'description' => E::ts('Elavon / Nova Virtual Merchant'), | ||
'user_name_label' => E::ts('SSL Merchant ID'), | ||
'password_label' => E::ts('SSL User ID'), | ||
'signature_label' => E::ts('SSL PIN'), | ||
'class_name' => 'Payment_Elavon', | ||
'billing_mode' => 1, | ||
'url_site_default' => 'https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do', | ||
'payment_type' => 1, | ||
'is_recur' => 0, | ||
'url_site_test_default' => 'https://www.myvirtualmerchant.com/VirtualMerchant/processxml.do', | ||
], | ||
], | ||
]; |
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# elavon | ||
|
||
This extension is to install the Elavon Payment Processor that used to be within the Core code base now as a core extension. | ||
|
||
The extension is licensed under [AGPL-3.0](LICENSE.txt). | ||
|
||
## Requirements | ||
|
||
* PHP v7.2+ | ||
* CiviCRM (*FIXME: Version number*) | ||
|
||
## Installation (Web UI) | ||
|
||
Learn more about installing CiviCRM extensions in the [CiviCRM Sysadmin Guide](https://docs.civicrm.org/sysadmin/en/latest/customize/extensions/). | ||
|
||
## Installation (CLI | ||
|
||
Sysadmins and developers may install this core extension with the command-line tool [cv](https://github.com/civicrm/cv). | ||
|
||
```bash | ||
cv en elavon | ||
``` |
Oops, something went wrong.