diff --git a/.gitignore b/.gitignore
index 0ae5733..4dc2248 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,5 @@
emerchantpay.ocmod.zip
/vendor/
bin/check-standards
+phpcs_report.xml
+phpmd_report.xml
diff --git a/.phpcs.xml b/.phpcs.xml
index aab5a6c..7855f9a 100644
--- a/.phpcs.xml
+++ b/.phpcs.xml
@@ -1,10 +1,64 @@
-
- Generally-applicable sniffs for OpenCart EMP Plugin
-
-
+
+ Combined Code Sniffer rule set for OpenCart and OpenCart EMP Plugin
*/vendor/*
*.min.js
*.min.css
+ */tests/*
+
+
+
+ 5
+ error
+
+
+ 1
+ warning
+
+
+
+
+
+ 5
+ error
+
+
+ 5
+ error
+
+
+
+
+
+
+
+
+
+
+ *.tpl
+ *.css
+ *.html
+ *.ini
+ *.txt
+ 1
+ warning
+
+
+ Please review this TODO comment: %s
+ 3
+ warning
+
+
+ Please review this FIXME comment: %s
+ 5
+ warning
+
+
+
+
+
+
+
+
diff --git a/.phpmd.xml b/.phpmd.xml
index 9513501..35cee37 100644
--- a/.phpmd.xml
+++ b/.phpmd.xml
@@ -24,7 +24,7 @@
-
+
@@ -32,7 +32,7 @@
-
+
@@ -58,4 +58,5 @@
*/genesisgateway/*
+ */vendor/*
diff --git a/LICENSE.md b/LICENSE.md
new file mode 100644
index 0000000..e5d14b4
--- /dev/null
+++ b/LICENSE.md
@@ -0,0 +1,125 @@
+GNU GENERAL PUBLIC LICENSE
+Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+
+Everyone is permitted to copy and distribute verbatim copies
+of this license document, but changing it is not allowed.
+Preamble
+The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
+
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
+
+To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
+
+We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
+
+Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification follow.
+
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
+
+1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
+
+a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
+b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
+c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
+These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
+
+3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
+
+a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
+b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
+c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
+The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
+
+If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
+
+4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
+
+6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
+
+7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
+
+This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
+
+9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
+
+10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
+
+NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+END OF TERMS AND CONDITIONS
+How to Apply These Terms to Your New Programs
+If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
+
+To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
+
+one line to give the program's name and an idea of what it does.
+Copyright (C) yyyy name of author
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
+
+Gnomovision version 69, Copyright (C) year name of author
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
+type `show w'. This is free software, and you are welcome
+to redistribute it under certain conditions; type `show c'
+for details.
+The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
+
+Yoyodyne, Inc., hereby disclaims all copyright
+interest in the program `Gnomovision'
+(which makes passes at compilers) written
+by James Hacker.
+
+signature of Ty Coon, 1 April 1989
+Ty Coon, President of Vice
+This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.
diff --git a/README.md b/README.md
index 679b124..21cbad9 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
emerchantpay Gateway Module for OpenCart
========================================
+[![Software License](https://img.shields.io/badge/license-GPL-green.svg?style=flat)](http://opensource.org/licenses/gpl-2.0.php)
This is a Payment Module for OpenCart, that gives you the ability to process payments through emerchantpay's Payment Gateway - Genesis.
@@ -7,7 +8,7 @@ Requirements
------------
* OpenCart 4.0.2.X (due to architectural changes, this module is __incompatible__ with older OpenCart versions)
-* [GenesisPHP v1.24.2](https://github.com/GenesisGateway/genesis_php/tree/1.24.2) - (Integrated in Module)
+* [GenesisPHP v1.24.6](https://github.com/GenesisGateway/genesis_php/tree/1.24.6) - (Integrated in Module)
* PCI-certified server in order to use ```emerchantpay Direct```
GenesisPHP Requirements
@@ -135,4 +136,22 @@ _Note_: If you have trouble with your credentials or terminal configuration, get
You're now ready to process payments through our gateway.
+Development
+------------
+* Install dev packages
+```shell
+composer install
+```
+* Run PHP Code Sniffer
+```shell
+composer php-cs
+```
+* Run PHP Mess Detector
+```shell
+composer php-md
+```
+* Pack installation archive (Linux or macOS only)
+```shell
+composer pack
+```
[support]: mailto:tech-support@emerchantpay.net
diff --git a/admin/controller/payment/emerchantpay_checkout.php b/admin/controller/payment/emerchantpay_checkout.php
index e27f421..d167d3e 100644
--- a/admin/controller/payment/emerchantpay_checkout.php
+++ b/admin/controller/payment/emerchantpay_checkout.php
@@ -40,8 +40,7 @@ class EmerchantpayCheckout extends BaseController
*
* @return bool
*/
- protected function isModuleRequiresSsl(): bool
- {
+ protected function isModuleRequiresSsl(): bool {
return false;
}
}
diff --git a/admin/controller/payment/emerchantpay_direct.php b/admin/controller/payment/emerchantpay_direct.php
index 51e2d5a..182206e 100644
--- a/admin/controller/payment/emerchantpay_direct.php
+++ b/admin/controller/payment/emerchantpay_direct.php
@@ -40,8 +40,7 @@ class EmerchantpayDirect extends BaseController
*
* @param $registry
*/
- public function __construct($registry)
- {
+ public function __construct($registry) {
parent::__construct($registry);
// TODO array_push with single element
array_push($this->error_field_key_list, 'token');
@@ -52,24 +51,17 @@ public function __construct($registry)
*
* @return bool
*/
- protected function isModuleRequiresSsl(): bool
- {
+ protected function isModuleRequiresSsl(): bool {
return true;
}
/**
* Ensure that the current user has permissions to see/modify this module
*
- * @return bool
+ * @return void
*/
- protected function validate(): bool
- {
- parent::validate();
-
- if (empty($this->request->post["{$this->module_name}_token"])) {
- $this->error['token'] = $this->language->get('error_token');
- }
-
- return !$this->error;
+ protected function validateRequiredFields(?array $required_fields = []): void {
+ $required_fields["{$this->module_name}_async_order_status_id"] = 'order_async_status';
+ parent::validateRequiredFields($required_fields);
}
}
diff --git a/admin/language/en-gb/payment/emerchantpay_direct.php b/admin/language/en-gb/payment/emerchantpay_direct.php
index ac322ba..f68d3d0 100644
--- a/admin/language/en-gb/payment/emerchantpay_direct.php
+++ b/admin/language/en-gb/payment/emerchantpay_direct.php
@@ -127,6 +127,7 @@
// Help
$_['help_total'] = 'Minimum Order Amount required, in order to activate this payment method.';
$_['help_sandbox'] = 'Use Sandbox (Test) or Production (Live) environment.';
+$_['help_token'] = 'This is your Gateway token. If you do not have a token, contact tech-support@emerchantpay.com to enable Smart Router for your account.';
$_['help_order_status'] = 'Order status for successfully completed transactions';
$_['help_async_order_status'] = 'Order status for initiated asynchronous (3D) transaction';
$_['help_failure_order_status'] = 'Order status for failed transactions';
diff --git a/admin/model/payment/emerchantpay/base_model.php b/admin/model/payment/emerchantpay/base_model.php
index 30fefe2..fca5adb 100644
--- a/admin/model/payment/emerchantpay/base_model.php
+++ b/admin/model/payment/emerchantpay/base_model.php
@@ -19,7 +19,11 @@
namespace Opencart\Admin\Model\Extension\Emerchantpay\Payment\emerchantpay;
+use Genesis\API\Constants\Endpoints;
+use Genesis\API\Constants\Environments;
use Genesis\API\Constants\Transaction\Parameters\ScaExemptions;
+use Genesis\Config;
+use Genesis\Exceptions\InvalidArgument;
use Opencart\System\Engine\Model;
/**
@@ -35,15 +39,14 @@ class BaseModel extends Model
*
* @var string
*/
- protected $module_version = '1.1.4';
+ protected $module_version = '1.1.5';
/**
* Returns formatted array with available SCA Exemptions
*
* @return array
*/
- public function getScaExemptions(): array
- {
+ public function getScaExemptions(): array {
$data = [];
$sca_exemptions = [
ScaExemptions::EXEMPTION_LOW_RISK => 'Low risk',
@@ -59,4 +62,33 @@ public function getScaExemptions(): array
return $data;
}
+
+ /**
+ * Bootstrap Genesis Library
+ *
+ * @return void
+ *
+ * @throws InvalidArgument
+ */
+ protected function bootstrap(): void {
+ if (!class_exists('\Genesis\Genesis', false)) {
+ include DIR_STORAGE . 'vendor/genesisgateway/genesis_php/vendor/autoload.php';
+ }
+
+ Config::setEndpoint(
+ Endpoints::EMERCHANTPAY
+ );
+
+ Config::setUsername(
+ $this->config->get("{$this->module_name}_username")
+ );
+
+ Config::setPassword(
+ $this->config->get("{$this->module_name}_password")
+ );
+
+ Config::setEnvironment(
+ $this->config->get("{$this->module_name}_sandbox") ? Environments::STAGING : Environments::PRODUCTION
+ );
+ }
}
diff --git a/admin/model/payment/emerchantpay_checkout.php b/admin/model/payment/emerchantpay_checkout.php
index ec827d4..d8d92f3 100644
--- a/admin/model/payment/emerchantpay_checkout.php
+++ b/admin/model/payment/emerchantpay_checkout.php
@@ -29,6 +29,7 @@
use Genesis\API\Constants\Transaction\Parameters\Wallets\PayPal\PaymentTypes as PayPalPaymentTypes;
use Genesis\API\Request\Financial\Alternatives\Klarna\Items as KlarnaItems;
use Genesis\Config;
+use Genesis\Exceptions\InvalidArgument;
use Genesis\Genesis;
use Opencart\Admin\Model\Extension\Emerchantpay\Payment\emerchantpay\BaseModel;
use Opencart\Extension\Emerchantpay\System\DbHelper;
@@ -41,15 +42,14 @@
*/
class EmerchantpayCheckout extends BaseModel
{
- protected $module_name = 'emerchantpay_checkout';
+ protected string $module_name = 'emerchantpay_checkout';
/**
* Perform installation logic
*
* @return void
*/
- public function install(): void
- {
+ public function install(): void {
$this->db->query("
CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "emerchantpay_checkout_transactions` (
`unique_id` VARCHAR(255) NOT NULL,
@@ -102,8 +102,7 @@ public function install(): void
*
* @return void
*/
- public function uninstall(): void
- {
+ public function uninstall(): void {
// Keep transaction data
//$this->db->query("DROP TABLE IF EXISTS `" . DB_PREFIX . "emerchantpay_checkout_transactions`;");
@@ -119,8 +118,7 @@ public function uninstall(): void
*
* @return mixed bool on fail, row on success
*/
- public function getTransactionById($reference_id): mixed
- {
+ public function getTransactionById($reference_id): mixed {
$query = $this->db->query("
SELECT * FROM `" . DB_PREFIX . "emerchantpay_checkout_transactions`
WHERE `unique_id` = '" . $this->db->escape($reference_id) . "' LIMIT 1
@@ -143,8 +141,7 @@ public function getTransactionById($reference_id): mixed
*
* @return float
*/
- public function getTransactionsSumAmount($order_id, $reference_id, $types, $status): float
- {
+ public function getTransactionsSumAmount($order_id, $reference_id, $types, $status): float {
$transactions = $this->getTransactionsByTypeAndStatus($order_id, $reference_id, $types, $status);
$total_amount = 0;
@@ -168,8 +165,7 @@ public function getTransactionsSumAmount($order_id, $reference_id, $types, $stat
*
* @return array|false
*/
- public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transaction_types, $status): array|false
- {
+ public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transaction_types, $status): array|false {
$query = $this->db->query("
SELECT *
FROM `" . DB_PREFIX . "emerchantpay_checkout_transactions` AS t
@@ -193,8 +189,7 @@ public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transa
*
* @return mixed bool on fail, rows on success
*/
- public function getTransactionsByOrder($order_id): mixed
- {
+ public function getTransactionsByOrder($order_id): mixed {
$query = $this->db->query("
SELECT * FROM `" . DB_PREFIX . "emerchantpay_checkout_transactions`
WHERE `order_id` = '" . abs(intval($order_id)) . "'
@@ -220,8 +215,7 @@ public function getTransactionsByOrder($order_id): mixed
*
* @return object|string
*/
- public function capture($type, $reference_id, $amount, $currency, $usage, $order_id, $token = null): object|string
- {
+ public function capture($type, $reference_id, $amount, $currency, $usage, $order_id, $token = null): object|string {
try {
$this->bootstrap($token);
@@ -269,8 +263,7 @@ public function capture($type, $reference_id, $amount, $currency, $usage, $order
*
* @return object|string
*/
- public function refund($type, $reference_id, $amount, $currency, $usage = '', $token = null, $order_id = 0): object|string
- {
+ public function refund($type, $reference_id, $amount, $currency, $usage = '', $token = null, $order_id = 0): object|string {
try {
$this->bootstrap($token);
@@ -314,8 +307,7 @@ public function refund($type, $reference_id, $amount, $currency, $usage = '', $t
*
* @return object|string
*/
- public function void($reference_id, $usage = '', $token = null): object|string
- {
+ public function void($reference_id, $usage = '', $token = null): object|string {
try {
$this->bootstrap($token);
@@ -347,8 +339,7 @@ public function void($reference_id, $usage = '', $token = null): object|string
*
* @return array
*/
- public function getTransactionTypes(): array
- {
+ public function getTransactionTypes(): array {
$data = array();
$this->bootstrap();
@@ -452,8 +443,7 @@ function ($type) {
*
* @return array
*/
- public function getBankCodes(): array
- {
+ public function getBankCodes(): array {
$data = [];
$available_bank_codes = EmerchantpayHelper::getAvailableBankCodes();
@@ -472,8 +462,7 @@ public function getBankCodes(): array
*
* @return array
*/
- public function getRecurringTransactionTypes(): array
- {
+ public function getRecurringTransactionTypes(): array {
$data = [];
$this->bootstrap();
@@ -523,49 +512,12 @@ public function getRecurringTransactionTypes(): array
*
* @return string
*/
- public function genTransactionId($prefix = ''): string
- {
+ public function genTransactionId($prefix = ''): string {
$hash = md5(microtime(true) . uniqid() . mt_rand(PHP_INT_SIZE, PHP_INT_MAX));
return (string)$prefix . substr($hash, -(strlen($hash) - strlen($prefix)));
}
- /**
- * Bootstrap Genesis Library
- *
- * @param string $token Terminal token
- *
- * @return void
- *
- * @throws \Genesis\Exceptions\InvalidArgument
- */
- public function bootstrap($token = null): void
- {
- if (!class_exists('\Genesis\Genesis', false)) {
- include DIR_STORAGE . 'vendor/genesisgateway/genesis_php/vendor/autoload.php';
-
- Config::setEndpoint(
- Endpoints::EMERCHANTPAY
- );
-
- Config::setUsername(
- $this->config->get('emerchantpay_checkout_username')
- );
-
- Config::setPassword(
- $this->config->get('emerchantpay_checkout_password')
- );
-
- Config::setEnvironment(
- $this->config->get('emerchantpay_checkout_sandbox') ? Environments::STAGING : Environments::PRODUCTION
- );
- }
-
- if (isset($token)) {
- Config::setToken((string)$token);
- }
- }
-
/**
* Proxy method for logEx
*
@@ -573,8 +525,7 @@ public function bootstrap($token = null): void
*
* @return void
*/
- public function logEx(\Exception $exception): void
- {
+ public function logEx(\Exception $exception): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->logEx($exception);
}
@@ -584,8 +535,7 @@ public function logEx(\Exception $exception): void
*
* @return string
*/
- public function getVersion(): string
- {
+ public function getVersion(): string {
return $this->module_version;
}
@@ -598,8 +548,7 @@ public function getVersion(): string
*
* @throws \Exception
*/
- public function populateTransaction($data): void
- {
+ public function populateTransaction($data): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->populateTransaction($data);
}
@@ -612,8 +561,7 @@ public function populateTransaction($data): void
*
* @throws \Genesis\Exceptions\ErrorParameter
*/
- protected function getKlarnaReferenceAttributes($currency, $order_id): KlarnaItems
- {
+ protected function getKlarnaReferenceAttributes($currency, $order_id): KlarnaItems {
$this->load->model('sale/order');
$product_order_info = $this->model_sale_order->getOrderProducts($order_id);
@@ -640,4 +588,20 @@ function ($value) {
)
);
}
+
+ /**
+ * Bootstrap Genesis Library
+ *
+ * @param string|null $token Terminal token
+ *
+ * @return void
+ *
+ * @throws InvalidArgument
+ */
+ protected function bootstrap(?string $token = null): void {
+ parent::bootstrap();
+ if (isset($token)) {
+ Config::setToken((string)$token);
+ }
+ }
}
diff --git a/admin/model/payment/emerchantpay_direct.php b/admin/model/payment/emerchantpay_direct.php
index 7a05e8e..23f0b45 100644
--- a/admin/model/payment/emerchantpay_direct.php
+++ b/admin/model/payment/emerchantpay_direct.php
@@ -36,15 +36,14 @@
*/
class EmerchantpayDirect extends BaseModel
{
- protected $module_name = "emerchantpay_direct";
+ protected string $module_name = "emerchantpay_direct";
/**
* Perform installation logic
*
* @return void
*/
- public function install(): void
- {
+ public function install(): void {
$this->db->query("
CREATE TABLE IF NOT EXISTS `" . DB_PREFIX . "emerchantpay_direct_transactions` (
`unique_id` VARCHAR(255) NOT NULL,
@@ -87,8 +86,7 @@ public function install(): void
*
* @return void
*/
- public function uninstall(): void
- {
+ public function uninstall(): void {
// Keep transaction data
//$this->db->query("DROP TABLE IF EXISTS `" . DB_PREFIX . "emerchantpay_direct_transactions`;");
@@ -104,8 +102,7 @@ public function uninstall(): void
*
* @return mixed bool on fail, row on success
*/
- public function getTransactionById($reference_id): mixed
- {
+ public function getTransactionById($reference_id): mixed {
$query = $this->db->query("
SELECT * FROM `" . DB_PREFIX . "emerchantpay_direct_transactions`
WHERE `unique_id` = '" . $this->db->escape($reference_id) . "' LIMIT 1
@@ -126,8 +123,7 @@ public function getTransactionById($reference_id): mixed
* @param string $status
* @return float
*/
- public function getTransactionsSumAmount($order_id, $reference_id, $types, $status): float
- {
+ public function getTransactionsSumAmount($order_id, $reference_id, $types, $status): float {
$transactions = $this->getTransactionsByTypeAndStatus($order_id, $reference_id, $types, $status);
$total_amount = 0;
@@ -152,8 +148,7 @@ public function getTransactionsSumAmount($order_id, $reference_id, $types, $stat
* @return array|false
*/
- public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transaction_types, $status): array|false
- {
+ public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transaction_types, $status): array|false {
$query = $this->db->query("
SELECT *
FROM `" . DB_PREFIX . "emerchantpay_direct_transactions` AS t
@@ -177,8 +172,7 @@ public function getTransactionsByTypeAndStatus($order_id, $reference_id, $transa
*
* @return mixed bool on fail, rows on success
*/
- public function getTransactionsByOrder($order_id): mixed
- {
+ public function getTransactionsByOrder($order_id): mixed {
$query = $this->db->query("
SELECT * FROM `" . DB_PREFIX . "emerchantpay_direct_transactions`
WHERE `order_id` = '" . intval($order_id) . "'
@@ -201,8 +195,7 @@ public function getTransactionsByOrder($order_id): mixed
*
* @return object|string
*/
- public function capture($type, $reference_id, $amount, $currency, $usage): object|string
- {
+ public function capture($type, $reference_id, $amount, $currency, $usage): object|string {
try {
$this->bootstrap();
@@ -243,8 +236,7 @@ public function capture($type, $reference_id, $amount, $currency, $usage): objec
*
* @return object|string
*/
- public function refund($type, $reference_id, $amount, $currency, $usage = ''): object|string
- {
+ public function refund($type, $reference_id, $amount, $currency, $usage = ''): object|string {
try {
$this->bootstrap();
@@ -283,8 +275,7 @@ public function refund($type, $reference_id, $amount, $currency, $usage = ''): o
*
* @return object|string
*/
- public function void($reference_id, $usage = ''): object|string
- {
+ public function void($reference_id, $usage = ''): object|string {
try {
$this->bootstrap();
@@ -316,8 +307,7 @@ public function void($reference_id, $usage = ''): object|string
*
* @return array
*/
- public function getTransactionTypes(): array
- {
+ public function getTransactionTypes(): array {
return array(
Types::AUTHORIZE => array(
'id' => Types::AUTHORIZE,
@@ -355,8 +345,7 @@ public function getTransactionTypes(): array
*
* @throws \Genesis\Exceptions\InvalidArgument
*/
- public function getRecurringTransactionTypes(): array
- {
+ public function getRecurringTransactionTypes(): array {
// TODO: Should we move out this to a trait or another class to avoid duplicate code
$data = array();
@@ -390,47 +379,12 @@ public function getRecurringTransactionTypes(): array
*
* @return string
*/
- public function genTransactionId($prefix = ''): string
- {
+ public function genTransactionId($prefix = ''): string {
$hash = md5(microtime(true) . uniqid() . mt_rand(PHP_INT_SIZE, PHP_INT_MAX));
return (string)$prefix . substr($hash, -(strlen($hash) - strlen($prefix)));
}
- /**
- * Bootstrap Genesis Library
- *
- * @return void
- *
- * @throws \Genesis\Exceptions\InvalidArgument
- */
- public function bootstrap(): void
- {
- // Look for, but DO NOT try to load via Auto-loader magic methods
- if (class_exists('\Genesis\Genesis')) {
-
- Config::setEndpoint(
- Endpoints::EMERCHANTPAY
- );
-
- Config::setUsername(
- $this->config->get('emerchantpay_direct_username')
- );
-
- Config::setPassword(
- $this->config->get('emerchantpay_direct_password')
- );
-
- Config::setToken(
- $this->config->get('emerchantpay_direct_token')
- );
-
- Config::setEnvironment(
- ($this->config->get('emerchantpay_direct_sandbox')) ? Environments::STAGING : Environments::PRODUCTION
- );
- }
- }
-
/**
* Proxy method for logEx
*
@@ -438,8 +392,7 @@ public function bootstrap(): void
*
* @return void
*/
- public function logEx(\Exception $exception): void
- {
+ public function logEx(\Exception $exception): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->logEx($exception);
}
@@ -449,8 +402,7 @@ public function logEx(\Exception $exception): void
*
* @return string
*/
- public function getVersion(): string
- {
+ public function getVersion(): string {
return $this->module_version;
}
@@ -463,9 +415,28 @@ public function getVersion(): string
*
* @throws \Exception
*/
- public function populateTransaction($data): void
- {
+ public function populateTransaction($data): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->populateTransaction($data);
}
+
+ /**
+ * Bootstrap Genesis Library
+ *
+ * @return void
+ *
+ * @throws \Genesis\Exceptions\InvalidArgument
+ */
+ protected function bootstrap(): void {
+ parent::bootstrap();
+
+ $token = $this->config->get("{$this->module_name}_token");
+ if (empty($token)) {
+ Config::setForceSmartRouting(true);
+
+ return;
+ }
+
+ Config::setToken($token);
+ }
}
diff --git a/admin/view/template/extension/payment/emerchantpay_direct.twig b/admin/view/template/extension/payment/emerchantpay_direct.twig
index 06a3fd2..6744e61 100644
--- a/admin/view/template/extension/payment/emerchantpay_direct.twig
+++ b/admin/view/template/extension/payment/emerchantpay_direct.twig
@@ -79,9 +79,11 @@
placeholder="{{ entry_password }}" class="form-control"/>
-
-
- {{ entry_token }}
+
+
+
+ {{ entry_token }}
+
-
- {{ entry_sandbox }}
-
+
+ {{ entry_sandbox }}
+
load->language('extension/emerchantpay/payment/emerchantpay_checkout');
$this->load->model('extension/emerchantpay/payment/emerchantpay_checkout');
$this->document->addStyle(HTTP_SERVER . '/extension/emerchantpay/catalog/view/stylesheet/emerchantpay/emerchantpay.css');
@@ -79,8 +77,7 @@ public function index(): mixed
*
* @return array
*/
- public function prepareViewData(): array
- {
+ public function prepareViewData(): array {
$data = array(
'text_title' => $this->language->get('text_title'),
'text_loading' => $this->language->get('text_loading'),
@@ -103,8 +100,7 @@ public function prepareViewData(): array
*
* @return void
*/
- public function send(): void
- {
+ public function send(): void {
$this->load->model('checkout/order');
$this->load->model('account/order');
$this->load->model('account/customer');
@@ -184,8 +180,7 @@ function ($value) {
*
* @return void
*/
- public function callback(): void
- {
+ public function callback(): void {
$this->load->model('checkout/order');
$this->load->model('extension/emerchantpay/payment/emerchantpay_checkout');
@@ -289,8 +284,7 @@ public function callback(): void
*
* @return void
*/
- public function success(): void
- {
+ public function success(): void {
$this->response->redirect($this->buildUrl('checkout/success'));
}
@@ -299,8 +293,7 @@ public function success(): void
*
* @return void
*/
- public function failure(): void
- {
+ public function failure(): void {
$this->load->language('extension/emerchantpay/payment/emerchantpay_checkout');
$this->session->data['error'] = $this->language->get('text_payment_failure');
@@ -313,8 +306,7 @@ public function failure(): void
*
* @return void
*/
- public function cancel(): void
- {
+ public function cancel(): void {
$this->load->language('extension/emerchantpay/payment/emerchantpay_checkout');
$this->session->data['error'] = $this->language->get('text_payment_cancelled');
@@ -327,8 +319,7 @@ public function cancel(): void
*
* @return void
*/
- protected function isUserLoggedIn(): void
- {
+ protected function isUserLoggedIn(): void {
$is_callback = strpos((string)$this->request->get['route'], 'callback') !== false;
if (!$this->customer->isLogged() && !$is_callback) {
@@ -341,8 +332,7 @@ protected function isUserLoggedIn(): void
*
* @return void
*/
- public function cron(): void
- {
+ public function cron(): void {
$this->load->model('extension/payment/emerchantpay_checkout');
$this->model_extension_emerchantpay_payment_emerchantpay_checkout->processRecurringOrders();
}
@@ -355,8 +345,7 @@ public function cron(): void
*
* @return string
*/
- public function getCurrentUserIdHash($controller, $length = 30): string
- {
+ public function getCurrentUserIdHash($controller, $length = 30): string {
$user_id = $this->getCustomerId($controller);
$user_hash = ($user_id > 0) ? sha1($user_id) : $this->model_extension_emerchantpay_payment_emerchantpay_checkout->genTransactionId();
@@ -371,8 +360,7 @@ public function getCurrentUserIdHash($controller, $length = 30): string
*
* @return \StdClass
*/
- private function getPaymentTransaction($wpf_reconcile): \StdClass
- {
+ private function getPaymentTransaction($wpf_reconcile): \StdClass {
if (!isset($wpf_reconcile->payment_transaction)) {
return $wpf_reconcile;
}
@@ -392,8 +380,7 @@ private function getPaymentTransaction($wpf_reconcile): \StdClass
*
* @return void
*/
- private function prepareRedirect($transaction, $order_info)
- {
+ private function prepareRedirect($transaction, $order_info) {
$model = $this->model_extension_emerchantpay_payment_emerchantpay_checkout;
$data = $this->populateDataUniqIdTrx($transaction, $order_info);
diff --git a/catalog/controller/payment/emerchantpay_direct.php b/catalog/controller/payment/emerchantpay_direct.php
index ffa1e19..04ee522 100644
--- a/catalog/controller/payment/emerchantpay_direct.php
+++ b/catalog/controller/payment/emerchantpay_direct.php
@@ -44,8 +44,7 @@ class EmerchantpayDirect extends BaseController
*
* @param $registry
*/
- public function __construct($registry)
- {
+ public function __construct($registry) {
parent::__construct($registry);
}
@@ -54,8 +53,7 @@ public function __construct($registry)
*
* @return mixed
*/
- public function index(): mixed
- {
+ public function index(): mixed {
$this->load->language('extension/emerchantpay/payment/emerchantpay_direct');
$this->load->model('extension/emerchantpay/payment/emerchantpay_direct');
@@ -88,8 +86,7 @@ public function index(): mixed
*
* @return array
*/
- public function prepareViewData(): array
- {
+ public function prepareViewData(): array {
return array(
'text_credit_card' => $this->language->get('text_credit_card'),
'text_loading' => $this->language->get('text_loading'),
@@ -113,8 +110,7 @@ public function prepareViewData(): array
*
* @return void
*/
- public function send(): void
- {
+ public function send(): void {
$this->load->model('account/order');
$this->load->model('account/customer');
$this->load->model('checkout/order');
@@ -186,8 +182,7 @@ function ($value) {
*
* @return void
*/
- public function callback(): void
- {
+ public function callback(): void {
$this->load->model('checkout/order');
$this->load->model('extension/emerchantpay/payment/emerchantpay_direct');
@@ -269,8 +264,7 @@ public function callback(): void
*
* @return void
*/
- public function success(): void
- {
+ public function success(): void {
$this->response->redirect($this->buildUrl('checkout/success'));
}
@@ -279,8 +273,7 @@ public function success(): void
*
* @return void
*/
- public function failure(): void
- {
+ public function failure(): void {
$this->load->language('extension/emerchantpay/payment/emerchantpay_direct');
$this->session->data['error'] = $this->language->get('text_payment_failure');
@@ -296,8 +289,7 @@ public function failure(): void
*
* @return mixed|string
*/
- protected function inputFilter($input, $type): mixed
- {
+ protected function inputFilter($input, $type): mixed {
switch ($type) {
case 'number':
return str_replace(' ', '', $input);
@@ -337,8 +329,7 @@ protected function inputFilter($input, $type): mixed
*
* @return void
*/
- protected function isUserLoggedIn(): void
- {
+ protected function isUserLoggedIn(): void {
$is_callback = strpos((string)$this->request->get['route'], 'callback') !== false;
if (!$this->customer->isLogged() && !$is_callback) {
@@ -351,8 +342,7 @@ protected function isUserLoggedIn(): void
*
* @return string
*/
- protected function getLegalText(): string
- {
+ protected function getLegalText(): string {
$store_name = $this->config->get('config_name');
return sprintf('© %s emerchantpay Ltd.
%s', date('Y'), $store_name);
@@ -363,8 +353,7 @@ protected function getLegalText(): string
*
* @return void
*/
- public function cron(): void
- {
+ public function cron(): void {
$this->load->model('extension/payment/emerchantpay_direct');
$this->model_extension_emerchantpay_payment_emerchantpay_direct->processRecurringOrders();
}
@@ -374,8 +363,7 @@ public function cron(): void
*
* @return array[]
*/
- private function populateBrowserParams(): array
- {
+ private function populateBrowserParams(): array {
return [
'browser_data' => [
'java_enabled' => $this->request->post['emerchantpay_direct-java_enabled'],
@@ -394,8 +382,7 @@ private function populateBrowserParams(): array
*
* @return array
*/
- private function populateCreditCardData()
- {
+ private function populateCreditCardData() {
return [
'card_holder' => $this->inputFilter(
$this->request->post['emerchantpay_direct-cc-holder'],
@@ -430,8 +417,7 @@ private function populateCreditCardData()
*
* @throws Exception
*/
- private function processTransactionStatus($transaction, &$redirect_url)
- {
+ private function processTransactionStatus($transaction, &$redirect_url) {
switch ($transaction->status) {
case States::PENDING_ASYNC:
$this->model_checkout_order->addHistory(
diff --git a/catalog/model/payment/emerchantpay/base_model.php b/catalog/model/payment/emerchantpay/base_model.php
index 015795f..8dce3b0 100644
--- a/catalog/model/payment/emerchantpay/base_model.php
+++ b/catalog/model/payment/emerchantpay/base_model.php
@@ -24,9 +24,12 @@
}
use DateTime;
+use Genesis\API\Constants\Endpoints;
+use Genesis\API\Constants\Environments;
use Genesis\API\Request\WPF\Create;
use Genesis\Config;
use Genesis\Exceptions\ErrorAPI;
+use Genesis\Exceptions\InvalidArgument;
use Genesis\Genesis;
use Genesis\API\Constants\Transaction\Parameters\Mobile\ApplePay\PaymentTypes as ApplePayPaymentTypes;
use Genesis\API\Constants\Transaction\Parameters\Mobile\GooglePay\PaymentTypes as GooglePayPaymentTypes;
@@ -152,8 +155,7 @@ abstract class BaseModel extends Model
*
* @return bool
*/
- public function recurringPayments(): bool
- {
+ public function recurringPayments(): bool {
return ($this->config->get($this->module_name . '_supports_recurring') == '1')
&& (!empty($this->config->get($this->module_name . '_recurring_transaction_type')));
}
@@ -165,8 +167,7 @@ public function recurringPayments(): bool
*
* @return bool
*/
- public function isCartContentMixed(): bool
- {
+ public function isCartContentMixed(): bool {
return $this->cart->hasSubscription() && (count($this->cart->getProducts()) > 1);
}
@@ -175,8 +176,7 @@ public function isCartContentMixed(): bool
*
* @return bool
*/
- public function isRecurringOrder(): bool
- {
+ public function isRecurringOrder(): bool {
return $this->recurringPayments() && !empty($this->cart->getRecurringProducts());
}
@@ -184,8 +184,7 @@ public function isRecurringOrder(): bool
* Get current Currency Code
* @return string
*/
- public function getCurrencyCode(): string
- {
+ public function getCurrencyCode(): string {
return $this->session->data['currency'];
}
@@ -196,8 +195,7 @@ public function getCurrencyCode(): string
*
* @return void
*/
- public function addOrderRecurring($recurring_products, $payment_reference): void
- {
+ public function addOrderRecurring($recurring_products, $payment_reference): void {
$this->load->model('checkout/recurring');
$this->load->language('extension/emerchantpay/payment/' . $this->module_name);
@@ -282,8 +280,7 @@ public function addOrderRecurring($recurring_products, $payment_reference): void
*
* @return bool
*/
- public function updateOrderRecurring($data, $payment_reference = null): bool
- {
+ public function updateOrderRecurring($data, $payment_reference = null): bool {
switch ($data['status']) {
case States::APPROVED:
$recurring_status = self::OC_ORD_REC_STATUS_ACTIVE;
@@ -317,8 +314,7 @@ public function updateOrderRecurring($data, $payment_reference = null): bool
*
* @return bool
*/
- public function cancelOrderRecurring($data): bool
- {
+ public function cancelOrderRecurring($data): bool {
$recurring_status = 3; //Cancelled
$order_recurring_id = $this->getOrderRecurringId($data['order_id']);
@@ -335,8 +331,7 @@ public function cancelOrderRecurring($data): bool
*
* @return string
*/
- public function getOrderRecurringId($order_id): string
- {
+ public function getOrderRecurringId($order_id): string {
$query = $this->db->query("SELECT subscription_id FROM `" . DB_PREFIX . "subscription` WHERE order_id = '" . (int)$order_id . "'");
return $query->row['order_recurring_id'];
@@ -349,8 +344,7 @@ public function getOrderRecurringId($order_id): string
*
* @return bool
*/
- public function populateRecurringTransaction($data): bool
- {
+ public function populateRecurringTransaction($data): bool {
$ord_rec_transaction_id = null;
switch ($data['status']) {
@@ -397,8 +391,7 @@ public function populateRecurringTransaction($data): bool
*
* @return bool
*/
- public function addRecurringTransaction($data, $oc_txn_type): bool
- {
+ public function addRecurringTransaction($data, $oc_txn_type): bool {
$result = false;
if (!array_key_exists('order_recurring_id', $data)) {
@@ -419,8 +412,7 @@ public function addRecurringTransaction($data, $oc_txn_type): bool
*
* @return bool
*/
- public function updateRecurringTransaction($data, $oc_txn_type): bool
- {
+ public function updateRecurringTransaction($data, $oc_txn_type): bool {
$result = $this->db->query("UPDATE `" . DB_PREFIX . "subscription_transaction` SET `type` = '" . $oc_txn_type . "' WHERE `reference` = '" . $data['unique_id'] . "'");
return $result;
@@ -437,8 +429,7 @@ public function updateRecurringTransaction($data, $oc_txn_type): bool
*
* @return void
*/
- public function processRecurringOrders(): void
- {
+ public function processRecurringOrders(): void {
if ($this->isCronCallAllowed()) {
$this->cronLogStartTime();
$this->cronLogDeleteOldRecords();
@@ -479,8 +470,7 @@ public function processRecurringOrders(): void
* @throws \Genesis\Exceptions\InvalidArgument
* @throws \Genesis\Exceptions\InvalidMethod
*/
- public function createGenesisRequest($transaction_type): Genesis
- {
+ public function createGenesisRequest($transaction_type): Genesis {
return new Genesis(
Types::getFinancialRequestClassForTrxType($transaction_type)
);
@@ -493,8 +483,7 @@ public function createGenesisRequest($transaction_type): Genesis
*
* @return bool
*/
- public function isInitialRecurringTransaction($transaction_type): bool
- {
+ public function isInitialRecurringTransaction($transaction_type): bool {
return in_array($transaction_type, array(
Types::INIT_RECURRING_SALE,
Types::INIT_RECURRING_SALE_3D
@@ -506,8 +495,7 @@ public function isInitialRecurringTransaction($transaction_type): bool
*
* @return bool
*/
- public function cronLogStartTime(): bool
- {
+ public function cronLogStartTime(): bool {
$this->log_start_timestamp = microtime(true);
$result = $this->db->query("INSERT `" . DB_PREFIX . $this->module_name . "_cronlog` SET `pid` = " . getmypid() . ", `start_time` = NOW()");
if ($result) {
@@ -522,8 +510,7 @@ public function cronLogStartTime(): bool
*
* @return bool
*/
- public function cronLogRunTime(): bool
- {
+ public function cronLogRunTime(): bool {
$run_time = sprintf('%0.3f', microtime(true) - $this->log_start_timestamp);
return $this->db->query("UPDATE `" . DB_PREFIX . $this->module_name . "_cronlog` SET `run_time` = '" . $run_time . "' WHERE `log_entry_id`=" . $this->log_entry_id);
@@ -534,8 +521,7 @@ public function cronLogRunTime(): bool
*
* @return bool
*/
- public function isCronTimeLimitReached(): bool
- {
+ public function isCronTimeLimitReached(): bool {
return (microtime(true) - $this->log_start_timestamp) > $this->config->get($this->module_name . '_cron_time_limit');
}
@@ -547,8 +533,7 @@ public function isCronTimeLimitReached(): bool
*
* @return bool
*/
- public function cronAddTransaction($ord_rec_transaction_id, $order_id): bool
- {
+ public function cronAddTransaction($ord_rec_transaction_id, $order_id): bool {
$result = null;
if ($this->log_entry_id !== null) {
@@ -563,8 +548,7 @@ public function cronAddTransaction($ord_rec_transaction_id, $order_id): bool
*
* @return bool
*/
- public function cronLogDeleteOldRecords(): bool
- {
+ public function cronLogDeleteOldRecords(): bool {
$last_cron_log_id = (string)$this->getLastCronLogId();
return $this->db->query(
@@ -591,8 +575,7 @@ public function cronLogDeleteOldRecords(): bool
*
* @throws \Exception
*/
- public function populateTransaction($data): void
- {
+ public function populateTransaction($data): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->populateTransaction($data);
}
@@ -604,8 +587,7 @@ public function populateTransaction($data): void
*
* @return void
*/
- public function logEx(\Exception $exception): void
- {
+ public function logEx(\Exception $exception): void {
$db_helper = new DbHelper($this->module_name, $this);
$db_helper->logEx($exception);
}
@@ -618,8 +600,7 @@ public function logEx(\Exception $exception): void
*
* @return string
*/
- public function getOrderProducts($order_id): string
- {
+ public function getOrderProducts($order_id): string {
$order_product_query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_product WHERE order_id = '" . abs((int)$order_id) . "'");
$description = '';
@@ -638,8 +619,7 @@ public function getOrderProducts($order_id): string
*
* @return mixed
*/
- public function getDbOrderProducts($order_id): mixed
- {
+ public function getDbOrderProducts($order_id): mixed {
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_product WHERE order_id = '" . (int)$order_id . "'");
return $query->rows;
@@ -652,8 +632,7 @@ public function getDbOrderProducts($order_id): mixed
*
* @return mixed
*/
- public function getProductsInfo($products = array()): mixed
- {
+ public function getProductsInfo($products = array()): mixed {
$ids = array();
foreach ($products as $product) {
array_push($ids, abs((int)$product));
@@ -669,8 +648,7 @@ public function getProductsInfo($products = array()): mixed
*
* @return bool
*/
- protected function isCronCallAllowed(): bool
- {
+ protected function isCronCallAllowed(): bool {
$remote_address = EmerchantpayHelper::getFirstRemoteAddress($this->request->server['REMOTE_ADDR']);
return $remote_address == trim($this->config->get("{$this->module_name}_cron_allowed_ip"));
@@ -685,8 +663,7 @@ protected function isCronCallAllowed(): bool
*
* @throws \Exception
*/
- protected function processRecurringOrder($data): void
- {
+ protected function processRecurringOrder($data): void {
$recurring = array(
'trial' => $data['trial'],
'trial_cycle' => $data['trial_cycle'],
@@ -757,8 +734,7 @@ protected function processRecurringOrder($data): void
*
* @return float
*/
- protected function calculateRebillingAmount($order_id, $amount): float
- {
+ protected function calculateRebillingAmount($order_id, $amount): float {
$result = null;
$query = $this->db->query(
@@ -788,8 +764,7 @@ protected function calculateRebillingAmount($order_id, $amount): float
*
* @return void
*/
- protected function recurringSale($rec_data): void
- {
+ protected function recurringSale($rec_data): void {
$this->load->model('checkout/order');
$this->load->language('extension/emerchantpay/payment/' . $this->module_name);
@@ -853,8 +828,7 @@ protected function recurringSale($rec_data): void
*
* @throws /Exception
*/
- protected function sendRecurringSale($data): mixed
- {
+ protected function sendRecurringSale($data): mixed {
try {
$this->bootstrap();
@@ -888,8 +862,7 @@ protected function sendRecurringSale($data): mixed
*
* @return int
*/
- protected function getLastCronLogId(): int
- {
+ protected function getLastCronLogId(): int {
$query = $this->db->query('SELECT `log_entry_id` FROM `' . DB_PREFIX . $this->module_name . '_cronlog` ORDER BY `log_entry_id` DESC LIMIT 1');
if ($query->num_rows == 1) {
@@ -908,8 +881,7 @@ protected function getLastCronLogId(): int
*
* @return bool
*/
- protected function checkGeoZoneAvailability($address)
- {
+ protected function checkGeoZoneAvailability($address) {
$status = false;
$query = $this->db->query("
SELECT *
@@ -935,10 +907,11 @@ protected function checkGeoZoneAvailability($address)
* @param $genesis
* @param $data
*
+ * @throws InvalidArgument
+ *
* @return void
*/
- protected function addThreedsParamsToRequest($genesis, $data): void
- {
+ protected function addThreedsParamsToRequest($genesis, $data): void {
/** @var Create $request */
$request = $genesis->request();
$request->setThreedsV2ControlChallengeIndicator($data['threeds_challenge_indicator'])
@@ -970,18 +943,65 @@ protected function addThreedsParamsToRequest($genesis, $data): void
*
* @return bool
*/
- protected function isThreedsAllowed(): bool
- {
+ protected function isThreedsAllowed(): bool {
return (bool)$this->config->get($this->module_name . '_threeds_allowed');
}
+ /**
+ * Check whether the selected transaction type is a 3d transaction
+ *
+ * @return bool
+ */
+ protected function is3dTransaction(): bool {
+ $types = array(
+ Types::AUTHORIZE_3D,
+ Types::SALE_3D,
+ Types::INIT_RECURRING_SALE_3D,
+ );
+
+ $transaction_type = $this->config->get(
+ $this->isRecurringOrder() ? "{$this->module_name}_recurring_transaction_type" : "{$this->module_name}_transaction_type"
+ );
+
+ return in_array($transaction_type, $types);
+ }
+
+ /**
+ * Bootstrap Genesis Library
+ *
+ * @return void
+ *
+ * @throws InvalidArgument
+ */
+ public function bootstrap(): void {
+ // Look for, but DO NOT try to load via Auto-loader magic methods
+ if (!class_exists('\Genesis\Genesis', false)) {
+ include DIR_STORAGE . 'vendor/genesisgateway/genesis_php/vendor/autoload.php';
+ }
+
+ Config::setEndpoint(
+ Endpoints::EMERCHANTPAY
+ );
+
+ Config::setUsername(
+ $this->config->get("{$this->module_name}_username")
+ );
+
+ Config::setPassword(
+ $this->config->get("{$this->module_name}_password")
+ );
+
+ Config::setEnvironment(
+ $this->config->get("{$this->module_name}_sandbox") ? Environments::STAGING : Environments::PRODUCTION
+ );
+ }
+
/**
* Generates a comma-separated list of the order statuses that should not be re-billed
*
* @return string
*/
- private function getNonBillableOrderStatuses(): string
- {
+ private function getNonBillableOrderStatuses(): string {
return self::OC_ORD_STATUS_CANCELED
. ',' . self::OC_ORD_STATUS_DENIED
. ',' . self::OC_ORD_STATUS_CANCELED_REVERSAL
@@ -997,8 +1017,7 @@ private function getNonBillableOrderStatuses(): string
*
* @return string|null
*/
- private function getTerminalToken($transaction): string|null
- {
+ private function getTerminalToken($transaction): string|null {
if (!empty($this->config->get($this->module_name . '_recurring_token'))) {
$result = $this->config->get($this->module_name . '_recurring_token');
} elseif ($this->module_name == 'emerchantpay_direct') {
@@ -1021,8 +1040,7 @@ private function getTerminalToken($transaction): string|null
*
* @return bool
*/
- private function isPayDay($now, $start_payment, $frequency, $cycle, $duration): bool
- {
+ private function isPayDay($now, $start_payment, $frequency, $cycle, $duration): bool {
$result = false;
$payment_no = 0;
@@ -1033,7 +1051,7 @@ private function isPayDay($now, $start_payment, $frequency, $cycle, $duration):
$duration = 1e6;
}
- while(($payment_no <= $duration-1) && ($due_day < $now)) {
+ while (($payment_no <= $duration-1) && ($due_day < $now)) {
$due_day = $this->getPaymentDueDate(clone $start_payment, $frequency, $cycle * $payment_no);
if ($due_day == $now) {
$result = true;
@@ -1053,8 +1071,7 @@ private function isPayDay($now, $start_payment, $frequency, $cycle, $duration):
*
* @return DateTime
*/
- private function getPaymentDueDate($payment, $frequency, $cycle): DateTime
- {
+ private function getPaymentDueDate($payment, $frequency, $cycle): DateTime {
if ($frequency == 'semi_month') {
$payment2 = clone $payment;
$payment2->modify('+ 1 month');
diff --git a/catalog/model/payment/emerchantpay_checkout.php b/catalog/model/payment/emerchantpay_checkout.php
index 2356117..00b24d4 100644
--- a/catalog/model/payment/emerchantpay_checkout.php
+++ b/catalog/model/payment/emerchantpay_checkout.php
@@ -26,6 +26,7 @@
use Genesis\API\Constants\Transaction\Types;
use Genesis\Config;
use Genesis\Exceptions\ErrorAPI;
+use Genesis\Exceptions\InvalidArgument;
use Genesis\Genesis;
use Genesis\Utils\Common as CommonUtils;
use Opencart\Catalog\Model\Extension\Emerchantpay\Payment\Emerchantpay\BaseModel;
@@ -57,13 +58,12 @@ class EmerchantpayCheckout extends BaseModel
*
* @return array
*/
- public function getMethods($address): array
- {
+ public function getMethods($address): array {
$this->load->language('extension/emerchantpay/payment/emerchantpay_checkout');
if (!$this->config->get('emerchantpay_checkout_geo_zone_id')) {
$status = true;
- } elseif (!$this->config->get('config_checkout_payment_address')) {
+ } elseif (!$this->config->get('config_checkout_payment_address')) {
// this is "Billing Address required" from store settings. If unchecked, no further checks are needed
$status = true;
} else {
@@ -95,8 +95,7 @@ public function getMethods($address): array
*
* @return null|string
*/
- public function getConsumerId($email): null|string
- {
+ public function getConsumerId($email): null|string {
$query = $this->db->query("
SELECT * FROM
`" . DB_PREFIX . "emerchantpay_checkout_consumers`
@@ -115,8 +114,7 @@ public function getConsumerId($email): null|string
* @param $email
* @param $consumer_id
*/
- public function addConsumer($email, $consumer_id): void
- {
+ public function addConsumer($email, $consumer_id): void {
try {
$this->db->query("
INSERT INTO
@@ -136,8 +134,7 @@ public function addConsumer($email, $consumer_id): void
*
* @return bool|mixed
*/
- public function getTransactionById($unique_id): mixed
- {
+ public function getTransactionById($unique_id): mixed {
if (isset($unique_id) && !empty($unique_id)) {
$query = $this->db->query("
SELECT * FROM `" . DB_PREFIX . "emerchantpay_checkout_transactions`
@@ -162,8 +159,7 @@ public function getTransactionById($unique_id): mixed
* @throws \Exception
* @throws ErrorAPI
*/
- public function create($data): mixed
- {
+ public function create($data): mixed {
try {
$this->bootstrap();
@@ -240,8 +236,7 @@ public function create($data): mixed
* @throws \Exception
* @throws ErrorAPI
*/
- public function reconcile($unique_id): mixed
- {
+ public function reconcile($unique_id): mixed {
try {
$this->bootstrap();
@@ -264,30 +259,12 @@ public function reconcile($unique_id): mixed
/**
* Bootstrap Genesis Library
*
+ * @throws InvalidArgument
+ *
* @return void
*/
- public function bootstrap(): void
- {
- // Look for, but DO NOT try to load via Auto-loader magic methods
- if (!class_exists('\Genesis\Genesis', false)) {
- include DIR_STORAGE . 'vendor/genesisgateway/genesis_php/vendor/autoload.php';
-
- Config::setEndpoint(
- Endpoints::EMERCHANTPAY
- );
-
- Config::setUsername(
- $this->config->get('emerchantpay_checkout_username')
- );
-
- Config::setPassword(
- $this->config->get('emerchantpay_checkout_password')
- );
-
- Config::setEnvironment(
- $this->config->get('emerchantpay_checkout_sandbox') ? Environments::STAGING : Environments::PRODUCTION
- );
- }
+ public function bootstrap(): void {
+ parent::bootstrap();
}
/**
@@ -298,8 +275,7 @@ public function bootstrap(): void
*
* @return string
*/
- public function genTransactionId($prefix = ''): string
- {
+ public function genTransactionId($prefix = ''): string {
$hash = md5(microtime(true) . uniqid() . mt_rand(PHP_INT_SIZE, PHP_INT_MAX));
return $prefix . substr($hash, -(strlen($hash) - strlen($prefix)));
@@ -312,8 +288,7 @@ public function genTransactionId($prefix = ''): string
*
* @return mixed
*/
- public function getOrderTotals($order_id): mixed
- {
+ public function getOrderTotals($order_id): mixed {
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "order_total WHERE order_id = '" . (int)$order_id . "' ORDER BY sort_order");
return $query->rows;
@@ -324,8 +299,7 @@ public function getOrderTotals($order_id): mixed
*
* @return array
*/
- public function getTransactionTypes(): array
- {
+ public function getTransactionTypes(): array {
$processed_list = array();
$alias_map = array();
@@ -392,8 +366,7 @@ public function getTransactionTypes(): array
*
* @throws \Genesis\Exceptions\ErrorParameter
*/
- public function addTransactionTypesToGatewayRequest(Genesis $genesis, $order): void
- {
+ public function addTransactionTypesToGatewayRequest(Genesis $genesis, $order): void {
$types = $this->isRecurringOrder() ? $this->getRecurringTransactionTypes() : $this->getTransactionTypes();
foreach ($types as $type) {
@@ -429,8 +402,7 @@ public function addTransactionTypesToGatewayRequest(Genesis $genesis, $order): v
*
* @throws \Genesis\Exceptions\ErrorParameter
*/
- public function getCustomRequiredAttributes($type, $order): array
- {
+ public function getCustomRequiredAttributes($type, $order): array {
$parameters = array();
switch ($type) {
case Types::IDEBIT_PAYIN:
@@ -479,8 +451,7 @@ function ($value) {
*
* @return array
*/
- public function getRecurringTransactionTypes(): array
- {
+ public function getRecurringTransactionTypes(): array {
return $this->config->get('emerchantpay_checkout_recurring_transaction_type');
}
@@ -489,8 +460,7 @@ public function getRecurringTransactionTypes(): array
*
* @return string
*/
- public function getUsage(): string
- {
+ public function getUsage(): string {
return sprintf('%s checkout transaction', $this->config->get('config_name'));
}
@@ -499,8 +469,7 @@ public function getUsage(): string
*
* @return int
*/
- public function getCurrentUserId(): int
- {
+ public function getCurrentUserId(): int {
return array_key_exists('user_id', $this->session->data) ? $this->session->data['user_id'] : 0;
}
@@ -509,8 +478,7 @@ public function getCurrentUserId(): int
*
* @return string
*/
- public function getLanguage(): string
- {
+ public function getLanguage(): string {
$language = isset($this->session->data['language']) ? $this->session->data['language'] : $this->config->get('config_language');
$language_code = substr($language, 0, 2);
@@ -529,8 +497,7 @@ public function getLanguage(): string
*
* @return null|string
*/
- protected function retrieveConsumerIdFromGenesisGateway($email): null|string
- {
+ protected function retrieveConsumerIdFromGenesisGateway($email): null|string {
try {
$genesis = new Genesis('NonFinancial\Consumers\Retrieve');
$genesis->request()->setEmail($email);
@@ -554,8 +521,7 @@ protected function retrieveConsumerIdFromGenesisGateway($email): null|string
*
* @return bool
*/
- protected function isErrorResponse($response): bool
- {
+ protected function isErrorResponse($response): bool {
$state = new States($response->status);
return $state->isError();
@@ -566,8 +532,7 @@ protected function isErrorResponse($response): bool
*
* @return void
*/
- protected function prepareWpfRequestTokenization(Genesis $genesis): void
- {
+ protected function prepareWpfRequestTokenization(Genesis $genesis): void {
$genesis->request()->setRememberCard(true);
$consumer_id = $this->getConsumerId($genesis->request()->getCustomerEmail());
@@ -582,8 +547,7 @@ protected function prepareWpfRequestTokenization(Genesis $genesis): void
*
* @return bool
*/
- protected function isWpfTokenizationEnabled(): bool
- {
+ protected function isWpfTokenizationEnabled(): bool {
return (bool)$this->config->get('emerchantpay_checkout_wpf_tokenization');
}
@@ -594,8 +558,7 @@ protected function isWpfTokenizationEnabled(): bool
*
* @return void
*/
- protected function saveWpfTokenizationData($genesis): void
- {
+ protected function saveWpfTokenizationData($genesis): void {
if (!empty($genesis->response()->getResponseObject()->consumer_id)) {
$this->addConsumer(
$genesis->request()->getCustomerEmail(),
@@ -609,8 +572,7 @@ protected function saveWpfTokenizationData($genesis): void
*
* @return string
*/
- private function getCustomParameterKey($transaction_type): string
- {
+ private function getCustomParameterKey($transaction_type): string {
switch ($transaction_type) {
case Types::PPRO:
$result = 'payment_method';
@@ -635,8 +597,7 @@ private function getCustomParameterKey($transaction_type): string
* @param array $selected_types Selected transaction types
* @return array
*/
- private function orderCardTransactionTypes($selected_types)
- {
+ private function orderCardTransactionTypes($selected_types) {
$custom_order = Types::getCardTransactionTypes();
asort($selected_types);
diff --git a/catalog/model/payment/emerchantpay_direct.php b/catalog/model/payment/emerchantpay_direct.php
index 33ac2b8..e2c81a3 100644
--- a/catalog/model/payment/emerchantpay_direct.php
+++ b/catalog/model/payment/emerchantpay_direct.php
@@ -26,6 +26,7 @@
use Genesis\API\Constants\Transaction\Types;
use Genesis\Config;
use Genesis\Exceptions\ErrorAPI;
+use Genesis\Exceptions\InvalidArgument;
use Genesis\Genesis;
use Opencart\Catalog\Model\Extension\Emerchantpay\Payment\Emerchantpay\BaseModel;
use Opencart\Extension\Emerchantpay\System\EmerchantpayHelper;
@@ -51,8 +52,7 @@ class EmerchantpayDirect extends BaseModel
*
* @return array
*/
- public function getMethods($address): array
- {
+ public function getMethods($address): array {
$this->load->language('extension/emerchantpay/payment/emerchantpay_direct');
if (!$this->config->get('emerchantpay_direct_geo_zone_id')) {
@@ -95,8 +95,7 @@ public function getMethods($address): array
*
* @return bool|mixed
*/
- public function getTransactionById($reference_id): mixed
- {
+ public function getTransactionById($reference_id): mixed {
$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "emerchantpay_direct_transactions` WHERE `unique_id` = '" . $this->db->escape($reference_id) . "' LIMIT 1");
if ($query->num_rows) {
@@ -115,8 +114,7 @@ public function getTransactionById($reference_id): mixed
*
* @throws /Exception
*/
- public function sendTransaction($data): mixed
- {
+ public function sendTransaction($data): mixed {
try {
$this->bootstrap();
@@ -170,7 +168,7 @@ public function sendTransaction($data): mixed
->setReturnFailureUrl($data['return_failure_url']);
}
- if ($this->isThreedsAllowed()) {
+ if ($this->isThreedsAllowed() && $this->is3dTransaction()) {
$this->addThreedsParamsToRequest($genesis, $data);
$this->addThreedsBrowserParamsToRequest($genesis, $data);
}
@@ -196,8 +194,7 @@ public function sendTransaction($data): mixed
*
* @throws /Exception
*/
- public function reconcile($unique_id): mixed
- {
+ public function reconcile($unique_id): mixed {
try {
$this->bootstrap();
@@ -221,53 +218,21 @@ public function reconcile($unique_id): mixed
* Bootstrap Genesis Library
*
* @return void
+ *
+ * @throws InvalidArgument
*/
- public function bootstrap(): void
- {
- // Look for, but DO NOT try to load via Auto-loader magic methods
- if (!class_exists('\Genesis\Genesis', false)) {
- include DIR_STORAGE . 'vendor/genesisgateway/genesis_php/vendor/autoload.php';
-
- Config::setEndpoint(
- Endpoints::EMERCHANTPAY
- );
-
- Config::setUsername(
- $this->config->get('emerchantpay_direct_username')
- );
+ public function bootstrap(): void {
+ parent::bootstrap();
- Config::setPassword(
- $this->config->get('emerchantpay_direct_password')
- );
+ $token = $this->config->get("{$this->module_name}_token");
- Config::setToken(
- $this->config->get('emerchantpay_direct_token')
- );
+ if (empty($token)) {
+ Config::setForceSmartRouting(true);
- Config::setEnvironment(
- $this->config->get('emerchantpay_direct_sandbox') ? Environments::STAGING : Environments::PRODUCTION
- );
+ return;
}
- }
- /**
- * Check whether the selected transaction type is a 3d transaction
- *
- * @return bool
- */
- public function is3dTransaction(): bool
- {
- $types = array(
- Types::AUTHORIZE_3D,
- Types::SALE_3D,
- Types::INIT_RECURRING_SALE_3D,
- );
-
- $transaction_type = $this->config->get(
- $this->isRecurringOrder() ? 'emerchantpay_direct_recurring_transaction_type' : 'emerchantpay_direct_transaction_type'
- );
-
- return in_array($transaction_type, $types);
+ Config::setToken($token);
}
/**
@@ -278,8 +243,7 @@ public function is3dTransaction(): bool
*
* @return string
*/
- public function genTransactionId($prefix = ''): string
- {
+ public function genTransactionId($prefix = ''): string {
$hash = md5(microtime(true) . uniqid() . mt_rand(PHP_INT_SIZE, PHP_INT_MAX));
return (string)$prefix . substr($hash, -(strlen($hash) - strlen($prefix)));
@@ -290,8 +254,7 @@ public function genTransactionId($prefix = ''): string
*
* @return string
*/
- public function getUsage(): string
- {
+ public function getUsage(): string {
return sprintf('%s direct transaction', $this->config->get('config_name'));
}
@@ -303,8 +266,7 @@ public function getUsage(): string
*
* @return void
*/
- protected function addThreedsBrowserParamsToRequest($genesis, $data): void
- {
+ protected function addThreedsBrowserParamsToRequest($genesis, $data): void {
$http_accept = $this->request->server['HTTP_ACCEPT'] ?? null;
/** @var Create $request */
diff --git a/catalog/view/javascript/emerchantpay/card.min.js b/catalog/view/javascript/emerchantpay/card.min.js
index 7cff400..c98c5da 100644
--- a/catalog/view/javascript/emerchantpay/card.min.js
+++ b/catalog/view/javascript/emerchantpay/card.min.js
@@ -1,3 +1,3 @@
-!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.card=e()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o
=0},is.bool=is["boolean"]=function(value){return"[object Boolean]"===toStr.call(value)},is["false"]=function(value){return is.bool(value)&&Boolean(Number(value))===!1},is["true"]=function(value){return is.bool(value)&&Boolean(Number(value))===!0},is.date=function(value){return"[object Date]"===toStr.call(value)},is.date.valid=function(value){return is.date(value)&&!isNaN(Number(value))},is.element=function(value){return void 0!==value&&"undefined"!=typeof HTMLElement&&value instanceof HTMLElement&&1===value.nodeType},is.error=function(value){return"[object Error]"===toStr.call(value)},is.fn=is["function"]=function(value){var isAlert="undefined"!=typeof window&&value===window.alert;if(isAlert)return!0;var str=toStr.call(value);return"[object Function]"===str||"[object GeneratorFunction]"===str||"[object AsyncFunction]"===str},is.number=function(value){return"[object Number]"===toStr.call(value)},is.infinite=function(value){return 1/0===value||value===-1/0},is.decimal=function(value){return is.number(value)&&!isActualNaN(value)&&!is.infinite(value)&&value%1!==0},is.divisibleBy=function(value,n){var isDividendInfinite=is.infinite(value),isDivisorInfinite=is.infinite(n),isNonZeroNumber=is.number(value)&&!isActualNaN(value)&&is.number(n)&&!isActualNaN(n)&&0!==n;return isDividendInfinite||isDivisorInfinite||isNonZeroNumber&&value%n===0},is.integer=is["int"]=function(value){return is.number(value)&&!isActualNaN(value)&&value%1===0},is.maximum=function(value,others){if(isActualNaN(value))throw new TypeError("NaN is not a valid value");if(!is.arraylike(others))throw new TypeError("second argument must be array-like");for(var len=others.length;--len>=0;)if(value=0;)if(value>others[len])return!1;return!0},is.nan=function(value){return!is.number(value)||value!==value},is.even=function(value){return is.infinite(value)||is.number(value)&&value===value&&value%2===0},is.odd=function(value){return is.infinite(value)||is.number(value)&&value===value&&value%2!==0},is.ge=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&value>=other},is.gt=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&value>other},is.le=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&other>=value},is.lt=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&other>value},is.within=function(value,start,finish){if(isActualNaN(value)||isActualNaN(start)||isActualNaN(finish))throw new TypeError("NaN is not a valid value");if(!is.number(value)||!is.number(start)||!is.number(finish))throw new TypeError("all arguments must be numbers");var isAnyInfinite=is.infinite(value)||is.infinite(start)||is.infinite(finish);return isAnyInfinite||value>=start&&finish>=value},is.object=function(value){return"[object Object]"===toStr.call(value)},is.primitive=function(value){return value&&("object"==typeof value||is.object(value)||is.fn(value)||is.array(value))?!1:!0},is.hash=function(value){return is.object(value)&&value.constructor===Object&&!value.nodeType&&!value.setInterval},is.regexp=function(value){return"[object RegExp]"===toStr.call(value)},is.string=function(value){return"[object String]"===toStr.call(value)},is.base64=function(value){return is.string(value)&&(!value.length||base64Regex.test(value))},is.hex=function(value){return is.string(value)&&(!value.length||hexRegex.test(value))},is.symbol=function(value){return"function"==typeof Symbol&&"[object Symbol]"===toStr.call(value)&&"symbol"==typeof symbolValueOf.call(value)},is.bigint=function(value){return"function"==typeof BigInt&&"[object BigInt]"===toStr.call(value)&&"bigint"==typeof bigIntValueOf.call(value)},module.exports=is},{}],4:[function(_dereq_,module){"use strict";module.exports=_dereq_("./lib/extend")},{"./lib/extend":5}],5:[function(_dereq_,module){"use strict";function extend(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=!1;for("boolean"==typeof target&&(deep=target,target=arguments[1]||{},i=2),"object"==typeof target||is.fn(target)||(target={});length>i;i++)if(options=arguments[i],null!=options){"string"==typeof options&&(options=options.split(""));for(name in options)src=getProperty(target,name),copy=getProperty(options,name),target!==copy&&(deep&©&&(is.hash(copy)||(copyIsArray=is.array(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&is.array(src)?src:[]):clone=src&&is.hash(src)?src:{},setProperty(target,name,extend(deep,clone,copy))):"undefined"!=typeof copy&&setProperty(target,name,copy))}return target}var is=_dereq_("is"),has=_dereq_("has"),defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,setProperty=function(target,name,value){defineProperty&&"__proto__"===name?defineProperty(target,name,{enumerable:!0,configurable:!0,value:value,writable:!0}):target[name]=value},getProperty=function(obj,name){if("__proto__"===name){if(!has(obj,name))return void 0;if(gOPD)return gOPD(obj,name).value}return obj[name]};extend.version="1.1.7",module.exports=extend},{has:2,is:3}],6:[function(_dereq_,module){module.exports=_dereq_("cssify")},{cssify:1}],7:[function(_dereq_,module){(function(global){var Card,QJ,extend,payment;_dereq_("../scss/card.scss"),QJ=_dereq_("./qj/src/qj.coffee"),payment=_dereq_("./payment/src/payment.coffee"),extend=_dereq_("node.extend"),Card=function(){function Card(opts){return this.options=extend(!0,this.defaults,opts),this.options.form?(this.$el=QJ(this.options.form),this.options.container?(this.$container=QJ(this.options.container),this.render(),this.attachHandlers(),void this.handleInitialValues()):void console.log("Please provide a container")):void console.log("Please provide a form")}var bindVal;return Card.prototype.cardTemplate='
{{cvc}}
{{number}}
{{name}}
{{expiry}}
',Card.prototype.template=function(tpl,data){return tpl.replace(/\{\{(.*?)\}\}/g,function(match,key){return data[key]})},Card.prototype.cardTypes=["jp-card-amex","jp-card-dankort","jp-card-dinersclub","jp-card-discover","jp-card-jcb","jp-card-maestro","jp-card-mastercard","jp-card-rupay","jp-card-unionpay","jp-card-visa","jp-card-argencard","jp-card-cabal","jp-card-cencosud","jp-card-naranja","jp-card-nativa","jp-card-mir"],Card.prototype.defaults={formatting:!0,cleanSpacesOnSubmit:!0,formSelectors:{numberInput:'input[name="number"]',expiryInput:'input[name="expiry"]',cvcInput:'input[name="cvc"]',nameInput:'input[name="name"]'},cardSelectors:{cardContainer:".jp-card-container",card:".jp-card",numberDisplay:".jp-card-number",expiryDisplay:".jp-card-expiry",cvcDisplay:".jp-card-cvc",nameDisplay:".jp-card-name"},messages:{validDate:"valid\nthru",monthYear:"month/year",legalText:"This card has been issued by Jesse Pollak and is licensed for anyone to use anywhere for free.AIt comes with no warranty.A For support issues, please visit: github.com/jessepollak/card."},values:{number:"•••• •••• •••• ••••",cvc:"•••",expiry:"••/••",name:"Full Name"},classes:{valid:"jp-card-valid",invalid:"jp-card-invalid"},debug:!1},Card.prototype.render=function(){var $cardContainer,baseWidth,name,obj,selector,self,ua,_ref,_ref1;QJ.append(this.$container,this.template(this.cardTemplate,extend({},this.options.messages,this.options.values))),_ref=this.options.cardSelectors;for(name in _ref)selector=_ref[name],this["$"+name]=QJ.find(this.$container,selector);_ref1=this.options.formSelectors;for(name in _ref1)selector=_ref1[name],selector=this.options[name]?this.options[name]:selector,obj=QJ.find(this.$el,selector),!obj.length&&this.options.debug&&console.error("Card can't find a "+name+" in your form."),this["$"+name]=obj;return this.options.formatting&&(Payment.formatCardNumber(this.$numberInput),Payment.formatCardCVC(this.$cvcInput),1===this.$expiryInput.length&&Payment.formatCardExpiry(this.$expiryInput)),this.options.width&&($cardContainer=QJ(this.options.cardSelectors.cardContainer)[0],baseWidth=parseInt($cardContainer.clientWidth),"WebkitAppearance"in document.documentElement.style?$cardContainer.style.zoom=""+this.options.width/baseWidth:$cardContainer.style.transform="scale("+this.options.width/baseWidth+")"),this.options.cleanSpacesOnSubmit&&(self=this,QJ.on(this.$el,"submit",function(){var inputEl,target,_i,_len,_ref2;for(_ref2=self.$numberInput,_i=0,_len=_ref2.length;_len>_i;_i++)inputEl=_ref2[_i],target=inputEl;return QJ.val(target,QJ.val(target).replace(/\s/g,""))})),("undefined"!=typeof navigator&&null!==navigator?navigator.userAgent:void 0)&&(ua=navigator.userAgent.toLowerCase(),-1!==ua.indexOf("safari")&&-1===ua.indexOf("chrome")&&QJ.addClass(this.$card,"jp-card-safari"),-1!==ua.indexOf("chrome")&&QJ.addClass(this.$card,"jp-card-chrome"),-1!==ua.indexOf("firefox")&&QJ.addClass(this.$card,"jp-card-firefox")),/MSIE 10\./i.test(navigator.userAgent)&&QJ.addClass(this.$card,"jp-card-ie-10"),/rv:11.0/i.test(navigator.userAgent)?QJ.addClass(this.$card,"jp-card-ie-11"):void 0},Card.prototype.attachHandlers=function(){var expiryFilters;return bindVal(this.$numberInput,this.$numberDisplay,{fill:!1,filters:[this.validToggler("cardNumber"),this.maskCardNumber]}),QJ.on(this.$numberInput,"payment.cardType",this.handle("setCardType")),expiryFilters=[function(val){return val.replace(/(\s+)/g,"")},this.formatExpiryDoubleDigit],1===this.$expiryInput.length&&expiryFilters.push(this.validToggler("cardExpiry")),bindVal(this.$expiryInput,this.$expiryDisplay,{join:function(text){return 2===text[0].length||text[1]?"/":""},filters:expiryFilters}),bindVal(this.$cvcInput,this.$cvcDisplay,{filters:[this.validToggler("cardCVC"),this.maskCardCvc]}),QJ.on(this.$cvcInput,"focus",this.handle("flipCard")),QJ.on(this.$cvcInput,"blur",this.handle("unflipCard")),bindVal(this.$nameInput,this.$nameDisplay,{fill:!1,filters:this.validToggler("cardHolderName"),join:" "})},Card.prototype.handleInitialValues=function(){return setTimeout(function(_this){return function(){var el,elList,name,selector,_ref,_results;_ref=_this.options.formSelectors,_results=[];for(name in _ref)selector=_ref[name],elList=QJ.find(_this.$el,_this.options[name]?_this.options[name]:selector),_results.push(function(){var _i,_len,_results1;for(_results1=[],_i=0,_len=elList.length;_len>_i;_i++)el=elList[_i],QJ.val(el)&&_results1.push(QJ.trigger(el,"keyup"));return _results1}());return _results}}(this))},Card.prototype.handle=function(fn){return function(_this){return function(e){var args;return args=Array.prototype.slice.call(arguments),args.unshift(e.target),_this.handlers[fn].apply(_this,args)}}(this)},Card.prototype.validToggler=function(validatorName){var isValid;return"cardExpiry"===validatorName?isValid=function(val){var objVal;return objVal=Payment.fns.cardExpiryVal(val),Payment.fns.validateCardExpiry(objVal.month,objVal.year)}:"cardCVC"===validatorName?isValid=function(val){return Payment.fns.validateCardCVC(val,this.cardType)}:"cardNumber"===validatorName?isValid=function(val){return Payment.fns.validateCardNumber(val)}:"cardHolderName"===validatorName&&(isValid=function(val){return""!==val}),function(_this){return function(val,$in,$out){var result;return result=isValid(val),_this.toggleValidClass($in,result),_this.toggleValidClass($out,result),val}}(this)},Card.prototype.toggleValidClass=function(el,test){return QJ.toggleClass(el,this.options.classes.valid,test),QJ.toggleClass(el,this.options.classes.invalid,!test)},Card.prototype.formatExpiryDoubleDigit=function(val){var month,year,_ref;return _ref=val.split("/"),month=_ref[0],year=_ref[1],month&&year&&(month.length>2&&(month=month.slice(0,2)),year.length>2&&(year=year.slice(-2)),val=[month,year].join("/")),val},Card.prototype.maskCardNumber=function(val){var char,maskedVal,pos,_i,_len;for(maskedVal="",pos=_i=0,_len=val.length;_len>_i;pos=++_i)char=val[pos],maskedVal+=" "!==char&&pos_i;pos=++_i)char=val[pos],maskedVal+="x";return maskedVal},Card.prototype.handlers={setCardType:function($el,e){var cardType;return cardType=e.data,QJ.hasClass(this.$card,cardType)?void 0:(QJ.removeClass(this.$card,"jp-card-unknown"),QJ.removeClass(this.$card,this.cardTypes.join(" ")),QJ.addClass(this.$card,"jp-card-"+cardType),QJ.toggleClass(this.$card,"jp-card-identified","unknown"!==cardType),this.cardType=cardType)},flipCard:function(){return QJ.addClass(this.$card,"jp-card-flipped")},unflipCard:function(){return QJ.removeClass(this.$card,"jp-card-flipped")}},bindVal=function(el,out,opts){var joiner,o,outDefaults;return null==opts&&(opts={}),opts.fill=opts.fill||!1,opts.filters=opts.filters||[],opts.filters instanceof Array||(opts.filters=[opts.filters]),opts.join=opts.join||"","function"!=typeof opts.join&&(joiner=opts.join,opts.join=function(){return joiner}),outDefaults=function(){var _i,_len,_results;if(out){for(_results=[],_i=0,_len=out.length;_len>_i;_i++)o=out[_i],_results.push(o.textContent);return _results}}(),QJ.on(el,"focus",function(){return QJ.addClass(out,"jp-card-focused")}),QJ.on(el,"blur",function(){return QJ.removeClass(out,"jp-card-focused")}),QJ.on(el,"keyup change paste",function(){var elem,filter,i,join,outEl,outVal,val,_i,_j,_len,_len1,_ref,_results;for(val=function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)elem=el[_i],_results.push(QJ.val(elem));return _results}(),join=opts.join(val),val=val.join(join),val===join&&(val=""),_ref=opts.filters,_i=0,_len=_ref.length;_len>_i;_i++)filter=_ref[_i],val=filter(val,el,out);for(_results=[],i=_j=0,_len1=out.length;_len1>_j;i=++_j)outEl=out[i],outVal=opts.fill?val+outDefaults[i].substring(val.length):val||outDefaults[i],_results.push(outEl.textContent=outVal);return _results}),el},Card}(),module.exports=Card,global.Card=Card}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../scss/card.scss":10,"./payment/src/payment.coffee":8,"./qj/src/qj.coffee":9,"node.extend":4}],8:[function(_dereq_,module){(function(global){var PLACEHOLDER_KEY_CODE,Payment,QJ,cardFromNumber,cardFromType,cards,defaultFormat,elements,formatBackCardNumber,formatBackExpiry,formatCardNumber,formatExpiry,formatForwardExpiry,formatForwardSlash,hasTextSelected,luhnCheck,reFormatCardNumber,restrictCVC,restrictCardNumber,restrictExpiry,restrictNumeric,setCardType,__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;l>i;i++)if(i in this&&this[i]===item)return i;return-1};QJ=_dereq_("../../qj/src/qj.coffee"),defaultFormat=/(\d{1,4})/g,PLACEHOLDER_KEY_CODE=229,cards=[{type:"amex",pattern:/^3(379(1[23]|41)|4([0-46-9]|5([0-5789]|6([0-689]|7[0-79])))|7)/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[3,4],luhn:!0},{type:"dankort",pattern:/^5019/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"dinersclub",pattern:/^(3(0(0(0(0[1-9]|[1-9])|[1-9])|[1-5]|95)|1(1183|2525|7380|9597)|2(1564|4556)|[69]|8([0-35-9]|4([02-9]|1([046][1-9]|[1235789]))))|650482)/,format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",pattern:/^6(011([02349]|11|7[4789]|8[6-9])|4[4-9]|5(0(0(0[0189]|[129]|3[04]|5[3-6]|8[2-9])|1([0-689]|7[1-9])|[238]|4(0[0-4]|[4-7]|8[0134])|5([39]9|4|5[01])|6(0[1-9]|[1-9])|7([013-9]|2[89])|9(00|2[3-79]|3[0-7]|4[0-5]|79|[89]))|1([0-589]|6([0-4]|5[01])|7(0[5-9]|[1-9]))|2([067]|1([0-4]|72)|2(2[24]|6[379]|7[012457]|8[079]|9[013678])|3(1[89]|2[124578]|3[05-9]|[4-9])|4(0[1-9]|[1-9])|5(09|1[5-9]|2[3-9]|[346-9]|5[1-9])|8([0-4]|57|6[89]|7[156]|8[012]|9[269])|9(0[134]|1[1-4789]|[2-9]))|3(0(0[05-9]|[1-9])|[1-9])|4([0-8]|9([0-8]|9[0-689]))|5(0(20|59|[6-9])|[13-9]|2([0-79]|8[02-9]))|[689]|7([0124-8]|3([0-5789]|6[0-5789])|9([0-8]|9[0-79]))))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!0},{type:"jcb",pattern:/^3(0(8[89]|9[0-46-9])|1(0[012]|1[2-9]|20|5[89])|3(3[789]|4)|5(2[89]|3([0-5]|804)|[458]|6([03-79]|16[023]|2([0-8]|9[0-8])|8([0-79]|8[0-79]))|7([02-9]|1([02-9]|1[02-9]))))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!0},{type:"maestro",pattern:/^(2(18441|2(29(09|1[059])|923[789])|30(881|917)|50000)|5(0(0(0(0[589]|14|2[026]|3[236]|4[0138]|5[135-8]|[69][24]|75|8[17])|1(0[35]|1[256]|22|3[89]|48|6[36])|2([08]8|[17]6|25|3[248]|51|94)|3(10|3[03]|44|65|7[1238]|82)|4(01|1[067]|43|52|79|80)|5(02|[39]9|5[89]|68)|6(0[04]|2[789]|30|49|54|[68][58]|7[78]|9[0158])|7(01|1[19]|[27]6|33|4[05]|5[28]|6[12468]|8[0346]|97)|8(0[12]|21|45|5[47])|9(5[37]|94))|1(0(0[012568]|1[0-35689]|2[02-9]|38|4[0124-79]|5[013-9]|6[0-8]|7[0-5]|8[01347]|9[79])|1([02][29]|1[156]|31|4[03]|55|6[069]|7[04])|2(0[15]|12|35|5[48]|6[23]|70|81)|3(0[5679]|[167]9|2[79]|3[37]|4[12])|4(02|[57]7|84)|5([06]0|2[36]|39|95)|6(09|[25][1-59]|3[247]|4[89]|61)|7(49|6[5679]|7[467]|9[359])|8(0[1237]|1[12]|28|3[57]|[46]5|5[1359]|7[6-9]))|2(0(0[01259]|[19]|2[013-69]|3[0-4789]|4[0-35689]|5[1-46-9]|6[0135689]|7[1235]|8[0156])|1(0[0-7]|1[39]|2[012456]|3[0-6]|4[248]|50|6[056]|7[03]|8[128]|9[0259])|2(0[067]|1[12379]|2[59]|3[07]|4[027]|5[0249]|6[0238]|70|8[236]|9[013])|3(0[12]|12|21|39|[58][69]|6[0369]|7[25]|9[1369])|4(0[36]|[13][369]|2[038]|4[489]|53|[69][38]|7[03])|5(0[025]|1[369]|2[358]|3[236]|4[48]|90)|6(2[13]|5[07]|97)|7(0[14]|22|30|6[67]|7[012]|87|94)|8(1[02]|2[2-57]|4[69]|5[01]|8[09])|9(0[01458]|1[125-8]|2[456]|3[0127]|4[12389]|5[3468]|6[369]|7[013568]|8[014-7]|9[0135-9]))|3(0(0[23]|23|3[46]|44|51)|1(0[012]|2[47]|31|4[014]|6[238]|7[158]|8[34])|2(0[0-356]|2[23]|3[45]|47|64|93)|3(0[39]|37|48|[57][59]|63|8[69]|9[378])|4(0[0689]|1[038]|20|4[1349]|5[26]|8[27]|93)|5(0[039]|1[23]|26|55|63|7[2459]|8[3-69]|9[259])|6(0[013689]|1[0356]|2[169]|3[04]|4[56]|70|8[1489]|9[79])|7(00|[13]4|55|8[59]|93)|8(0[158]|37|4[79]|5[37]|[67]1|8[1456])|9(0[56]|4[68]|60))|4(0(05|[23]2|40|[56])|1(0[014]|40|5[2578]|6[168]|7[02]|8[279]|94)|2(0[08]|[14]1|2[01]|55|6[056])|3(0[013]|1[01379]|2[234]|3[1689]|4[27]|58|6[37]|[79]4|8[47])|4(0[15]|1[039]|23|3[023579]|5[468]|6[058]|87|9[23])|5(0[146]|11|26|3[369]|4[069]|5[29]|6[23]|7[46]|9[05])|6(1[138]|2[078]|39|4[259]|5[46]|6[18]|78|8[15]|9[67])|7(0[68]|1[46]|2[01]|38|41|5[1235]|66|7[125]|8[145]|9[35])|8(0[89]|1[57]|20|34|[46]8|5[03]|7[178]|8[249]|9[79])|9(17|24|3[17]|46|93))|5(0(0[79]|1[28]|74)|1(05|2[01]|4[46])|2(0[014]|[129]1|44|5[02]|63|72|85)|3([04]3|5[34])|4(09|2[279]|33|4[18]|52|88|90)|5(0[06]|1[23]|23|35|5[02]|9[09])|6(1[36]|2[456]|4[3789]|5[05]|78)|7([04]6|51|77|8[05]|9[13])|8(0[04]|1[26]|2[567]|[36]2|5[057]|74|88)|9(00|41|[79]8|8[79]))|6(0(0[0135]|95)|2(0[058]|1[03]|3[0269]|4[012])|3(0[4578]|38)|4(54|82)|5(00|1[24]|43|65)|6(06|[15][25]|[28]3|30|6[189])|8([09]4|49)|9(08|11|[36][58]|82|97))|7(0(0[1249]|1[056]|25|4[0169]|62|74|8[29]|9[012])|10[09]|2(11|7[02]|93)|3(02|24|40|57|96)|4(0[01]|5[07]|63|7[39]|9[78])|5(0[25]|35|8[12]|97)|6(0[045]|2[39]|42)|753|8(00|46|5[017]|61)|993)|8(0([02]1|[34]6|52|98)|1(0[023]|1[134]|2[24-79]|4[0459]|5[059]|60|88|9[04])|2(0[27]|2[67]|3[3467]|4[13-8]|50|9[34])|327|4([08]6|18|[25]0|4[69]|73|91)))|2(4551|7312|9795)|39145|5(0016|3038|4592|8562)|6(0(0(0[01]|1[04-7]|[26]5|4[25]|54|76)|1(01|14|27|30|4[69]|[589]2|6[26])|2(01|2[0-46]|3[0124]|5[1-9]|6[578]|7[478]|80|9[189])|3(0[3459]|11|2[17]|3[0129]|7[2347]|8[07]|9[036])|4(0[058]|1[012]|23|70)|5(10|24|4[08]|65|76)|6(2[58]|34|[57]7|63)|7([01][69]|2[02-589]|3[13578]|40|51|65|89)|8(01|29|5[156]|8[26])|9(00|8[079]))|1(0(0[03]|1[01]|2[07]|33|4[26]|5[46-9]|66|70)|1(11|24|98)|2(0[0246]|1[02-57]|2[0124579]|[39][013-9]|4[01278]|5[2-5]|6[0135-9]|7[12789]|8[1-4789])|3(2[0369]|3[2458]|4[2358]|5[256])|4(09|[23]2|[48]8|5[25]|64)|5(16|25|[34]0)|6(02|1[35]|57|60|81)|7(18|57|8[1356])|890|9([26]3|45))|2(0(01|14|49|9[39])|1(39|97)|2(0[28]|25|[68]3)|3(00|24|33|47|5[46]|78)|4(33|69)|5([17]0|48)|6(01|66|87|98)|7(07|26)|8(37|44|70|9[68])|9(6[45]|7[04]))|3(0(0[68]|14|37|51|8[15])|1([05]0|[12][04])|2([04]5|1[02]|89)|3([05]8|2[17])|4(04|1[04]|22|75)|5(1[38]|35|4[367]|57|60|7[45])|6(4[145]|[57]2|6[56]|81)|7(01|38|47|74)|8(05|[24][23]|[59]7|86)|9(16|7[35]|98))|4(0(05|18|2[23]|7[37]|97)|1(0[124568]|1[1469]|2[05]|3[0157]|4[178]|55|6[0279]|8[02457]|9[234])|2(1[23]|22|4[68]|54|61|8[07]|95)|3(07|2[234]|4[057]|5[27]|78|8[05]|9[47])|4(00|1[19]|2[156]|32|47|6[04]|76|85)|5([12]9|[36][34]|4[07]|[58]6|7[78]|98)|6(00|16|21|4[56]|5[145]|64|78|8[04]|99)|7(12|[25]7|38|6[56]|8[79]|93)|8(0[79]|2[27]|4[56]|5[38]|72|88|94)|9(0[01]|[12]0|4[23]|75|8[356]|96))|5([01]01|2([02][47]|[17]8|6[24])|3(2[15]|4[05]|54)|4(3[24]|4[45]|5[57]|6[158]|78|87)|5(4[69]|56|6[678]|82)|6(0[06]|16|[29]5|43|5[346-9]|6[35]|7[69]|8[27])|7(13|68|9[23])|8(43|5[489]|6[01]|78|85|96)|9([02][12]|[38]5|4[234]|50))|6(061|1(02|2[05]|31|50|6[0156]|74)|2(1[48]|[26]0|7[89]|8[01])|3(0[89]|47|75|8[68])|4(1[34]|5[0148]|68)|5(40|57|64)|6(0[47]|5[57]|77)|7(01|26|34|69|7[489])|8(10|37|[69]8)|9(14|38|40|73|89))|7(0(00|11|29|4[07]|97)|1([17]2|83)|2(03|28|65)|3([46]0|59|8[67])|4(3[4689]|49|53|97)|5(64|76|[89]7)|6(28|34|49|5[036])|7(3[0134]|49|88|93)|8([08][09]|[12]1|39|5[02]|98)|9(14|28|35|5[026]|70|68979))|8(0(5[03]|96)|1(28|4[59]|72)|2(17|28)|3(09|[25]7)|4(25|[579]9|62)|5(3[25]|44|66)|6(35|6[06]|70|8[39])|7(00|12|4[125]|5[56]|85|99)|8(30|56|62|8[27])|9(0[03]|1[24]|25|32|4[18]|5[2468]|6[57]|7[14]|87|99))|9(0([07]0|29|3[05])|110|2([09]7|32|5[46]|65)|3(1[29]|21|5[26]|65)|4(69|78)|5(10|99)|6(06|1[246]|47|55)|7(10|[24]5)|8(1[58]|2[35]|3[02]|4[57]|5[2456]|7[248]|8[59]|99)|9(16|20|3[48]|9[04])))|7(0(0(0[1-49]|1[126]|2[158]|3[13]|42|6[26]|86)|1([0179]0|2[359]|[38][02]|4[15]|55)|2(12|3[46]|43|55|87)|3(1[13]|22|7[3-6]|88|94)|4(02|[12]3|4[25]|5[38]|60|77|8[16]|98)|5(19|[24]5|86|98)|67[03]|7(0[01]|1[124]|2[03]|46|58)|8(65|74|88)|9([014]7|82))|1(0([14]0|37|81)|1([05]0|[13]4|42|67|7[56])|2(0[01]|1[06]|3[13]|61)|3(06|1[2356]|3[46]|53|92)|4(07|32|4[04]|5[69])|5(0[15]|1[23]|27|42|6[35]|[89]1)|6(15|90)|7([02]2|[56]0)|8(1[03]|37|5[29]|71|84|90)|9(04|3[01]|6[89]|73))|2(0(22|38)|1(36|88|9[06])|2([056]1|26|84)|3([08]9|10|25|[35]2|46)|4(0[269]|10|89|9[67])|5(1[15]|42)|6([04]2|10|2[56])|7([347]4|87)|8(1[579]|[23]8|69)|9(37|4[34]|68))|3(0(0[03]|24|3[79]|67|[89]9)|1(01|49|[69]2|83)|2(17|78|83)|3(30|73|88)|4(29|4[38]|58|60|9[057])|5([0457]0|1[03]|36|93)|6([01]5|77|8[49])|7(0[26]|39|42|7[013]|85)|8(22|[37]7|6[03])|9(05|[45]1))|4(0(01|29|50|85)|1(0[08]|28|31|4[36]|53|65|72)|2([02]6|1[127]|34|5[07]|6[36])|3(24|32|4[37]|5[47])|4([14]1|6[48]|7[02-58]|89|9[17])|564|6(25|72)|7(1[45]|[39]1|40)|8(4[38]|50|8[57]|9[48])|9([02]3|57))|5(0(0[013]|39|80)|1(05|1[2367]|2[89]|3[01]|41|84)|2(4[35]|8[07])|30[028]|4([27]7|3[58]|49|5[036]|88)|5(00|7[678])|6(32|63|7[0258]|90)|7(03|12|30|51|7[01]|97)|8(09|[35]6|4[39])|9(05|12|2[03]|4[04]|57|6[478]|73))|6(0(02|1[89]|7[68]|9[047])|1(24|35|9[68])|2(0[15]|1[17]|20|3[02]|4[38]|58|83)|3(19|6[14]|74|8[25]|96)|4(09|16|3[67]|4[69]|51|62|7[019]|85)|5(07|4[369]|54|65|88)|6([17]6|24|4[05]|67|82)|7([08]9|2[25]|4[23])|8(27|43|75|80|9[04])|9(04|2[15]|45|52|87))|7(0(21|42|69)|1(0[01]|29|[37]6|48|54|97)|2[58]1|349|4(12|38|4[46]|64|96)|5(03|20|88|97)|6(3[28]|68|94)|7(06|[17]0|[35]7|65|83)|8(0[57]|45|54|76|8[14])|920)|8(0(20|43|5[38]|87|96)|1(58|64|8[01])|2(1[24]|34|5[15]|9[49])|3[69]4|4([259]6|34|71)|5(32|41|73)|6(00|[159]4|33|45|62)|7(24|6[157]|88|91)|8(17|34|53|88|9[01])|9(0[01]|2[048]|3[057]|46|6[49]|8[04]|90))|9(0(02|27|[59]5|60|76)|1(00|23|64)|28[48]|3(07|59|9[05])|4([19]4|48|55)|5(25|43|71(460|650|700))|6(20|[36]8|41|8[89])|7(07|2[0346]|30|4[257]|6[2356]|7[02])|8([01]3|21|67|7[68]|8[36]|9[145])|9(03|2[38]|3[24578]|[47][24]|54|6[19]|8[1-8]|9[034579])))|8(0(0(0[12]|1[69]|2[38]|3[014]|[67]3|87)|1([0169]0|2[02]|4[89]|5[157])|2([16]0|31|4[014]|72|87|95)|3(02|13|34|4[69])|4([15]4|20|4[01]|93)|5(05|12|39|67|83)|6(01|[14]2|2[18]|97)|7(15|46)|8(1[789]|28)|9(04|1[1269]|37|[68]0|72))|1(0(0[35]|1[07]|3[25]|51|60|72|9)|1(00|5[17]|63|9[25])|2(18|39|56|7[0147]|93)|3([03]5|14|5[89]|6[35]|79|8[569]|9[169])|4([167]1|25|[34]6|5[045]|93)|5(0[58]|17|[28]3)|6(09|[15]0|2[79]|35|4[25]|7[345]|8[14]|98)|7(0[035689]|1[0134689]|2[0235789]|3[0235]|4[13]|5[3457]|6[1235]|7[024679]|8[0-35689]|9[2-68])|8(0[02-6]|18|2[68]|4[07]|55|67|7[57]|8[09]|90)|9(15|28|77))|2(0(0[01]|13|4[58]|65|77|9[036])|1(0[013]|1[37]|25|34|4[468]|5[02]|6[38]|98)|2(18|27|3[48]|43|82)|3(0[04]|42)|4(50|63|7[39]|85)|5([06]5|2[34]|3[16]|4[48]|[79]0|81)|6(02|3[58]|5[17]|7[48])|7(18|82)|856|9(0[58]|12|2[07]|3[03]|[47]1|5[34]|63))|3(0(04|56|73|8[59])|1(0[34]|[26]4|37|51|95)|2(42|98)|3(02|1[03]|59|63|78|9[17])|4(27|48|52)|5([12]9|5[25]|9[29])|6(30|48|56|65|97)|7(43|56)|8(05|74|83)|9(51|68))|4(0(0[1-7]|1[06])|1(0[18]|[15]1|4[47]|64|80)|2(07|1[146]|2[248]|46|[59]8|6[29]|85)|3(09|2[09]|46)|4(03|14|56)|5([057]3|22|34|9[23])|6(1[23]|2[38]|3[37]|4[69]|60|82)|7(15|57|69)|8(0[27]|3[37]|48|96)|9(06|11|22|60))|5(0(14|50)|1(44|7[68]|8[36])|2(0[048]|1[03]|43|5[36]|6[68]|79|81|9[2478])|3(1[68]|20|51|76|8[28]|9[36])|4(0[09]|1[0259]|2[18]|3[05]|4[2-57]|5[03]|6[67]|7[178]|8[37]|9[0236])|5(0[01249]|1[149]|2[35]|3[48]|40|[59][06]|65|77|8[345])|6(09|2[46]|51|8[03-8]|9[57])|7(05|20|48|5[37])|8([08]0|1[67]|22|3[0137]|47|63)|9(0[1346-9]|1[0234679]|23|3[013567]|4[02789]|5[039]|[68]8))|6(0(03|10|32|49|6[24])|1(0[047]|[14]3|84)|2(35|42|59|[67]0)|3([16]4|53)|4(02|75)|5(09|[19]8|5[25]|81)|6(14|6[68]|73)|7(14|20|3[59]|53|69|[78]8|92)|8(0[056]|24|52|65|71|96)|9(06|12|2[37]|33|41|5[78]))|7(093|1(11|20)|2([18]8|39)|3(09|3[124579]|40|87)|4(0[38]|16|25|5[26]|6|7[012]|83)|5(02|14|45|88)|6(12|[45]4|76)|7([25]2|36|69|70|9[89])|8(42|96)|9(0[178]|54|81))|8(06[06]|1(06|58|6[567])|2(16|27|6[07]|7[04]|9[25])|3(25|30|5[13])|4(07|14|29|46|55|7[39]|80)|5(02|[48]0|7[06]|97)|6(02|[12]0|39|44|5[267]|65|7[35]|9[18])|7(0[01]|2[08]|3[1-49]|43|71|8[57]|92)|8(03|1[2456]|2[169]|3[026]|4[6-9]|5[01589]|7[19]|8[38]|9[0157])|9(00|1[036]|3[14]|51|6[01789]|75|8[234]|9[128]))|9(0(05|1[489]|2[18]|36|4[48]|68|77|8[2346]|99)|1(0[17]|1[179]|21|36|53|6[1459]|70|98)|2(0[068]|1[013567]|2[127]|31|4[13-6]|[58]6|6[57]|7[0149]|9[2578])|3(0[489]|2[15]|[39]9|4[346]|5[01]|6[057]|7[39]|8[278])|4(07|1[278]|2[589]|3[047]|4[67]|5[2-9]|6[0-35]|7[167]|88|9[12])|5(0[056]|1[34578]|2[4-7]|3[016]|4[28]|5[023]|87|90)|6(0[25]|1[123]|2[09]|3[2368]|4[27]|5[1348]|6[15]|7[147]|8[14678]|9[13])|7(0[01369]|1[0139]|2[15-9]|38|4[489]|5[1367]|6[124]|7[69]|8[135-8]|9[0-37])|8(0[0246-9]|1[1-689]|2[0124-79]|3[0-4789]|4[2-9]|5[13457]|6[1-4679]|7[0235-8]|8[45689]|9[1246-9])|9(0[026-9]|1|2[0135-9]|3[0-46-9]|[45][02-9]|6[0-4679]|7[01245689]|8[6-9]|9[01389])))|9(0([0-689]|7([02-9]|1[13-9]))|1([013-9]|2([0-5789]|6[1-9]))|[2-579]|6([0-689]|7([0-689]|7[02-9]))|8([0-689]|7([0-35-9]|4[0-46-9]))))|6(0(0(0(00|54)|1(02|23|76)|2(0[368]|9[5-9])|3([02457]|1[0-46-9]|3[0-5789]|6[0124-9]|8[0124568])|4(01|[35]2|6[34]|7[29])|5(0[459]|5[59]|98)|6([26]5|[47]8)|722|8(1[58]|29|33|52|6[24])|9(0[189]|1[27]|20|33|7[38]|8[19]|9[0-38]))|1(0([07][03]|2[14]|3[09]|47|56|65|8[239]|99)|2(0[12369]|1[0124-9]|2[013-689]|3[02-9]|[46]|5[0-46-9]|7[0-69]|8[1-46-9]|9[1-9])|3(0[19]|14|4[45]|5[46]|6[89]|7[27])|4(0[014]|18|22|35|41|5[12]|93)|5(0[08]|1[89]|3[12]|4[14]|79|8[27]|94)|6([0249]|[17][0-46-9]|3[0-5789]|[58][0-79]|6[0-35-9])|7(0[05]|4[23]|5[09]|82)|8(19|4[02]|8[0147])|9(00|9[39]))|2(0(0[068]|1[128]|2[124678]|3[14]|50|67|73)|1(40|88)|319|447|6(48|51|7[68]|95)|792|8(17|71|82)|9(08|[17]0|54|81))|3(0([16]1|54|7[18]|8[03]|9[28])|1(1[12]|2[023578]|[36]4|[49]8|82)|2([09]8|1[346]|32|[45]6|69|83)|3(01|1[126]|2[56]|3[59]|4[0269]|53|78|8[23]|9[5679])|4(0[09]|[258]0|[47]5|92)|5([05]5|2[789]|74|88|9[01])|6(0[023589]|1[34]|28|34|4[49]|50|7[0-4]|8[1349]|9[23])|7(17|22|33|41|6[39]|7[08]|88)|8(4[15]|68)|9(13|48|5[19]|60|7[1-9]|8[0124-79]))|4(0(19|33)|[15]|4(0[1-9]|[13-9]|2[01346-9])|6(1[23]|36|4[46]|78)|77[69]|8(0[69]|[19]7|4[12]|52|63)|9([07]6|[14]8|3[89]|[56]1|8[234]))|5(0(0[067]|27|[36]6|75)|230|360|4(21|6[12])|5(29|36|44)|6(23|6[18])|775|8(39|91))|6(0([0-369]|4[0-46-9]|5[013-9]|7[02-9]|8[0-8])|1(14|2[456]|4[45]|6[36]|7[29])|2(0[09]|2[48]|3[368]|5[27]|6[03]|8[045]|99)|3(05|21|3[79]|49|7[24]|8[569]|9[45])|4(01|36|4[45]|52)|667|711|801|931)|9(002|5(68|95)|966))|1(04(11|22)|5009|6788|7435|843)|2(0272|1(409|8[368]0|9(8[46]|9[29]))|2(0(18|[79]2)|1(06|10|22))|3977|7(089|1(01|19|[27]3|6[16])|2(40|54|78)|3(18|47|5[258]|6[46]|99)|4(41|5[346]|6[27]|79)|5([148]2|3[49]|74|9[28])|6(09|[39]6|43|6[59]|74)|7(0[1-9]|[179]|2[0-46-9]|3[0-5789]|4[1-5789]|5[02-9]|6[0124-9]|8[1-4789])|8(0[12]|16|69|92)|9(20|59|7[39]|9[25]))|8(0(28|39|47|8[12]|95)|1(10|3[23]|55))|94(4[1-9]|5[0-3]))|3(0(0(00|28)|1(14|21)|[27]22|4(0[0189]|12|4[015]|56|61|7[789]|8|9[0-8])|521|953)|1(0(00|9[02])|240|307|6(81|98)|9(4|82))|2467|3(000|1(10|33|5[18]|6[34]|74)|2(04|19|35|[46]0|9[56])|3[0-4]|4[5-9]|5(13|34|[479]7|5[15]|86)|6([27]5|41|9[58])|7(48|67|7[46]|80|91)|8([125]7|45|7[1268]))|4(0(0[145689]|51)|1(04|79)|207|852)|5(037|482|6(0[18]|18|29|3[49]|50)|903)|6(0([78]8|9[167])|1(01|1[126]|4[16]|6[24]|73)|2(68|87)|3([17]5|2[59]|39|47|9[26])|4(06|4[78])|5([18]7|23|48)|6([02]8|39|8[49]|93)|7(0[48]|36|78)|8(42|6[08])|9(3[79]|57|64))|7(0(43|74)|1([09]2|18|87)|2(17|43)|3(33|6[49])|5(29|56|68)|600|780)|8(101|216|564|685)|9(0(0[012459]|1([025789]|10)|2[014-8]|3([1478]|279)|4[3-9]|5|6[0-8]|7[0-468]|8[35-9]|9([025-9]|10))|1([012]|3[039]|51|6[19]|7[04]|99)|2(07|1[23]|2[169]|[36]1|4[08])|3(00|5[08]|[67]2|9[0-3])|4(0[16]|44|5[07]|66|8[59])|5([08]9|3[13]|55|61|97)|6(07|1[48]|[27]3|4[459]|50|64)|7(6[34]|77|81|90)))|4(0(00[15]|2([24]1|52)|3(45|57)|4(11|75|83)|6(14|71))|1466|2(0(1[12]|9[78])|1(08|1[09]|73)|2(2[23]|40|58)|3(01|[458]4|62|7[36]|9[19])|4(26|3[03]|45|91)|5(01|14))|3(2(0|12|[67]0|8[01])|632))|6(0(0(0[06]|11|99)|1(00|91)|2(15|94)|383|408|65[01]|7(1[13]|91)|801)|1(010|1([02]0|3[89])|2(32|49|57)|431|6(60|99)|800|938)|2(000|2(02|4[12])|40[57]|637|741|829|972)|3(1(05|5[36])|2(05|54|70)|329|6(39|80)|7(15|26)|834|921)|4(09[06]|260|386|4(63|7[15])|581|662|765)|5(0(12|97)|4(22|67)|5(31|55)|6(48|76)|722|9(42|79|80))|6(0|282|4(00|14|42|96)|554|6([56]5|8[08]|99)|739|887|963)|7(0[05]1|100|2(07|30|95)|305|460|5(12|31)|6(36|45)|7([08]0|39)|8(45|96)|9(25|50|97))|8(020|3(27|45|99)|465|503|668|7(00|61)|830|9(00|5[14]|78))|9(0(0[01]|3[58])|235|494|5[78]2|672|8(69|87)|958))|7(0([0127]|3(0([012458]|9[01])|1[0-589]|2[1-46-9]|3|4[0-7]|5([049]|10)|6[013-7]|7[035789]|8[05789]|9[1567])|4(0[0125]|1[03]|34|96)|5([0146]|[25][013-9]|3[02-9]|7[0-8]|8[1-8]|9[0-46-9])|6([0146]|2[02-9]|3[0-5789]|5[1-9]|7[0-8]|8[14-9]|9[0145689])|8(0[01246-9]|[15]|2[013-9]|3[0124-9]|4[02-79]|6[2-9]|[79][0-7]|8[89])|9(0([01345]|[268]0)|11|44|6[12357]|7[02]|8[1-9]|9[02-9]|500))|1(0|1(0[0-35-9]|[15][013-9]|2[0-46-9]|3[013-8]|4[4-9]|6[0-35679]|7|8[012678]|9[0124579])|2(0[012689]|1[01245789]|20|3[234]|59|[67]8|94)|3(0[0-35-9]|[13-9]|2[0-79])|4(02|96)|5(01|[46]0|83|99)|6(77|8[01])|718|8([0-79]|8([0-35789]|[46]0))|9([68]0|77))|2|3(0(0[0234]|4[127]|52|70|99)|1(0[0-36]|11|23|4[05]|[57]|60|8[01]|92)|2(0[1-689]|1[0-579]|[29]|3[015-9]|4[0-46-9]|5[05-9]|6[0-35]|7[1567]|8[01])|3([0-4]|50|68|7[67]|87)|4(0[0-6]|22|4[48]|50|8[09]|98)|5|6(36|6[07]|7[05]|8[09]|90)|7([014]|20|3[03]|55|7[013]|83)|8(2[26]|63|99)|9(0[0-4]|2[02]|60|[79]9))|4([012]|3([03]|1[0-46-9]|2[0-35789]|4[0-5789]|5[0-69]|6[02-79]|7[0124-9]|8[0-4789]|9[0-79])|4(0[4-9]|1[1-8]|2[0-79]|3|[49][0-689]|5[0129]|68|8[2-79])|5(0[0278]|1[0-6]|2[0124-7]|3[0-4679]|4[01245789]|5[1678]|6[02-689]|7[0-35-9]|8[0135-9]|9[0235679])|6(0[0135-9]|1[013-689]|2[0235-9]|3[02-79]|4[0-36-9]|[57]|6[01289]|8[2-589]|9[124-9])|7(0[0-478]|1[03-68]|2[1-9]|3[13-689]|4[0-5789]|5[035679]|6[0-35-9]|7[035-9]|8[05-8]|9[013-9])|8(28|3[2-9]|[46-9]|5[0124589])|9(10|47|73))|5(0(0[01]|13|27|49|5[08]|70)|1(0[04]|13|30|41)|2(05|20|92)|3(01|32|[89]7)|4([15]4|21|3[28]|67|76|89)|5(49|68|76|92)|6(16|21|[38]3|92)|7([12]4|5[2346-9]|6[012]|76|95)|8(20|31|49|56)|9([0-689]|7([04-9]|[123]0)))|6(0(0[012]|3[68]|47|5[2-9]|6[0-689]|7[0-8]|8[27])|1(0[0236-9]|1[0124-9]|2[1-79]|3[01]|4[0568]|6[03-9]|7[0-4789]|[89])|2(0[013-9]|1[014-79]|2[1346-9]|3[013467]|4[015-9]|5[0-689]|6[1-5789]|7[0-468]|8[023679]|9[1-9])|3([013]|2([13-79]|80)|4[0-46-9]|5[15-9]|6[0-689]|7[1-46-9]|8[013457]|9([02-9]|10))|4(0[0-35-8]|1[124-9]|2[0-5789]|3[2-8]|[469]|5[0124569]|7[1-46-9]|8[024-9])|5(0[1-9]|1[03-689]|[2358]|4[0135689]|6[013-9]|7[01245689]|9[0135789])|6(0[146-9]|1[1-589]|[246]|3[0-689]|[578][0-5789]|9[0678])|7|8(0[02-589]|1[0-3689]|[26][0124-9]|3[0-6]|4|5[0-35689]|7[024-9]|8[0-689]|9[0-79])|9(0[02-9]|[189]|2[1236-9]|3[02346-9]|4[1235-9]|5[0-79]|6[0124-9]|7[1-5789]))|7(0(0[1235689]|[13][0-8]|2[0-79]|4[013-9]|5[0-46-9]|[67][01346-9]|8|9[0-3789])|1([079]|1([0124-7]|[89]0)|2([02-578]|10)|3[0-8]|4[0-46]|5[1245]|6[235-9]|8[013-9])|2(0[013-9]|[15][0-46-9]|[23][1-9]|[4689]|7[0-689])|3([01489]|2[02-5789]|3[14-9]|5[1-9]|6[0-46-9]|7[0-689])|4([069]|1[02-9]|2[0124-9]|3[0-5789]|4[124-9]|5[03-9]|7[0-36-9]|8[0124789])|5([0349]|1[0124-9]|2[0124-8]|5[0-8]|6[3-9]|7[014-9]|8[0-69])|6([04][0-35-9]|[18]|[29][0-79]|3[0-7]|5[03569]|6[0125-9]|7[01246-9])|7(0[0-8]|1[0-46-9]|2[1-8]|31|72|8[08])|8(09|20|56|78)|9([1367]0|2[01]|5[09]|87|9[56]))|8(0(09|15|80)|196|2([01]3|34|41|76|95)|3(0[45]|70|9[69])|4(00|2[45]|63)|5(1[49]|3[27]|4[69]|56|78|84)|6(1[69]|5[47]|80)|7(02|65|79|8[08]|90)|8([08]8|14|3[45]|[47]6|65|9[378])|9(0[013]|12|31|4[25]|75|8[89]))|9(0([0124-9]|3[0124-9])|1([013]|2([0-8]|9(2[68]|30|43|[56]9|91))|4[1-7]|5[26]|6[23467]|7[018]|8[12568]|9[0-69])|2(12|23|39|50|9[123])|3(1[03]|81)|406|5(00|22|5[07])|63[78]|7(10|58|6[02])|8(3[568]|4[0128]|53)|9(0[01]|13|2[2367]|32|4[13]|5[17]|61|8[04-9]|9[0-5789])))|8(0(0(00|72)|156|214|5([07]1|26|68)|618|8[01]0|910)|1(095|100|234|363|450|549|681|790|87[08]|940)|2(01[45]|181|362|490|5[012]0|656)|3(050|454|5(61|78)|703|845|9(00|45))|4(0(55|80)|168|[26]17|357|4[13]1|7(23|35|[69]8)|853|9(2[19]|64))|5(068|1[04]0|3(41|73)|470|540|759)|6(0[07]0|1(17|[79]6)|2(04|19|61)|483|7(44|67|82)|8(0[89]|30|68))|7(0(05|32|64)|2(44|83)|322|4(23|42|74)|636|749|9(54|65|79))|8(028|1(22|40|77)|5(23|40)|6(09|75)|7(23|46)|82[04])|9(0(0[01]|99)|[13]70|2(08|35|42|53|97)|937))|9(0(0(0[029]|17|25|32|54|99|46045)|1(49|72)|231|413|970)|1(1(06|41)|3(13|39)|[48]01|5(10|97)|710)|2(042|18[12]|253|5(05|50)|[68]93|711)|3(0(0[23]|1[04]|57|99)|134|312|40[59]|5(23|74)|689|7(00|1[15])|800)|4(2(09|30|58)|675|8(30|58)|982)|5(0(00|54)|1([16]1|32)|4(30|77|85)|588|896|9(21|4[36]))|6(0(00|11)|196|28[02]|352|450|[56]69|857|9(00|69))|7(0(00|9[06])|196|3[06]1|530|6(45|87)|720|8(07|29)|901)|8(011|113|233|4(06|53)|5(34|55)|6(44|53)|7(03|45|6[36])|857)|9(0(0[12]|87)|3[34]1|4(04|23)|696|9(06|3[07]|99))))|7(0(6980|8252)|24365|58005|744[1-9])|990015)/,format:defaultFormat,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"mastercard",pattern:/^(2(2(2(1([0-689]|7[1-9])|2([0-3]|62)|3(00|6[1-9]|[78]|9[0-35-9])|4([0-35-9]|4[0124-9])|5([014-9]|2[0-46-9]|3[1-9])|6([0-369]|4[02-5789]|5[2-9]|7[0-4678]|8[3-9])|7|8([0125-9]|3[0-689]|4[02-9])|9([06][0-8]|1([1-4678]|50)|[2-5789]))|[34578]|6([0-8]|9([0-46-9]|5[0-79]))|9([014-9]|2([0124-9]|3[0-6])|3(0[1-9]|[1-9])))|3(0(0(0[1-58]|1[0124-7]|2[01367]|3[2689]|4[013569]|5[0-489]|[67]|8[235-9]|9[01247])|1(0[356]|1[347]|2[1-79]|3[345]|4[24]|5[12679]|6[23478]|7[13-9]|8[013459]|9[0678])|2(0[03-9]|1[1245689]|2[2459]|3[046]|4[129]|5[6-9]|6[13569]|7[02578]|8[12]|9[04])|3(0[1267]|1[01367]|2[014678]|3[0358]|4[03459]|5[1-59]|6[01269]|7[023679]|8[023]|9[48])|4(0[179]|1[012457]|2[04689]|3[27]|4[467]|6[3469]|7|8[0-46-9]|9[0178])|5(0[3-8]|1[02457]|2[468]|3[0-468]|4[012469]|5[0-479]|6[46]|7[02-9]|8[03-9]|9[014-79])|6(0[1235]|1[012]|3[89]|4[0-35689]|5[02-79]|6|7[01249]|8[1-58]|9[02356])|7(0[0-69]|1[0-47]|2[1346-9]|3[0-4679]|4[2-5789]|5[2-9]|6[0125689]|7[0-4678]|8[01349]|9[0134679])|8(0[023679]|1[0-4]|2[0-5789]|3[03-79]|4[0-3678]|[58][02-9]|[679])|9([04-9]|1[12359]|2[13789]|3[135789]))|[1-5789]|6([0-35-9]|4([0124-9]|3[0-589])))|4([0-5789]|6([0-689]|7(0([0-5789]|60)|[1-9])))|5(0(0(0[1-9]|[1-9])|[1-9])|[1-9])|6([0-367]|4([0-35-9]|4([012]|3[036-9]|4[0134678]|5[0-58]|6[0134589]|7[24-9]|8[13-9]|9[0124-9]))|5([0125-9]|3([0-6]|7[0-8]|8[1278]|9[134579])|4(0[02-6]|1[12468]|2[2-579]|3[0235-9]|4[1247]|5[123789]|[6-9]))|8([03-9]|1([0126-9]|3[0-35-9]|4[0-79]|5[0-46-9])|2([0-489]|5[2-578]|6[1-479]|7[2689]))|9(0([0-8]|9[0-489])|1(0[13457]|1[0-35689]|2[0-35-9]|3[013-68]|4[01479]|5[0124-9]|6[0-356]|7[016]|8[256]|9[0-379])|2(0[3469]|1[0-47]|2[2458]|3[58]|4[047]|5[1-9]|[6-9])|[3-8]|9([0124]|3[02-689]|5[0-4679]|6[0-8]|7[0-79]|8[02-9]|9[0-35-9])))|7(0(0(0[02568]|[12678]|3[02346-9]|4[0-8]|5[0-36-9]|9[013-79])|1(0[0-689]|[13-9]|2[02-9])|[2-9])|1|20(0[023]|22|[6-9])))|5(00165|1(0(0([013-79]|2[0-79]|8[1-9])|[1389]|2(0[034579]|1[0-5789]|[2-9])|4(0[013-69]|[1478]|2[0-35-9]|3[0-35-8]|5[0-46-9]|6[0-4689]|9[1-9])|5([05-9]|1[0-35789]|[234][0-46-9])|6([0-79]|8[1-9])|7([0-79]|8[0-8]))|[169]|2(0([024-9]|[13][0124-9])|1([015-9]|2[1-9]|3[0-6]|4[0-79])|2(0[0146-9]|[1-6]|[78][0-46-9]|9[02-9])|3(0[013-9]|[135-8]|2[0-46-9]|4[0-5789]|9[0124-9])|4([0-46-9]|5[0-8])|5([0-8]|9[0-5789])|6([0235679]|1[0-8]|4[0-35-9]|8[0-46-9])|7(0[013-9]|[1-9])|8|9([0124578]|3[1-9]|6[02-9]|9[0-46-9]))|3(0([0-359]|4[0-8]|6[0-36-9]|7[1-9]|8[0-578])|[12678]|3([05-9]|1[0-689]|2[0124-9]|3[0-8]|4[0-46-9])|4(0[012489]|[1245689]|3[0-689]|7[013-8])|5([0-69]|7[0124589]|8[014-8])|9([0-35-8]|4[0-8]|9[0125679]))|4(0([05][0-689]|[1246-9]|3[014-9])|[1-9])|5([0-68]|7([0-36]|[45][0-8]|7[0-79]|8[02-8]|9[0-35-9])|9(0[0-8]|[1-9]))|7(0([0-589]|6[013-8]|7[0-46-9])|[134]|2([0-8]|9[02-9])|5([013567]|2[0-5789]|4[02-9]|8[0-35-9]|9[0135-9])|6(0[013-9]|1[03-9]|2[035789]|3[2-9]|[456]|7[0134789]|8[0124-9]|9[0-79])|7([0-689]|7[1345789])|8(0[0-8]|1[1-9]|2[0-578]|3[0-589]|4[01246-9]|5[1246-9]|[6-9])|9([03-9]|1[01245789]|2[0124-9]))|8(0([01346-9]|2[0-8]|5[0-579])|1([015-8]|[24][0-35-9]|3[013-9]|9[0-8])|2([024789]|1[0-8]|3[0124-9]|5[0-4689]|6[0-69])|3([0-35-9]|4[0-35-9])|4([0-46-9]|5[0-79])|5([0-79]|8[013-9])|6(0[0-5789]|1[024-9]|[24568]|3[0-689]|7[2-9]|9[1-9])|7([0125-9]|3[0245689]|4[04-9])|8([02-8]|1[013-9]|9[0-79])|9(0[1-9]|[1-9])))|2(0(0([0124-9]|3[0124-9])|1([0124-9]|3[0-35-9])|[289]|3([0124-9]|3[013-9])|4([017]|2[0-36]|3[0-3]|5[356]|6[1567]|8[012467]|9[159])|5(0[01245789]|[1-9])|6([0-46-9]|5[0-35-9])|7(0[0-35-9]|[1578]|2[013-9]|3[0135-9]|4[0-79]|6[0-5789]|9[02-68]))|1(0([0-8]|9[0-5789])|[1-58]|6(0[0-7]|[1-46-9]|5[013-9])|7([0-578]|6[01245689]|9[02-9])|9([0-4678]|5([0-8]|90)|9[0-8]))|2([08]|1(0[0-5789]|[1-9])|2([0-46-9]|5[0-35-9])|3(0[013-9]|1[0-35-9]|[235]|[48][0-8]|6[1-4678]|7[0124-9]|9[01245689])|4([0-4679]|5[1-9]|8[0-689])|5(0[0-5789]|1[134579]|2[1235789]|3[0-35789]|4[0-79]|5[13-9]|6[1-8]|[78][02-8]|9[0246-9])|6([04][0124689]|1[0-68]|2[02468]|3[024689]|5[0-468]|6[0-5789]|7[0-79]|8|9[0-46-9])|7(0[013-9]|[13]|2[0-8]|4[0124-79]|5[013-8]|[69][0-4679]|7[02-689]|8[124-8])|9([0124-9]|3[0-8]))|3(0([01467]|2[013-9]|3[013-7]|5[0124-9]|8[0-8]|9[0-578])|[123689]|4([046][0-689]|[1357]|2[1-9]|8[01245689]|9[0234678])|5(0[01245689]|1[013-9]|[246-9]|3[0134578]|5[0-689])|7([024-7]|1[0-689]|3[1-9]|8[0-5789]|9[0-35-9]))|4(0([0126-9]|3[0-589]|4[0-46-9]|5[0-79])|1(0[0-8]|[1-9])|2([0-8]|9[0-489])|[38]|4([0-35-9]|4[02-9])|5([01279]|3[0-8]|4[1-9]|5[024-9]|6[0124-9]|8[0-689])|6([0258]|[14][0-689]|3[0-46-9]|6[0-5789]|7[13-79]|9[01246-9])|7([0-69]|7[0125-9]|8[0-46-9])|9([0-6]|7[0-8]|8[0-5789]|9[013-9]))|5|6([023468]|1([0124-9]|3[0-35-9])|5(0[02-5789]|[12389]|[46][0-5789]|5[0-35-9]|7[24689])|7([02-9]|1[0-35-9])|9([0124-9]|3[0245689]))|7(0([045689]|1[0124-9]|2[02-9]|3[0-35-9]|7[0-46-9])|1(0[0124-9]|[134]|2[0-8]|5[02-9]|[69][0-46-9]|7[0-689]|8[0-5789])|2(0[0-35-9]|1[0-689]|2[013-9]|3[124579]|4[0134589]|[5-9])|3([025679]|1[013-9]|3[02-9]|4[0-689]|8[1-9])|[4789]|5([0-35-9]|4[013-9])|6([013589]|2[124-8]|4[0-35-9]|6[0-4679]|7[02-9]))|8([03-7]|1([0-46-9]|5[013-9])|2([012]|[389][0-79]|4[0235689]|5[013-79]|6[02-689]|7[0-46-9])|8([0-589]|6[0-46-9]|7[0-5789])|9(0[0-35-9]|[1-9]))|9(0([0-35-9]|4[0-8])|1([0-4789]|5[05-9]|6[0-689])|2([013-8]|2[013-9]|9[0-8])|3(0[035-9]|[1-9])|[45]|6([013-9]|2([0-79]|80))|7([0-7]|8[1-5789]|9[0-46-9])|8(0[0-35679]|1[0-5789]|[2-9])|9(0[346-9]|1[0-46-9]|[2-8]|9[02359])))|3(0([03-9]|1([0-468]|5[02346-9]|7[0-8]|9[0-46-9])|2(0[0-689]|[1-8]|9[0-579]))|1([0-4789]|5([0134679]|2[1-9]|5[0-4678]|8[0-8])|6([02-9]|1[0-46-9]))|2(0(0[0-79]|[12379]|4[0-46-9]|5[0-689]|6[013-9]|8[0124-9])|1(0[0124-9]|[1345789]|2[02-9]|6[0-79])|[2-57]|6([0-8]|9[0-579])|8([02-6]|1[013-9]|7[0134]|9[15])|9([013-689]|2[0-4678]|7[013-9]))|3(0(0[0-489]|[13-9]|2[013-9])|[12678]|3([014-8]|2[0-5789]|3[0-35-9]|9[0-35689])|4([013-9]|2[0-35-9])|5([013-9]|2[02-9])|9([0234789]|[16][02-9]|5[01245689]))|4(0([0-8]|9([02346-9]|10))|[128]|3([0-8]|9[0-35-9])|4([0124]|3[0124-8]|5[0-35689]|6[0-35-9]|7[0235689]|8[0235-9]|9[023579])|5(0[135-9]|1[123567]|2[0-8]|3[02468]|4[0-468]|5[02346-9]|6|7[1235-9]|8[1-79]|9[0135-9])|6(0[1-79]|[12]|3[02-8]|4[1-5789]|5[0-35679]|[69][013-9]|7[0135679]|8[0-79])|7(0[02467]|[1-9])|9([013-9]|2[013-9]))|5(0([05]|1[0-8]|2[01345789]|3[0235789]|4[013-9]|6[1235-9]|7[01245789]|8[0-689]|9[0124-8])|[124-79]|3([0125789]|3[0-4689]|4[0-4679]|6[1-9])|8([0-35789]|4[0-79]|6[0234678]))|6([0678]|1([0-35-9]|4[0-5789])|2([02-9]|1[02-9])|3([0-468]|5[0-46-9]|7[0135-9]|9[0-35-9])|4([0-689]|7[0135-9])|5([0-3679]|4[02-5789]|5[02346-9]|8[0-46-9])|9([016-9]|2[0-6]|3[23489]|4[014-9]|5[0-36-9]))|7(0([013-8]|2[02-9]|9[02-79])|1(0[0-46-9]|1[02-689]|[24-9]|3[0-35-9])|[2-59]|6([03-9]|1[0124-9]|2[0-35-9])|7([0-39]|4[0124678]|5[024-8]|6[01246-9]|7[012468]|8[02468])|8([03-9]|1([0-479]|50)|2[13579]))|8(0(0[0-79]|[13-9]|2[0-8])|[1256]|3([0-6]|7[015]|8[1589]|9[1-9])|4([0-46-9]|5([0-689]|70))|7(0[1-9]|[1-7]|8[0134578]|9[023568])|8([0-59]|6[0-68]|7[01245789]|8[0-579])|9(0[0-8]|[168]|2[0-35-9]|3[0-5789]|4[1-9]|5[1346-9]|7[02-9]|9[0-68]))|9(0([0-8]|9[0-35-9])|1([0-35789]|4[0-46-9]|6[02-9])|[2346-9]|5([0-8]|9[0-5789])))|4(0([01357]|2(0[1-9]|[1-9])|4([0-4678]|5[0-689]|9[0124-9])|6([0124-9]|3[0-35-9])|8([0-5789]|6[03-9])|9([013-79]|2[013-9]|8[0-5789]))|1(0([01369]|2[013-9]|4[1-9]|5[0-46-9]|7[013-79]|8[0-35-9])|1([0-8]|9[013-9])|[2368]|4([04568]|[12][1-9]|3[0-79]|7[0124-9]|9[0-7])|5(0[1-9]|[1-8]|9[0-79])|7([0234679]|1[0-79]|5[013-9]|8[1-9])|9(0[0-8]|[12][02-9]|[348]|5[1-9]|6[0-4789]|7[0-689]|9[0-5789]))|2(0([013789]|2[0-46-9]|4[0-35-9]|5[03-9]|6[0-79])|1(0[0-8]|[1-7]|[89][0-689])|[23]|4([0-469]|5[013-9]|7[0-79]|8[0-5789])|5(0[1-9]|[1-79]|8[0-8])|6([0245789]|1[0-35-9]|3[0-79]|6[0-478])|7([013-68]|2[0-46-9]|7[02-9]|9[013-9])|8(0[1-9]|[1235689]|4[0124-9]|7[013-9])|9(0[02-9]|1[0-35-9]|[23578]|4[0135-9]|6[13-9]|9[0-46-9]))|3(0(0[1-9]|[1-9])|1([0-579]|6[1-689]|8[013-9])|2([0-3567]|4[0-8]|8[0-46-9]|9[013-9])|3([035-8]|1[0-35-9]|2[0124-9]|4[0-79]|9[0-8])|4([0-35-9]|4[0124-9])|5([015-8]|2[01345789]|3[0-46-9]|4[02-9]|9[0-689])|6(0[1-9]|[13-9]|2[0-8])|7([0124-9]|3[013-9])|8([0-5789]|6[0124-9])|9(0[03569]|1[013569]|[2346-9]|5[013-9]))|4([01258]|3(0[02-9]|[1-9])|4([0-5789]|6[02-689])|6([0-578]|6[013-9]|9[0-689])|7([0-79]|8[0-35-9])|9([0-4678]|5[0-689]|9[0-356]))|5(0(0[1235-9]|1[012569]|2[0-8]|[345789]|6[0-469])|[125]|3(0[013-79]|[124-8]|3[02-9]|9[0-79])|4(0[0124-9]|[1-5789]|6[02-9])|6([0-689]|7[0-578])|7([0124-9]|3[02-9])|8([013-9]|2[0-5789])|9([0-8]|9[0-8]))|6(0([0-7]|8[0-8]|9[02-9])|[1569]|2([0-8]|9[013-9])|3(0[0-4789]|[1-9])|4([0-79]|8[02-9])|7([0-5789]|6[0-689])|8([0-489]|[57][0-689]|6[013-9]))|7(0([013-9]|2[1-9])|1([0-79]|8[0-8])|[2-9])|8(0([0-7]|8[0-8]|9[1-9])|1([0-3679]|4[0-68]|5[49]|8[0-689])|2([0-79]|8[0-7])|[3457]|6([0246-9]|1[0-79]|3[0-4678]|5[0-589])|8([0-47]|5[0-689]|6[0-46-9]|8[0-8]|9[1-9])|9([0-35-9]|4[0235689]))|9(0([0126-9]|3[0-35-8]|4[0135-9]|5[0-46-9])|[124578]|3([01246-9]|3[0-689]|5[0124-9])|6([0-46-9]|5[0124-9])|9([0-46]|5[0124-9]|7[0-359]|8[013458]|9[0-8])))|5(0(0(0[02-689]|1[01245789]|[2679]|3[03-9]|4[0-5789]|5[01346-9]|8[0-35-9])|1([0-69]|7[0-79]|8[1-9])|2(0[0124-9]|[123567]|4[1-7]|8[0-5789]|9[0-79])|3([0-356]|4[0-35-9]|7[02-8]|8[0-3]|93)|4(0[07]|1[23]|2[3-9]|3[0-35-9]|[45789]|6[0124-9])|5(0[0-79]|1[1-9]|2[02-6]|3[01345789]|[46]|5[013-9]|7[024-9]|8[0-8]|9[1-4689])|6([01589]|2[0-35-9]|3[0-5789]|4[0124-79]|6[0125-9]|7[02-9])|[789])|1([0-35-9]|4([013-9]|2[02-9]))|2([0-46-9]|5(0[1-9]|[1-9]))|3(0([0124-79]|3[0-79]|8[0-46-9])|[1235789]|4([0124-9]|3[0-35-9])|6(0[0124-9]|1[1-9]|[2-8]|9[0-59]))|4([039]|1(0[0-35689]|1[0-478]|[24][0-689]|[35689]|7[02-9])|2([0125-9]|3[0-79]|4[1-9])|4(0[0-689]|[13-9]|2[02-9])|5([0-8]|9[013-9])|6([0-6]|7[0124-9]|8[0-46-9]|9[0-689])|7([0125-9]|3[0-8]|4[0135-9])|8(0[014789]|1[124-8]|2[014-9]|[3-689]|7[0-46-9]))|5([0124-9]|3([0-689]|7[0-46-9]))|6([0-79]|8([0124-9]|3[1-9]))|7(0([0-5789]|6[0-46-9])|[134578]|2([0-8]|9[0-35-9])|6([0-3678]|4[1-9]|5[0-46-9]|9[0-79])|9([0125-8]|3[0-69]|4[1-9]|9[013-9]))|8([0-46-9]|5([0-5789]|6[013-9]))|9([034579]|1([0134789]|2[0-35789]|5[0-8]|6[1-46-9])|2([0-579]|6[02-9]|8[0124-9])|6([0-46-9]|5[0-8])|8([035689]|1[013-9]|2[0-3578]|4[0-8]|7[0-689])))|6(0(1(44|70)|9(83|98))|1(002|2(4[345]|5[06-9]))|2534|5151|6(297|383)|7(062|327|6(24|51))|8498)|7(2034|3271|4933|56(76|95)|6847)|8(0(05[19]|321)|1(149|7(0[27]|15|2[14]|3[16-9]|4[024-9]|5[016]|6[69]|7[38]|8[47]|9[017]))|3877|5(280|721)|6(085|1(54|89)|252|6(8[678]|9[02346])|7(01|60)|930)|7(256|78[01]|993)|8067|9(004|2(29|30|42|61|8[38])|31[18]|416|594|789|893|973)))|6(0(0793|1(050|9(12|76))|20(1[469]|2[035]|3[235-9])|3(343|797)|4972|6(269|329))|27(252|568)|4(1377|2395)|7(4(3(2[46]|46|5[78]|68|73|8[56])|4(00|1[09]|28|47|5[3-8]|6[0-79]|7|8[018])|5(0[13-69]|1[789]|2[389]|3[58]|4[36]|5[02-59]|6[17]|74|8[24]|9[148])|6(02|17|2[14]|4[45]|6[3-7]|8[0167]|9[03])|7(0[569]|1[1279]|20|3[027]|46|5[1248]|64|7[124]|8[1-49]|92)|85[367])|6(067|4(7[05]|81)|51[127]|6(37|76)|8(14|98))|7(0[57]5|451|15208[34])|9(1(29|0288)|03875|835([047][369]|[15][258]|[2369][147]|8[58]))|03(081|505)|10882))| 2226690)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"rupay",pattern:/^(345678|50(2(801|951)|4019|5419|8([5-8]|9([0-689]|7[0-79])))|6(0(5067|6(1(0[02-5789]|1[0-35-9]|2[013789]|3[0-8]|4[0-36-9]|[589]|6[01245789]|7[013-8])|2(0[1-8]|[14]|2[0-35679]|3[0124579]|5[013-689]|6[124-8]|7[0-35-9]|8[13689]|9[0-4678])|3(0[0-46-9]|1|2[0234678]|3[01248]|4[0-7]|5[0-689]|6[0236-9]|7[135-8]|8[0-378]|9[0-36-9])|4(0[0235-9]|1[1-9]|[279]|3[0-5789]|4[0236-9]|5[13-689]|6[0-8]|8[0-35-9])|5|6([0-5789]|6[0-689])|7([02-9]|1[02-9])|8(0[02-9]|[13-9]|2[0-689])|9(0[0124-9]|1[0-5789]|[25-9]|3[0235789]|4[1-9]))|7|8([0-589]|6([0-8]|9[0-79])|7([02-9]|1[1-9])))|27387|5(2(1([5689]|7[013-9])|2([01345]|2[0135-9]|6[0124568]|7[3689]|8[1-68]|9[2459])|3(0|1[0-7]|2[0369]|3[1-4])|400|5(0[0-8]|1[0-4]|2[012]|50)|8(5[0-689]|6[0-7]|7[0234789]|8[3-9]|9[0134578])|9(0[025-9]|1[056]))|300[1-4]|5281)|95047)|8(1(7[2-9]|[89])|20[01])|999999)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",pattern:/^(6(0(1(382|428)|29(07|69)|3(265|367|6(01|94)|708)|4823|60(45|52)|9120)|14944|2(0(0(0[39]|1[0135679]|2[14-9]|3[0135789]|4[01368]|5[0-689]|6[0-478]|7[023679]|8[125-9]|9[01346])|1(0[135-8]|1[048]|2[013-69]|3[124689]|[49][0-46-9]|5[0235689]|6[0-689]|75|8[013-7])|2(0[02-9]|1[01348]|2[013-689]|3[0-69]|4[24-9]|5[0134679]|6[2-8]|7[13-9]|80)|3[04]2|4(0[2-9]|1[012]|27)|5(0[0-3]|1[2-9]|2[012789]|3[0-3578]|5[0129]|6[12])|6(0[2479]|1[126-9]|[23]0)|7(0[46-9]|1[0-4])|8([01]2|26)|9(0[245]|38))|1(0(0[0-68]|[1367]|2[013-9]|4[0-59]|5[0-35-9]|8[0-46-9]|9[0124-9])|1(0[023567]|32)|2([024-79]|1[0-35-9]|3[0-5789]|8[0-8])|3([0346-9]|1[013-7]|2[4-8]|5[0-69])|4(0[0-8]|[1689]|2[0238]|3[346-9]|4[0-35-9]|5[235-9]|7[0256])|5(0[02]|1[15-9]|2|3[0-46-9]|5[012789]|6[0-3689]|7[789]|8[02589]|9[01289])|6([0156]|2[0-8]|3[0135-9]|4[0125789]|7[0-689]|8[0-5789]|9[0-79])|7(0[01]|19|2[0-8]|[3-9])|8(0[47]|1[347]|4[012]|7[2-79]|90)|9(0[013-9]|1[0-5]|7[79]|80))|2(0(03|21)|1(0[02-5]|2[6-9]|[3-9])|[2-9])|3([0-356]|4([0124-9]|3[02-9])|7([0-8]|9[0-689])|80[03]|90[01])|[456]|7(0(0[26]|2[05-8]|4[0-3]|6|7[02-8])|1(0[04]|1[01]|92)|2(0[09]|3[02]|[46]4)|3(2[89]|48|53|69)|4([07]1|80)|5(17|33)|6(45|52|6[68]|79|81)|8([01]5|51|62|79|94)|9(23|69))|8(0(0[09]|3[48]|7[256]|83|9[23])|1(06|15|79|[89]0)|[2-8]|99[2-8])|9(0([34]0|95)|1(0[0-3]|[15][0-8]|2[89]|3[0-35689]|4[0-4789]|[67][1-9]|80)|2(1[0124-9]|2|3[036-9]|4[0124789]|5[1-6]|6[0129]|7[1-5789]|8[13-9]|9[0156])|43[36]|8([48]6|64)|9(49|7[45])))|3(0042|2062|4910|5359|6(09[345]|189)|7000|9(339|578))|6(4910|5378)|8(5800|8659)|9075)|81([0-6]|7[01])|9(0(0(00[03]|[12]05|30)|592|9810)|111|2(0000|100[012]|2220)|400(0[1368]|1[03568]|2[0-35789]|3[0145789]|4[0-46-9]|5[013-8]|6[1235689]|7[2-6])|55(100|5(5|9[0-3])|8|9[5-9])|6(6666|880[789])|8(430[0-3]|5262)|9(0(027|871)|880[012])))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!1},{type:"visa",pattern:/^(4(0([02-9]|1([02-9]|1([0-689]|7[0-7])))|[14689]|2(0([012679]|3([0-46-9]|5[0-35-9])|4(0[0-489]|1[13-79]|2[0-35679]|3[012469]|4[01346-9]|5[0-35-9]|6[02378]|7[0236-9]|[89])|5([0-5789]|6[02-9])|8(0[0-46-9]|1[13489]|2[25]|3[015-9]|4[0-689]|5[0-35-9]|6[0-8]|[79]|8[03-79]))|[1-9])|3([02-79]|1([013-9]|2([0-689]|7[0-35-9]))|8([0-8]|9([0124-9]|3[0-46-9])))|5([02-689]|1([0-35-9]|4([02-9]|1[0-5789]))|7([0245789]|3([0-8]|9[0124-9])|6([0124-9]|3[03-9])|1(0(0(4[0-8]|5[123679])|1(0[1-9]|[16][013-9]|[237]|4[0-689]|5[0124-9]|8[0-7]|9[0148])|3(0[136-9]|1[124-79]|2[012789]|3[36-9]|4[0-7]|5[24]|7[389]|8[58]|9[023])|4(0[04]|3[45]|[48]0|54|6[5-9]|7[0134])|5(1[6-9]|2[0-6]|3[34579]|4[0-5]|5[0-7]|66|7[03579]|8[026])|6(0[1-578]|12|3[17]|4[46-9]|5[013-9]|6[0-3]|7[02-9]|8|9[0-467])|7(0[4568]|1[0-3]|35|4[05]|5[05-9]|6[267]|7[03-9]|8[4578]|9[018])|8(0[289]|1[0-579]|2[135-8]|3[14-9]|4[0-47]|5[0-5]|6[0-5789]|7[0-378]|[89]))|1(2(0[2-7]|25)|3(0[789]|1[05-9]|2[0-689]|3[1235]|4[0-5789]|5[0235]|6[024])|4(0[0-7]|18|2[0-689]|3[02346-9]|71)|5([16]9|35|51)|6(71|8|93)|7(0[1-9]|1[014-8]|2[6-9]|3[02589]|4[02]|5[345])|9(0[0-589]|[13467]|2[02-9]|5[01345789]|8[0124-79]|9[1235-8]))|5(1(00|4[1-68])|29[0-35]|3(0[1-46-9]|[1-9])|4(00|[47]|9[0-79])|5(0[1-9]|1[02-68]|2[013-69]|3[0-5789]|4[0-35-8]|5[0-35689]|6[2378]|7[02458]|8[0-68]|9[124-8])|6(0[0135-9]|1[0-356]|2[0-579]|3[0-57]|4[0-3578]|5[0135689]|6[013-7]|7[014578]|8[0236]|9[045789])|7(0[024-7]|1[014-79]|2[0236]|3[0235689]|4[02349]|5[0-3]|6[02348]|7[2-59]|8[0157]|9[01])|8(0[013478]|1[0-359]|2[012567]|3[45]|44|[57][05]|6[02347]|8[012]|90)|9(0[08]|1[0-35-9]|2[0249]|3[024589]|4[124578]|5[0-5789]|6[01679]|7[014-79]|8[02-9]|9[013-9]))|6(0(04|11|60|7[05]|85)|1(0[045]|1[0246]|2[14589]|[45]0|8[012567]|9[0-4])|2(20|3[02-8]|6[0128])|4(60|71|8[2-9]|9)|5(0[03-9]|1[0-6]|2[05])|6(1[012]|2[0-3]|8|9[0-5])|7(3[5-9]|4[389]|71)|8([156]|2[0-6]|4[0578]|80))|7(0(1[568]|3[0124-9]|4[01356]|5[0159])|1(1[0678]|2[013-8]|[37]|40|6[01]|8[1-8])|2([237]0|4[0-578]|[56][0-8])|3(0[0159]|[16]|2[01]|7[01259]|8[0-35]|9[12369])|4(0[0-3567]|1[013-9]|2[0-38]|3[246]|[45]|61|7[01])|5(00|3[015]|4[013567]|5[456]|6[0-7]|7[0-5]|9[0-35-9])|6([05][0-8]|[123]|4[0-46-9]|60|7[09]|8[014-8])|7(0[0-58]|1[0-8]|2[4569]|3[02-9]|4[079]|5[014]|8[089]|90)|8([069]0|1[01]|2[029]|3[013-7]|4[0-69]|5[1-4678])|9(1[015]|2[0125]|3[0-3]|5[1-7]|7[01]|8[012]|90))|8(0(1[0-3]|20|6[013568]|7[125679]|9[0159])|1(1[03479]|2|3[0-39]|4[0-35-9])|2(0[5-9]|1[0-5]|2[0234])|4(01|1[189]|[29]|[36][01]|8[0-79]))|9(0(0[1246-9]|1[01256]|2[489]|3[357]|4[0469]|5[046]|6[0167]|7[05-8]|8[136-9]|90)|1(0[0126-9]|1[012489]|2[014789]|3[35]|56|6[0-4]|7[34]|81|9[06])|2(0[0236]|1[0135789]|[23][13567]|4[0-6]|5[1245689]|6[014568]|7[24578]|8[023469]|9[4679])|3(0[1246-9]|1[012489]|2[134689]|3[0-7]|4[0235-9]|5[479]|6[03567]|7[0468]|8[013578]|95)|4(0[27]|1[0267]|2[0-8]|3[36]|44)|5([024]1|5[179]|6[018]|7[03]|8[5789]|9[0358])|6(0[024-9]|1[0-579]|2[0-59]|3[0-578]|4[1-489]|66|70|8[2467]|9[0245])|7([16]2|3[13-9]|4[0-3]|97)|8(0[5679]|1[1-5789]|2[3478]|3[89]|44|5[13459]|6[05]|7[02347]|[89])|9(4[02]|60)))))|7([02-9]|1(0(0[15]|1[13569]|2[35-9]|3[2679]|42|5[058]|6[18]|7[39]|83|9[056])|[1-9])))|50(01940|78(0(3([0-3]|4[02-9]|50)|8([345789]|6[013-9]))|10[012]))|60(1859([0-79]|8([78]|9[0-8]))|4594([0-69]|7(0|1[0-8]))))/,format:defaultFormat,length:[13,14,15,16],cvcLength:[3],luhn:!0},{type:"argencard",pattern:/^(501105)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"cabal",pattern:/^((627170)|(589657)|(603522)|(604((20[1-9])|(2[1-9][0-9])|(3[0-9]{2})|(400))))/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"naranja",pattern:/^(589562)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"cencosud",pattern:/^(603493)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"nativa",pattern:/^((520053)|(546553)|(554472)|(531847)|(527601))/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"mir",pattern:/^(220[1-499])|(671182)|(677384)/,format:defaultFormat,length:[17,18,19],cvcLength:[3],luhn:!0}],elements=[],cardFromNumber=function(num){var card,_i,_len;
+!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.card=e()}}(function(){return function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a="function"==typeof require&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}for(var i="function"==typeof require&&require,o=0;o=0},is.bool=is["boolean"]=function(value){return"[object Boolean]"===toStr.call(value)},is["false"]=function(value){return is.bool(value)&&Boolean(Number(value))===!1},is["true"]=function(value){return is.bool(value)&&Boolean(Number(value))===!0},is.date=function(value){return"[object Date]"===toStr.call(value)},is.date.valid=function(value){return is.date(value)&&!isNaN(Number(value))},is.element=function(value){return void 0!==value&&"undefined"!=typeof HTMLElement&&value instanceof HTMLElement&&1===value.nodeType},is.error=function(value){return"[object Error]"===toStr.call(value)},is.fn=is["function"]=function(value){var isAlert="undefined"!=typeof window&&value===window.alert;if(isAlert)return!0;var str=toStr.call(value);return"[object Function]"===str||"[object GeneratorFunction]"===str||"[object AsyncFunction]"===str},is.number=function(value){return"[object Number]"===toStr.call(value)},is.infinite=function(value){return 1/0===value||value===-1/0},is.decimal=function(value){return is.number(value)&&!isActualNaN(value)&&!is.infinite(value)&&value%1!==0},is.divisibleBy=function(value,n){var isDividendInfinite=is.infinite(value),isDivisorInfinite=is.infinite(n),isNonZeroNumber=is.number(value)&&!isActualNaN(value)&&is.number(n)&&!isActualNaN(n)&&0!==n;return isDividendInfinite||isDivisorInfinite||isNonZeroNumber&&value%n===0},is.integer=is["int"]=function(value){return is.number(value)&&!isActualNaN(value)&&value%1===0},is.maximum=function(value,others){if(isActualNaN(value))throw new TypeError("NaN is not a valid value");if(!is.arraylike(others))throw new TypeError("second argument must be array-like");for(var len=others.length;--len>=0;)if(value=0;)if(value>others[len])return!1;return!0},is.nan=function(value){return!is.number(value)||value!==value},is.even=function(value){return is.infinite(value)||is.number(value)&&value===value&&value%2===0},is.odd=function(value){return is.infinite(value)||is.number(value)&&value===value&&value%2!==0},is.ge=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&value>=other},is.gt=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&value>other},is.le=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&other>=value},is.lt=function(value,other){if(isActualNaN(value)||isActualNaN(other))throw new TypeError("NaN is not a valid value");return!is.infinite(value)&&!is.infinite(other)&&other>value},is.within=function(value,start,finish){if(isActualNaN(value)||isActualNaN(start)||isActualNaN(finish))throw new TypeError("NaN is not a valid value");if(!is.number(value)||!is.number(start)||!is.number(finish))throw new TypeError("all arguments must be numbers");var isAnyInfinite=is.infinite(value)||is.infinite(start)||is.infinite(finish);return isAnyInfinite||value>=start&&finish>=value},is.object=function(value){return"[object Object]"===toStr.call(value)},is.primitive=function(value){return value&&("object"==typeof value||is.object(value)||is.fn(value)||is.array(value))?!1:!0},is.hash=function(value){return is.object(value)&&value.constructor===Object&&!value.nodeType&&!value.setInterval},is.regexp=function(value){return"[object RegExp]"===toStr.call(value)},is.string=function(value){return"[object String]"===toStr.call(value)},is.base64=function(value){return is.string(value)&&(!value.length||base64Regex.test(value))},is.hex=function(value){return is.string(value)&&(!value.length||hexRegex.test(value))},is.symbol=function(value){return"function"==typeof Symbol&&"[object Symbol]"===toStr.call(value)&&"symbol"==typeof symbolValueOf.call(value)},is.bigint=function(value){return"function"==typeof BigInt&&"[object BigInt]"===toStr.call(value)&&"bigint"==typeof bigIntValueOf.call(value)},module.exports=is},{}],4:[function(_dereq_,module){"use strict";module.exports=_dereq_("./lib/extend")},{"./lib/extend":5}],5:[function(_dereq_,module){"use strict";function extend(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=!1;for("boolean"==typeof target&&(deep=target,target=arguments[1]||{},i=2),"object"==typeof target||is.fn(target)||(target={});length>i;i++)if(options=arguments[i],null!=options){"string"==typeof options&&(options=options.split(""));for(name in options)src=getProperty(target,name),copy=getProperty(options,name),target!==copy&&(deep&©&&(is.hash(copy)||(copyIsArray=is.array(copy)))?(copyIsArray?(copyIsArray=!1,clone=src&&is.array(src)?src:[]):clone=src&&is.hash(src)?src:{},setProperty(target,name,extend(deep,clone,copy))):"undefined"!=typeof copy&&setProperty(target,name,copy))}return target}var is=_dereq_("is"),has=_dereq_("has"),defineProperty=Object.defineProperty,gOPD=Object.getOwnPropertyDescriptor,setProperty=function(target,name,value){defineProperty&&"__proto__"===name?defineProperty(target,name,{enumerable:!0,configurable:!0,value:value,writable:!0}):target[name]=value},getProperty=function(obj,name){if("__proto__"===name){if(!has(obj,name))return void 0;if(gOPD)return gOPD(obj,name).value}return obj[name]};extend.version="1.1.7",module.exports=extend},{has:2,is:3}],6:[function(_dereq_,module){module.exports=_dereq_("cssify")},{cssify:1}],7:[function(_dereq_,module){(function(global){var Card,QJ,extend,payment;_dereq_("../scss/card.scss"),QJ=_dereq_("./qj/src/qj.coffee"),payment=_dereq_("./payment/src/payment.coffee"),extend=_dereq_("node.extend"),Card=function(){function Card(opts){return this.options=extend(!0,this.defaults,opts),this.options.form?(this.$el=QJ(this.options.form),this.options.container?(this.$container=QJ(this.options.container),this.render(),this.attachHandlers(),void this.handleInitialValues()):void console.log("Please provide a container")):void console.log("Please provide a form")}var bindVal;return Card.prototype.cardTemplate='
{{cvc}}
{{number}}
{{name}}
{{expiry}}
',Card.prototype.template=function(tpl,data){return tpl.replace(/\{\{(.*?)\}\}/g,function(match,key){return data[key]})},Card.prototype.cardTypes=["jp-card-amex","jp-card-dankort","jp-card-dinersclub","jp-card-discover","jp-card-jcb","jp-card-maestro","jp-card-mastercard","jp-card-rupay","jp-card-unionpay","jp-card-visa","jp-card-argencard","jp-card-cabal","jp-card-cencosud","jp-card-naranja","jp-card-nativa","jp-card-mir"],Card.prototype.defaults={formatting:!0,cleanSpacesOnSubmit:!0,formSelectors:{numberInput:'input[name="number"]',expiryInput:'input[name="expiry"]',cvcInput:'input[name="cvc"]',nameInput:'input[name="name"]'},cardSelectors:{cardContainer:".jp-card-container",card:".jp-card",numberDisplay:".jp-card-number",expiryDisplay:".jp-card-expiry",cvcDisplay:".jp-card-cvc",nameDisplay:".jp-card-name"},messages:{validDate:"valid\nthru",monthYear:"month/year",legalText:"This card has been issued by Jesse Pollak and is licensed for anyone to use anywhere for free.AIt comes with no warranty.A For support issues, please visit: github.com/jessepollak/card."},values:{number:"•••• •••• •••• ••••",cvc:"•••",expiry:"••/••",name:"Full Name"},classes:{valid:"jp-card-valid",invalid:"jp-card-invalid"},debug:!1},Card.prototype.render=function(){var $cardContainer,baseWidth,name,obj,selector,self,ua,_ref,_ref1;QJ.append(this.$container,this.template(this.cardTemplate,extend({},this.options.messages,this.options.values))),_ref=this.options.cardSelectors;for(name in _ref)selector=_ref[name],this["$"+name]=QJ.find(this.$container,selector);_ref1=this.options.formSelectors;for(name in _ref1)selector=_ref1[name],selector=this.options[name]?this.options[name]:selector,obj=QJ.find(this.$el,selector),!obj.length&&this.options.debug&&console.error("Card can't find a "+name+" in your form."),this["$"+name]=obj;return this.options.formatting&&(Payment.formatCardNumber(this.$numberInput),Payment.formatCardCVC(this.$cvcInput),1===this.$expiryInput.length&&Payment.formatCardExpiry(this.$expiryInput)),this.options.width&&($cardContainer=QJ(this.options.cardSelectors.cardContainer)[0],baseWidth=parseInt($cardContainer.clientWidth),"WebkitAppearance"in document.documentElement.style?$cardContainer.style.zoom=""+this.options.width/baseWidth:$cardContainer.style.transform="scale("+this.options.width/baseWidth+")"),this.options.cleanSpacesOnSubmit&&(self=this,QJ.on(this.$el,"submit",function(){var inputEl,target,_i,_len,_ref2;for(_ref2=self.$numberInput,_i=0,_len=_ref2.length;_len>_i;_i++)inputEl=_ref2[_i],target=inputEl;return QJ.val(target,QJ.val(target).replace(/\s/g,""))})),("undefined"!=typeof navigator&&null!==navigator?navigator.userAgent:void 0)&&(ua=navigator.userAgent.toLowerCase(),-1!==ua.indexOf("safari")&&-1===ua.indexOf("chrome")&&QJ.addClass(this.$card,"jp-card-safari"),-1!==ua.indexOf("chrome")&&QJ.addClass(this.$card,"jp-card-chrome"),-1!==ua.indexOf("firefox")&&QJ.addClass(this.$card,"jp-card-firefox")),/MSIE 10\./i.test(navigator.userAgent)&&QJ.addClass(this.$card,"jp-card-ie-10"),/rv:11.0/i.test(navigator.userAgent)?QJ.addClass(this.$card,"jp-card-ie-11"):void 0},Card.prototype.attachHandlers=function(){var expiryFilters;return bindVal(this.$numberInput,this.$numberDisplay,{fill:!1,filters:[this.validToggler("cardNumber"),this.maskCardNumber]}),QJ.on(this.$numberInput,"payment.cardType",this.handle("setCardType")),expiryFilters=[function(val){return val.replace(/(\s+)/g,"")},this.formatExpiryDoubleDigit],1===this.$expiryInput.length&&expiryFilters.push(this.validToggler("cardExpiry")),bindVal(this.$expiryInput,this.$expiryDisplay,{join:function(text){return 2===text[0].length||text[1]?"/":""},filters:expiryFilters}),bindVal(this.$cvcInput,this.$cvcDisplay,{filters:[this.validToggler("cardCVC"),this.maskCardCvc]}),QJ.on(this.$cvcInput,"focus",this.handle("flipCard")),QJ.on(this.$cvcInput,"blur",this.handle("unflipCard")),bindVal(this.$nameInput,this.$nameDisplay,{fill:!1,filters:this.validToggler("cardHolderName"),join:" "})},Card.prototype.handleInitialValues=function(){return setTimeout(function(_this){return function(){var el,elList,name,selector,_ref,_results;_ref=_this.options.formSelectors,_results=[];for(name in _ref)selector=_ref[name],elList=QJ.find(_this.$el,_this.options[name]?_this.options[name]:selector),_results.push(function(){var _i,_len,_results1;for(_results1=[],_i=0,_len=elList.length;_len>_i;_i++)el=elList[_i],QJ.val(el)&&_results1.push(QJ.trigger(el,"keyup"));return _results1}());return _results}}(this))},Card.prototype.handle=function(fn){return function(_this){return function(e){var args;return args=Array.prototype.slice.call(arguments),args.unshift(e.target),_this.handlers[fn].apply(_this,args)}}(this)},Card.prototype.validToggler=function(validatorName){var isValid;return"cardExpiry"===validatorName?isValid=function(val){var objVal;return objVal=Payment.fns.cardExpiryVal(val),Payment.fns.validateCardExpiry(objVal.month,objVal.year)}:"cardCVC"===validatorName?isValid=function(val){return Payment.fns.validateCardCVC(val,this.cardType)}:"cardNumber"===validatorName?isValid=function(val){return Payment.fns.validateCardNumber(val)}:"cardHolderName"===validatorName&&(isValid=function(val){return""!==val}),function(_this){return function(val,$in,$out){var result;return result=isValid(val),_this.toggleValidClass($in,result),_this.toggleValidClass($out,result),val}}(this)},Card.prototype.toggleValidClass=function(el,test){return QJ.toggleClass(el,this.options.classes.valid,test),QJ.toggleClass(el,this.options.classes.invalid,!test)},Card.prototype.formatExpiryDoubleDigit=function(val){var month,year,_ref;return _ref=val.split("/"),month=_ref[0],year=_ref[1],month&&year&&(month.length>2&&(month=month.slice(0,2)),year.length>2&&(year=year.slice(-2)),val=[month,year].join("/")),val},Card.prototype.maskCardNumber=function(val){var char,maskedVal,pos,_i,_len;for(maskedVal="",pos=_i=0,_len=val.length;_len>_i;pos=++_i)char=val[pos],maskedVal+=" "!==char&&pos_i;pos=++_i)char=val[pos],maskedVal+="x";return maskedVal},Card.prototype.handlers={setCardType:function($el,e){var cardType;return cardType=e.data,QJ.hasClass(this.$card,cardType)?void 0:(QJ.removeClass(this.$card,"jp-card-unknown"),QJ.removeClass(this.$card,this.cardTypes.join(" ")),QJ.addClass(this.$card,"jp-card-"+cardType),QJ.toggleClass(this.$card,"jp-card-identified","unknown"!==cardType),this.cardType=cardType)},flipCard:function(){return QJ.addClass(this.$card,"jp-card-flipped")},unflipCard:function(){return QJ.removeClass(this.$card,"jp-card-flipped")}},bindVal=function(el,out,opts){var joiner,o,outDefaults;return null==opts&&(opts={}),opts.fill=opts.fill||!1,opts.filters=opts.filters||[],opts.filters instanceof Array||(opts.filters=[opts.filters]),opts.join=opts.join||"","function"!=typeof opts.join&&(joiner=opts.join,opts.join=function(){return joiner}),outDefaults=function(){var _i,_len,_results;if(out){for(_results=[],_i=0,_len=out.length;_len>_i;_i++)o=out[_i],_results.push(o.textContent);return _results}}(),QJ.on(el,"focus",function(){return QJ.addClass(out,"jp-card-focused")}),QJ.on(el,"blur",function(){return QJ.removeClass(out,"jp-card-focused")}),QJ.on(el,"keyup change paste",function(){var elem,filter,i,join,outEl,outVal,val,_i,_j,_len,_len1,_ref,_results;for(val=function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)elem=el[_i],_results.push(QJ.val(elem));return _results}(),join=opts.join(val),val=val.join(join),val===join&&(val=""),_ref=opts.filters,_i=0,_len=_ref.length;_len>_i;_i++)filter=_ref[_i],val=filter(val,el,out);for(_results=[],i=_j=0,_len1=out.length;_len1>_j;i=++_j)outEl=out[i],outVal=opts.fill?val+outDefaults[i].substring(val.length):val||outDefaults[i],_results.push(outEl.textContent=outVal);return _results}),el},Card}(),module.exports=Card,global.Card=Card}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../scss/card.scss":10,"./payment/src/payment.coffee":8,"./qj/src/qj.coffee":9,"node.extend":4}],8:[function(_dereq_,module){(function(global){var PLACEHOLDER_KEY_CODE,Payment,QJ,cardFromNumber,cardFromType,cards,defaultFormat,elements,formatBackCardNumber,formatBackExpiry,formatCardNumber,formatExpiry,formatForwardExpiry,formatForwardSlash,hasTextSelected,luhnCheck,reFormatCardNumber,restrictCVC,restrictCardNumber,restrictExpiry,restrictNumeric,setCardType,__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;l>i;i++)if(i in this&&this[i]===item)return i;return-1};QJ=_dereq_("../../qj/src/qj.coffee"),defaultFormat=/(\d{1,4})/g,PLACEHOLDER_KEY_CODE=229,cards=[{type:"amex",pattern:/^3(379(1[23]|41)|4([0-46-9]|5([0-5789]|6([0-689]|7[0-79])))|7)/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,length:[15],cvcLength:[3,4],luhn:!0},{type:"dankort",pattern:/^5019/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"dinersclub",pattern:/^(3(0(0(0(0[1-9]|[1-9])|[1-9])|[1-5]|95)|1(1183|2525|7380|9597)|2(1564|4556)|[69]|8([0-35-9]|4([02-9]|1([046][1-9]|[1235789]))))|65(0482|8010))/,format:/(\d{1,4})(\d{1,6})?(\d{1,4})?/,length:[14],cvcLength:[3],luhn:!0},{type:"discover",pattern:/^6(011([02349]|11|7[4789]|8[6-9])|4[4-9]|5(0(0(0[0189]|[129]|3[04]|5[3-6]|8[2-9])|1([0-689]|7[1-9])|[238]|4(0[0-4]|[4-7]|8[0134])|5([39]9|4|5[01])|6(0[1-9]|[1-9])|7([013-9]|2[89])|9(00|2[3-79]|3[0-7]|4[0-5]|79|[89]))|1([0-589]|6([0-4]|5[01])|7(0[5-9]|[1-9]))|2([067]|[18][0-4]|224|39|4(19|[2-9])|5(2[6-9]|[346-9]|5[1-9])|9(1[1-48]|5[2-9]|6|9[59]))|3(0(05|[5-9])|[1-9])|4([03-8]|1(0[01245789]|1[03489]|2[1246-9]|3[03-8]|[46-9]|5[1-9])|2(0[01245789]|1[0346-9]|2[1246-9]|3[03-8]|[46-9]|5[1-9])|9(0[2-9]|[1-8]|9[0-689]))|5(0(20|59|[6-9])|[13457]|2([0-79]|8[02-9])|[68](0[01245789]|1[039]|2[1246-9]|3[03-8]|[46-9]|5[1-9])|9([03-9]|1[0-579]|2[1-9]))|[69]|7(0([04-9]|1[0-579]|2[1-9]|3[03-8])|[124-8]|3(0[01245789]|1[039]|2[124689]|3[03-8]|[4789]|5[1-9]|6[0-5789])|9([0-8]|9[0-79]))|8(0([02-9]|1[1-9])|[1-9])))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!0},{type:"jcb",pattern:/^3(0(8[89]|9[0-46-9])|1(0[012]|1[2-9]|20|5[89])|3(3[789]|4)|5(2[89]|3([0-5]|804)|[458]|6([03-79]|16[023]|2([0-8]|9[0-8])|8([0-79]|8[0-79]))|7([02-9]|1([02-9]|1[02-9]))))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!0},{type:"maestro",pattern:/^(2(18441|2(29(09|1[059])|923[789])|30(881|917)|50000)|5(0(0(0(0[589]|14|2[026]|3[236]|4[0138]|5[135-8]|[69][24]|75|8[17])|1(0[35]|1[256]|22|3[89]|48|6[36])|2([08]8|[17]6|25|3[248]|51|94)|3(10|3[03]|44|65|7[1238]|82)|4(01|1[067]|43|52|79|80)|5(02|[39]9|5[89]|68)|6(0[04]|2[789]|30|49|54|[68][58]|7[78]|9[0158])|7(01|1[19]|[27]6|33|4[05]|5[28]|6[12468]|8[0346]|97)|8(0[12]|21|45|5[47])|9(5[37]|94))|1(0(0[012568]|1[0-35689]|2[02-9]|38|4[0124-79]|5[013-9]|6[0-8]|7[0-5]|8[01347]|9[79])|1([02][29]|1[156]|31|4[03]|55|6[069]|7[04])|2(0[15]|12|35|5[48]|6[23]|70|81)|3(0[5679]|[167]9|2[79]|3[37]|4[12])|4(02|[57]7|84)|5([06]0|2[36]|39|95)|6(09|[25][1-59]|3[247]|4[89]|61)|7(49|6[5679]|7[467]|9[359])|8(0[1237]|1[12]|28|3[57]|[46]5|5[1359]|7[6-9]))|2(0(0[01259]|[19]|2[013-69]|3[0-4789]|4[0-35689]|5[1-46-9]|6[0135689]|7[1235]|8[0156])|1(0[0-7]|1[39]|2[012456]|3[0-6]|4[248]|50|6[056]|7[03]|8[128]|9[0259])|2(0[067]|1[12379]|2[59]|3[07]|4[027]|5[0249]|6[0238]|70|8[236]|9[013])|3(0[12]|12|21|39|[58][69]|6[0369]|7[25]|9[1369])|4(0[36]|[13][369]|2[038]|4[489]|53|[69][38]|7[03])|5(0[025]|1[369]|2[358]|3[236]|4[48]|90)|6(2[13]|5[07]|97)|7(0[14]|22|30|6[67]|7[012]|87|94)|8(1[02]|2[2-57]|4[69]|5[01]|8[09])|9(0[01458]|1[125-8]|2[456]|3[0127]|4[12389]|5[3468]|6[369]|7[013568]|8[014-7]|9[0135-9]))|3(0(0[23]|23|3[46]|44|51)|1(0[012]|2[47]|31|4[014]|6[238]|7[158]|8[34])|2(0[0-356]|2[23]|3[45]|47|64|93)|3(0[39]|37|48|[57][59]|63|8[69]|9[378])|4(0[0689]|1[038]|20|4[1349]|5[26]|8[27]|93)|5(0[039]|1[23]|26|55|63|7[2459]|8[3-69]|9[259])|6(0[013689]|1[0356]|2[169]|3[04]|4[56]|70|8[1489]|9[79])|7(00|[13]4|55|8[59]|93)|8(0[158]|37|4[79]|5[37]|[67]1|8[1456])|9(0[56]|4[68]|60))|4(0(05|[23]2|40|[56])|1(0[014]|40|5[2578]|6[168]|7[02]|8[279]|94)|2(0[08]|[14]1|2[01]|55|6[056])|3(0[013]|1[01379]|2[234]|3[1689]|4[27]|58|6[37]|[79]4|8[47])|4(0[15]|1[039]|23|3[023579]|5[468]|6[058]|87|9[23])|5(0[146]|11|26|3[369]|4[069]|5[29]|6[23]|7[46]|9[05])|6(1[138]|2[078]|39|4[259]|5[46]|6[18]|78|8[15]|9[67])|7(0[68]|1[46]|2[01]|38|41|5[1235]|66|7[125]|8[145]|9[35])|8(0[89]|1[57]|20|34|[46]8|5[03]|7[178]|8[249]|9[79])|9(17|24|3[17]|46|93))|5(0(0[79]|1[28]|74)|1(05|2[01]|4[46])|2(0[014]|[129]1|44|5[02]|63|72|85)|3([04]3|5[34])|4(09|2[279]|33|4[18]|52|88|90)|5(0[06]|1[23]|23|35|5[02]|9[09])|6(1[36]|2[456]|4[3789]|5[05]|78)|7([04]6|51|77|8[05]|9[13])|8(0[04]|1[26]|2[567]|[36]2|5[057]|74|88)|9(00|41|[79]8|8[79]))|6(0(0[0135]|95)|2(0[058]|1[03]|3[0269]|4[012])|3(0[4578]|38)|4(54|82)|5(00|1[24]|43|65)|6(06|[15][25]|[28]3|30|6[189])|8([09]4|49)|9(08|11|[36][58]|82|97))|7(0(0[1249]|1[056]|25|4[0169]|62|74|8[29]|9[012])|10[09]|2(11|7[02]|93)|3(02|24|40|57|96)|4(0[01]|5[07]|63|7[39]|9[78])|5(0[25]|35|8[12]|97)|6(0[045]|2[39]|42)|753|8(00|46|5[017]|61)|993)|8(0([02]1|[34]6|52|98)|1(0[023]|1[134]|2[24-79]|4[0459]|5[059]|60|88|9[04])|2(0[27]|2[67]|3[3467]|4[13-8]|50|9[34])|327|4([08]6|18|[25]0|4[69]|73|91)))|2(4551|7312|9795)|39145|5(0016|4592|8562)|6(0(0(0[01]|1[04-7]|[26]5|4[25]|54|76)|1(01|14|27|[37]0|4[469]|[589]2|6[26])|2(01|2[0-46]|3[0124]|5[1-9]|6[578]|7[478]|80|9[189])|3(0[3459]|11|2[17]|3[0129]|7[2347]|8[07]|9[036])|4(0[058]|1[012]|23|70)|5(10|24|4[08]|65|76)|6(2[58]|34|[57]7|63)|7([01][69]|2[02-589]|3[13578]|40|51|65|89)|8(01|29|5[156]|8[26])|9(00|8[0379]|98))|1(0(0[023]|1[01]|2[07]|33|4[26]|5[46-9]|66|70)|1(11|24|98)|2(0[0246]|1[02-57]|2[0124579]|[39][013-9]|4[0-578]|5[02-9]|6[0135-9]|7[12789]|8[1-4789])|3(2[0369]|3[2458]|4[2358]|5[256])|4(09|[23]2|[48]8|5[25]|64)|5(16|25|[34]0)|6(02|1[35]|57|60|81)|7(18|57|8[1356])|890|9([26]3|45))|2(0(01|14|49|9[39])|1(39|97)|2(0[28]|25|[68]3)|3(00|24|33|47|5[46]|78)|4(33|69)|5([17]0|34|48)|6(01|66|87|98)|7(07|26)|8(37|44|70|9[68])|9(6[45]|7[04]))|3(0(0[68]|14|37|51|8[15])|1([05]0|[12][04])|2([04]5|1[02]|89)|3([05]8|2[17])|4(04|1[04]|22|75)|5(1[38]|35|4[367]|57|60|7[45])|6(4[145]|[57]2|6[56]|81)|7(01|38|47|74)|8(05|[24][23]|[59]7|86)|9(16|7[35]|98))|4(0(05|18|2[23]|7[37]|97)|1(0[124568]|1[1469]|2[05]|3[0157]|4[178]|55|6[0279]|8[02457]|9[234])|2(1[23]|22|4[68]|54|61|8[07]|95)|3(07|2[234]|4[057]|5[27]|78|8[05]|9[47])|4(00|1[19]|2[156]|32|47|6[04]|76|85)|5([12]9|[36][34]|4[07]|[58]6|7[78]|98)|6(00|16|21|4[56]|5[145]|64|78|8[04]|99)|7(12|[25]7|38|6[56]|8[79]|93)|8(0[79]|2[27]|4[56]|5[38]|72|88|94)|9(0[01]|[12]0|4[23]|75|8[356]|96))|5(001|1[05]1|2([02][47]|[17]8|6[24])|3(2[15]|4[05]|54)|4(3[24]|4[45]|5[57]|6[158]|78|87)|5(4[69]|56|6[678]|82)|6(0[06]|16|[29]5|43|5[346-9]|6[35]|7[69]|8[27])|7(13|68|9[23])|8(43|5[489]|6[01]|78|85|96)|9([02][12]|[38]5|4[234]|50))|6(061|1(02|2[05]|31|50|6[0156]|74)|2(1[48]|[26]0|7[89]|8[01]|97)|3(0[89]|47|75|8[368])|4(1[34]|5[0148]|68)|5(40|57|64)|6(0[47]|5[57]|77)|7(01|26|34|69|7[489])|8(10|37|[69]8)|9(14|38|40|73|89))|7(0(00|11|29|4[07]|62|97)|1([17]2|83)|2(03|28|65)|3(27|[46]0|59|8[67])|4(3[4689]|49|53|97)|5(64|76|[89]7)|6(2[48]|34|49|5[0136])|7(3[0134]|49|88|93)|8([08][09]|[12]1|39|5[02]|98)|9(14|28|35|5[026]|70|68979))|8(0(5[03]|96)|1(28|4[59]|72)|2(17|28)|3(09|[25]7)|4(25|[57]9|62|9[89])|5(3[25]|44|66)|6(35|6[06]|70|8[39])|7(00|12|4[125]|5[56]|85|99)|8(30|56|62|8[27])|9(0[03]|1[24]|25|32|4[18]|5[2468]|6[57]|7[14]|87|99))|9(0([07]0|29|3[05])|110|2([09]7|32|5[46]|65)|3(1[29]|21|5[26]|65)|4(69|78)|5(10|99)|6(06|1[246]|47|55)|7(10|[24]5)|8(1[58]|2[35]|3[02]|4[57]|5[2456]|7[248]|8[59]|99)|9(16|20|3[48]|9[04])))|7(0(0(0[1-49]|1[126]|2[158]|3[13]|42|6[26]|86)|1([0179]0|2[359]|[38][02]|4[15]|55)|2(12|3[46]|43|55|87)|3(1[13]|22|7[3-6]|88|94)|4(02|[12]3|4[25]|5[38]|60|77|8[16]|98)|5(19|[24]5|86|98)|67[03]|7(0[01]|1[124]|2[03]|46|58)|8(65|74|88)|9([014]7|82))|1(0([14]0|37|81)|1([05]0|[13]4|42|67|7[56])|2(0[01]|1[06]|3[13]|61)|3(06|1[2356]|3[46]|53|92)|4(07|32|4[04]|5[69])|5(0[15]|1[23]|27|42|6[35]|[89]1)|6(15|90)|7([02]2|[56]0)|8(1[03]|37|5[29]|71|84|90)|9(04|3[01]|6[89]|73))|2(0(22|3[48])|1(36|88|9[06])|2([056]1|26|84)|3([08]9|10|25|[35]2|46)|4(0[269]|10|89|9[67])|5(1[15]|42)|6([04]2|10|2[56])|7([347]4|87)|8(1[579]|[23]8|69)|9(37|4[34]|68))|3(0(0[03]|24|3[79]|67|[89]9)|1(01|49|[69]2|83)|2(17|7[18]|83)|3(30|73|88)|4(29|4[38]|58|60|9[057])|5([0457]0|1[03]|36|93)|6([01]5|77|8[49])|7(0[26]|39|42|7[013]|85)|8(22|[37]7|6[03])|9(05|[45]1))|4(0(01|29|50|85)|1(0[08]|28|31|4[36]|53|65|72)|2([02]6|1[127]|34|5[07]|6[36])|3(24|32|4[37]|5[47])|4([14]1|6[48]|7[02-58]|89|9[17])|564|6(25|72)|7(1[45]|[39]1|40)|8(4[38]|50|8[57]|9[48])|9([023]3|57))|5(0(0[013]|39|80)|1(05|1[2367]|2[89]|3[01]|41|84)|2(4[35]|8[07])|30[028]|4([27]7|3[58]|49|5[036]|88)|5(00|7[678])|6(32|63|7[02568]|9[05])|7(03|12|30|51|7[01]|97)|8(09|[35]6|4[39])|9(05|12|2[03]|4[04]|57|6[478]|73))|6(0(02|1[89]|7[68]|9[047])|1(24|35|9[68])|2(0[15]|1[17]|20|3[02]|4[38]|58|83)|3(19|6[14]|74|8[25]|96)|4(09|16|3[67]|4[69]|51|62|7[019]|85)|5(07|4[369]|54|65|88)|6([17]6|24|4[05]|67|82)|7([08]9|2[25]|4[23])|8(27|4[37]|75|80|9[04])|9(04|2[15]|45|52|87))|7(0(21|42|69)|1(0[01]|29|[37]6|48|54|97)|2[58]1|349|4(12|38|4[46]|64|96)|5(03|20|88|97)|6(3[28]|68|94)|7(06|[17]0|[35]7|65|83)|8(0[57]|45|54|76|8[14])|920)|8(0(20|43|5[38]|87|96)|1(58|64|8[01])|2(1[24]|34|5[15]|9[49])|3[69]4|4([259]6|34|71)|5(32|41|73)|6(00|[159]4|33|45|62)|7(24|6[157]|88|91)|8(17|34|53|88|9[01])|9(0[01]|2[048]|3[057]|46|6[49]|8[04]|90))|9(0(02|27|[59]5|60|76)|1(00|23|64)|28[48]|3(07|59|9[05])|4([19]4|48|55)|5(25|43|71(460|650|700))|6(20|[36]8|41|8[89])|7(07|2[0346]|30|4[257]|6[2356]|7[02])|8([01]3|21|67|7[68]|8[36]|9[145])|9(03|2[38]|3[24578]|[47][24]|54|6[19]|8[1-8]|9[034579])))|8(0(0(0[12]|1[69]|2[38]|3[014]|5[19]|[67]3|87)|1([0169]0|2[02]|4[89]|5[157])|2([16]0|31|4[014]|72|87|95)|3(02|13|21|34|4[69])|4([15]4|20|4[01]|93)|5(05|12|39|67|83)|6(01|[14]2|2[18]|97)|7(15|46)|8(1[789]|28)|9(04|1[1269]|37|[68]0|72))|1(0(0[35]|1[07]|3[25]|51|60|72|9)|1(00|49|5[17]|63|9[25])|2(18|39|56|7[0147]|93)|3([03]5|14|5[89]|6[35]|79|8[569]|9[169])|4([167]1|25|[34]6|5[045]|93)|5(0[58]|17|[28]3)|6(09|[15]0|2[79]|35|4[25]|7[345]|8[14]|98)|7(0[0235-9]|1[013-689]|2[0-5789]|3[0-35-9]|[48]|5[013-7]|6[123569]|7[02346-9]|9[0-8])|8(0[02-6]|18|2[68]|4[07]|55|67|7[57]|8[09]|90)|9(15|28|77))|2(0(0[01]|13|4[58]|65|77|9[036])|1(0[013]|1[37]|25|34|4[468]|5[02]|6[38]|98)|2(18|27|3[48]|43|82)|3(0[04]|42)|4(50|63|7[39]|85)|5([06]5|2[34]|3[16]|4[48]|[79]0|81)|6(02|3[58]|5[17]|7[48])|7(18|82)|856|9(0[58]|12|2[07]|3[03]|[47]1|5[34]|63))|3(0(04|56|73|8[59])|1(0[34]|[26]4|37|51|95)|2(42|98)|3(02|1[03]|59|63|78|9[17])|4(27|48|52)|5([12]9|5[25]|9[29])|6(30|48|56|65|97)|7(43|56)|8(05|7[47]|83)|9(51|68))|4(0(0[1-7]|1[06])|1(0[18]|[15]1|4[47]|64|80)|2(07|1[146]|2[248]|46|[59]8|6[29]|85)|3(09|2[09]|46)|4(03|14|56)|5([057]3|22|34|9[23])|6(1[23]|2[38]|3[37]|4[69]|60|82)|7(15|57|69)|8(0[27]|3[37]|48|96)|9(06|11|22|60))|5(0(14|50)|1(44|7[68]|8[36])|2(0[048]|1[03]|43|5[36]|6[68]|79|8[01]|9[2478])|3(1[68]|20|51|76|8[28]|9[36])|4(0[09]|1[0259]|2[18]|3[05]|4[2-57]|5[03]|6[67]|7[178]|8[37]|9[0236])|5(0[01249]|1[149]|2[35]|3[48]|40|[59][06]|65|77|8[345])|6(09|2[46]|51|8[03-8]|9[57])|7(05|2[01]|48|5[37])|8([08]0|1[67]|22|3[0137]|47|63)|9(0[1346-9]|1[0234679]|23|3[013567]|4[02789]|5[039]|[68]8))|6(0(03|10|32|49|6[24]|85)|1(0[047]|[14]3|54|8[49])|2(35|42|5[29]|[67]0)|3([16]4|53)|4(02|75)|5(09|[19]8|5[25]|81)|6(14|6[68]|73|8[678]|9[02346])|7(01|14|20|3[59]|53|6[09]|[78]8|92)|8(0[056]|24|52|65|71|96)|9(06|12|2[37]|3[03]|41|5[78]))|7(093|1(11|20)|2([18]8|39|56)|3(09|3[124579]|40|87)|4(0[38]|16|25|5[26]|6|7[012]|83)|5(02|14|45|88)|6(12|[45]4|76)|7([25]2|36|69|70|8[01]|9[89])|8(42|96)|9(0[178]|54|81|93))|8(06[067]|1(06|58|6[567])|2(16|27|6[07]|7[04]|9[25])|3(25|30|5[13])|4(07|14|29|46|55|7[39]|80)|5(02|[48]0|7[06]|97)|6(02|[12]0|39|44|5[267]|65|7[35]|9[18])|7(0[01]|2[08]|3[1-49]|43|71|8[57]|92)|8(03|1[2456]|2[169]|3[026]|4[6-9]|5[01589]|7[19]|8[38]|9[0157])|9(00|1[036]|3[14]|51|6[01789]|75|8[234]|9[128]))|9(0(0[45]|1[489]|2[18]|36|4[48]|68|77|8[2346]|99)|1(0[17]|1[179]|21|36|53|6[1459]|70|98)|2(0[068]|1[013567]|2[1279]|3[01]|4[1-6]|56|6[157]|7[0149]|8[368]|9[2578])|3(0[489]|1[18]|2[15]|[39]9|4[346]|5[01]|6[057]|7[39]|8[278])|4(07|1[2678]|2[589]|3[047]|4[67]|5[2-9]|6[0-35]|7[167]|88|9[12])|5(0[056]|1[34578]|2[4-7]|3[016]|4[28]|5[023]|87|9[04])|6(0[25]|1[123]|2[09]|3[2368]|4[27]|5[1348]|6[15]|7[147]|8[14678]|9[13])|7(0[01369]|1[0139]|2[15-9]|38|4[489]|5[1367]|6[124]|7[69]|8[135-9]|9[0-37])|8(0[0246-9]|1[1-689]|2[0124-79]|3[0-4789]|4[2-9]|5[13457]|6[1-4679]|7[0235-8]|8[45689]|9[1-46-9])|9(0[026-9]|1|2[0135-9]|3[0-46-9]|[45][02-9]|6[0-4679]|7[0-689]|8[6-9]|9[01389])))|9(0([0-689]|7([02-9]|1[13-9]))|1([013-9]|2([0-5789]|6[1-9]))|[2-579]|6([0-689]|7([0-689]|7[02-9]))|8([0-689]|7([0-35-9]|4[0-46-9]))))|6(0(0(0(00|54)|1(02|23|76)|2(0[368]|9[5-9])|3([02457]|1[0-46-9]|3[0-5789]|6[0124-9]|8[0124568])|4(01|[35]2|6[34]|7[29])|5(0[459]|5[59]|98)|6([26]5|[47]8)|7(22|93)|8(1[58]|29|33|52|6[24])|9(0[189]|1[27]|20|33|7[38]|8[19]|9[0-38]))|1(0([07][03]|2[14]|3[09]|47|5[06]|65|8[239]|99)|2(0[12369]|1[0124-9]|2[013-689]|3[02-9]|[46]|5[0-46-9]|7[0-69]|8[1-46-9]|9[1-9])|3(0[19]|14|4[45]|5[46]|6[89]|7[27])|4(0[014]|18|22|35|41|5[12]|93)|5(0[08]|1[89]|3[12]|4[14]|79|8[27]|94)|6([0249]|[17][0-46-9]|3[0-5789]|[58][0-79]|6[0-35-9])|7(0[05]|4[23]|5[09]|82)|8(19|4[02]|8[0147])|9(00|12|76|9[39]))|2(0(0[068]|1[124689]|2[0-8]|3[1-9]|50|67|73)|1(40|88)|319|447|6(48|51|7[68]|95)|792|8(17|71|82)|9(08|[17]0|54|81))|3(0([16]1|54|7[18]|8[03]|9[28])|1(1[12]|2[023578]|[36]4|[49]8|82)|2([09]8|1[346]|32|[45]6|69|83)|3(01|1[126]|2[56]|3[59]|4[02369]|53|78|8[23]|9[5679])|4(0[09]|[258]0|[47]5|92)|5([05]5|2[789]|74|88|9[01])|6(0[023589]|1[34]|28|34|4[49]|50|7[0-4]|8[1349]|9[23])|7([19]7|22|33|41|6[39]|7[08]|88)|8(4[15]|68)|9(13|48|5[19]|60|7[1-9]|8[0124-79]))|4(0(19|33)|[15]|4(0[1-9]|[13-9]|2[01346-9])|6(1[23]|36|4[46]|78)|77[69]|8(0[69]|[19]7|4[12]|52|63)|9(06|[14]8|3[89]|[56]1|7[26]|8[234]))|5(0(0[067]|27|[36]6|75)|230|360|4(21|6[12])|5(29|36|44)|6(23|6[18])|775|8(39|91))|6(0([0-369]|4[0-46-9]|5[013-9]|7[02-9]|8[0-8])|1(14|2[456]|4[45]|6[36]|7[29])|2(0[09]|2[48]|3[368]|5[27]|6[039]|8[045]|99)|3(05|2[19]|3[79]|49|7[24]|8[569]|9[45])|4(01|36|4[45]|52)|667|711|801|931)|9(002|5(68|95)|966))|1(04(11|22)|5009|6788|7435|843)|2(0272|1(409|8[368]0|9(8[46]|9[29]))|2(0(18|[79]2)|1(06|10|22))|3977|7(089|1(01|19|[27]3|6[16])|2(40|5[24]|78)|3(18|47|5[258]|6[46]|99)|4(41|5[346]|6[27]|79)|5([148]2|3[49]|68|74|9[28])|6(09|[39]6|43|6[59]|74)|7(0[1-9]|[179]|2[0-46-9]|3[0-5789]|4[1-5789]|5[02-9]|6[0124-9]|8[1-4789])|8(0[12]|16|69|92)|9(20|59|7[39]|9[25]))|8(0(28|39|47|8[12]|95)|1(10|3[23]|55))|94(4[1-9]|5[0-3]))|3(0(0(00|28)|1(14|21)|[27]22|4(0[0189]|12|4[015]|56|61|7[789]|8|9[0-8])|521|953)|1(0(00|9[02])|240|307|6(81|98)|9(4|82))|2467|3(000|1(10|33|5[18]|6[34]|74)|2(04|19|35|[46]0|9[56])|3[0-4]|4[5-9]|5(13|34|[479]7|5[15]|86)|6([27]5|41|9[58])|7(48|67|7[46]|80|91)|8([125]7|45|7[1268]))|4(0(0[145689]|51)|1(04|79)|207|852)|5(037|482|6(0[18]|18|29|3[49]|50)|903)|6(0([78]8|9[167])|1(01|1[126]|4[16]|6[24]|73)|2(68|87)|3([17]5|2[59]|39|47|9[26])|4(06|4[78])|5([18]7|23|48)|6([02]8|39|8[49]|93)|7(0[48]|36|78)|8(42|6[08])|9(3[79]|57|64))|7(0(43|74)|1([09]2|18|87)|2(17|43)|3(33|6[49])|5(29|56|68)|600|780)|8(101|216|564|685)|9(0(0[012459]|1([025789]|10)|2[014-8]|3([1478]|279)|4[3-9]|5|6[0-8]|7[0-468]|8[35-9]|9([025-9]|10))|1([012]|3[039]|51|6[19]|7[04]|99)|2(07|1[23]|2[169]|[36]1|4[08])|3(00|5[08]|[67]2|9[0-3])|4(0[16]|44|5[07]|66|8[59])|5([08]9|3[13]|55|61|97)|6(07|1[48]|[27]3|4[459]|50|64)|7(6[34]|77|81|90)))|4(0(00[15]|2([24]1|52)|3(45|57)|4(11|75|83)|6(14|71))|1(377|466)|2(0(1[12]|9[78])|1(08|1[09]|73)|2(2[23]|40|58)|3(01|[458]4|62|7[36]|9[159])|4(26|3[03]|45|91)|5(01|14))|3(2(0|12|[67]0|8[01])|632))|6(0(0(0[06]|11|99)|1(00|91)|2(15|94)|383|408|65[01]|7(1[13]|91)|801)|1(010|1([02]0|3[89])|2(32|49|57)|431|6(60|99)|800|938)|2(000|2(02|4[12])|40[57]|637|741|829|972)|3(1(05|5[36])|2(05|54|70)|329|6(39|80)|7(15|26)|834|921)|4(09[06]|260|386|4(63|7[15])|581|662|765)|5(0(12|97)|4(22|67)|5(31|55)|6(48|76)|722|9(42|79|80))|6(0|282|4(00|14|42|96)|554|6([56]5|8[08]|99)|739|887|963)|7(0[05]1|100|2(07|30|95)|305|460|5(12|31)|6(36|45)|7([08]0|39)|8(45|96)|9(25|50|97))|8(020|3(27|45|99)|465|503|668|7(00|61)|830|9(00|5[14]|78))|9(0(0[01]|3[58])|235|494|5[78]2|672|8(69|87)|958))|7(0([0127]|3(0([012458]|9[01])|1[0-589]|2[1-46-9]|3|4[0-7]|5[049]|6[013-7]|7[035789]|8[05789]|9[1567])|4(0[0125]|1[03]|34|96)|5([0146]|[25][013-9]|3[02-9]|7[0-8]|8[1-8]|9[0-46-9])|6([0146]|2[02-9]|3[0-5789]|5[1-9]|7[0-8]|8[14-9]|9[0145689])|8(0[01246-9]|[15]|2[013-9]|3[0124-9]|4[02-79]|6[2-9]|[79][0-7]|8[89])|9(0([01345]|[268]0)|11|44|6[12357]|7[02]|8[1-9]|9[02-9]|500))|1(0|1(0[0-35-9]|[15][013-9]|2[0-46-9]|3[013-8]|4[4-9]|6[0-35679]|7|8[012678]|9[0124579])|2(0[012689]|1[01245789]|20|3[234]|59|[67]8|94)|3(0[0-35-9]|[13-9]|2[0-79])|4(02|96)|5(01|[46]0|83|99)|6(77|8[01])|718|8([0-79]|8([0-35789]|[46]0))|9([68]0|77))|2|3(0(0[0234]|4[127]|52|70|99)|1(0[0-36]|11|23|4[05]|[57]|60|8[01]|92)|2(0[1-689]|1[0-579]|[29]|3[015-9]|4[0-46-9]|5[05-9]|6[0-35]|7[1567]|8[01])|3([0-4]|50|68|7[67]|87)|4(0[0-6]|22|4[48]|50|8[09]|98)|5|6(36|6[07]|7[05]|8[09]|90)|7([014]|20|3[03]|55|7[013]|83)|8(2[26]|63|99)|9(0[0-4]|2[02]|60|[79]9))|4([01257]|3([02-578]|1[0-46-9]|6[02-9]|9[0-79])|4(0[04-9]|[1-8]|9[0-689])|6(0[0-35-9]|1[013-9]|[24-9]|3[02-79])|8(28|3[2-9]|[4-9])|9(10|47|73))|5(0(0[01]|13|27|49|5[08]|70)|1(0[04]|13|30|41)|2(05|20|92)|3(01|32|[89]7)|4([15]4|21|3[28]|67|76|89)|5(49|68|76|92)|6(16|21|[38]3|92)|7([12]4|5[2346-9]|6[012]|76|95)|8(20|31|49|56)|9([0-689]|7([04-9]|[123]0)))|6(0(0[012]|3[68]|47|5[2-9]|6|7[0-8]|8[27])|1(0[0236-9]|1[0124-9]|2[1-79]|3[01]|4[0568]|6[03-9]|7[0-4789]|[89])|2(0[013-9]|1[014-79]|2[1346-9]|3[013467]|4[015-9]|5[0-689]|6[1-5789]|7[0-468]|8[023679]|9[1-9])|3([013]|2([13-79]|80)|4[0-46-9]|5[15-9]|6[0-689]|7[1-46-9]|8[013457]|9([02-9]|10))|4(0[0-35-8]|1[124-9]|2[0-5789]|3[2-8]|[4679]|5[0124569]|8[0124-9])|5(0[1-9]|[12358]|4[0135689]|6[013-9]|7[01245689]|9[0135789])|6(0[146-9]|1[1-589]|[23467]|[58][0-5789]|9[0678])|7|8(0[02-589]|1[0-4689]|[26][0124-9]|3[0-6]|[49]|5[0-35689]|7[024-9]|8[0-689])|9(0[02-9]|[189]|2[1236-9]|3[02346-9]|4[1235-9]|5[0-79]|6[0124-9]|7[1-5789]))|7(0(0[1235689]|[13][0-8]|2[0-79]|[47][013-9]|[58]|6[01346-9]|9[0-3789])|1([079]|1([0124-7]|[89]0)|2([02-578]|10)|3[0-8]|4[0-46]|5[1245]|6[235-9]|8[013-9])|2(0[013-9]|[15][0-46-9]|[23][1-9]|[4689]|7[0-689])|3([01489]|2[02-5789]|3[14-9]|5[1-9]|6[0-46-9]|7[0-689])|4([069]|1[02-9]|2[0124-9]|3[0-5789]|4[124-9]|5[013-9]|7[0-36-9]|8[0124789])|5([0349]|1[0124-9]|2[0124-8]|5[0-8]|6[3-9]|7[014-9]|8[0-69])|6([04][0-35-9]|[18]|[29][0-79]|3[0-7]|5[03569]|6[0125-9]|7[01246-9])|7(0[0-8]|1[0-46-9]|2[1-8]|31|72|8[08])|8(09|20|56|78)|9([1367]0|2[01]|5[09]|87|9[56]))|8(0(09|15|80)|196|2([01]3|34|41|76|95)|3(0[45]|70|9[69])|4(00|2[45]|63)|5(1[49]|3[27]|4[69]|56|78|84)|6(1[69]|5[47]|80)|7(02|65|79|8[08]|90)|8([08]8|14|3[45]|[47]6|65|9[378])|9(0[013]|12|31|4[25]|75|8[89]))|9(0([0124-9]|3[0124-9])|1([0-3]|4[1-7]|5[26]|6[23467]|7[018]|8[12568]|9[0-69])|2(12|23|39|50|9[123])|3(1[03]|81)|406|5(00|22|5[07])|63[78]|7(10|58|6[02])|8(3[568]|4[0128]|53)|9(0[01]|13|2[2367]|32|4[13]|5[17]|61|8[04-9]|9[0-5789])))|8(0(0(00|72)|156|214|5([07]1|26|68)|618|8[01]0|910)|1(095|100|234|363|450|549|681|790|87[08]|940)|2(01[45]|181|362|490|5[012]0|656)|3(050|454|5(61|78)|703|845|9(00|45))|4(0(55|80)|168|[26]17|357|4[13]1|7(23|35|[69]8)|853|9(2[19]|64))|5(068|1[04]0|3(41|73)|470|540|759)|6(0[07]0|1(17|[79]6)|2(04|19|61)|483|7(44|67|82)|8(0[89]|30|68))|7(0(05|32|64)|2(44|83)|322|4(23|42|74)|636|749|9(54|65|79))|8(028|1(22|40|77)|5(23|40)|6(09|75)|7(23|46)|82[04])|9(0(0[01]|99)|[13]70|2(08|35|42|53|97)|937))|9(0(0(0[029]|17|25|32|54|99|46045)|1(49|72)|231|413|970)|1(1(06|41)|3(13|39)|[48]01|5(10|97)|710)|2(042|18[12]|253|5(05|50)|[68]93|711)|3(0(0[23]|1[04]|57|99)|134|312|40[59]|5(23|74)|689|7(00|1[15])|800)|4(2(09|30|58)|675|8(30|58)|982)|5(0(00|54)|1([16]1|32)|4(30|77|85)|588|896|9(21|4[36]))|6(0(00|11)|196|28[02]|352|450|[56]69|857|9(00|69))|7(0(00|9[06])|196|3[06]1|530|6(45|87)|720|8(07|29)|901)|8(011|113|233|4(06|53)|5(34|55)|6(44|53)|7(03|45|6[36])|857)|9(0(0[12]|87)|3[34]1|4(04|23)|696|9(06|3[07]|99))))|7(0(6980|8252)|24365|58005|744[1-9])|990015)/,format:defaultFormat,length:[12,13,14,15,16,17,18,19],cvcLength:[3],luhn:!0},{type:"mastercard",pattern:/^(2(2(2(1([0-689]|7[1-9])|2([0-3]|62)|3(00|6[1-9]|[78]|9[0-35-9])|4([0-35-9]|4[0124-9])|5([014-9]|2[0-46-9]|3[1-9])|6([0-369]|4[02-5789]|5[2-9]|7[0-4678]|8[3-9])|7|8([0125-9]|3[0-689]|4[02-9])|9([06][0-8]|1([1-4678]|50)|[2-5789]))|[34578]|6([0-8]|9([0-46-9]|5[0-79]))|9([014-9]|2([0124-9]|3[0-6])|3(0[1-9]|[1-9])))|3(0(0(0[1-58]|1[0124-7]|2[01367]|3[2689]|4[013569]|5[0-489]|[67]|8[235-9]|9[01247])|1(0[356]|1[347]|2[1-79]|3[345]|4[24]|5[12679]|6[23478]|7[13-9]|8[013459]|9[0678])|2(0[03-9]|1[1245689]|2[2459]|3[046]|4[129]|5[6-9]|6[13569]|7[02578]|8[12]|9[04])|3(0[1267]|1[01367]|2[014678]|3[0358]|4[03459]|5[1-59]|6[01269]|7[023679]|8[023]|9[48])|4(0[179]|1[012457]|2[04689]|3[27]|4[467]|6[3469]|7|8[0-46-9]|9[0178])|5(0[3-8]|1[02457]|2[468]|3[0-468]|4[012469]|5[0-479]|6[46]|7[02-9]|8[03-9]|9[014-79])|6(0[1235]|1[012]|3[89]|4[0-35689]|5[02-79]|6|7[01249]|8[1-58]|9[02356])|7(0[0-69]|1[0-47]|2[1346-9]|3[0-4679]|4[2-5789]|5[2-9]|6[0125689]|7[0-4678]|8[01349]|9[0134679])|8(0[023679]|1[0-4]|2[0-5789]|3[03-79]|4[0-3678]|[58][02-9]|[679])|9([04-9]|1[12359]|2[13789]|3[135789]))|[1-5789]|6([0-35-9]|4([0124-9]|3[0-589])))|4([0-5789]|6([0-689]|7(0([0-5789]|60)|[1-9])))|5(0(0(0[1-9]|[1-9])|[1-9])|[1-9])|6([0-367]|4([0-35-9]|4([012]|3[036-9]|4[0134678]|5[0-58]|6[0134589]|7[24-9]|8[13-9]|9[0124-9]))|5([0125-9]|3([0-6]|7[0-8]|8[1278]|9[134579])|4(0[02-6]|1[12468]|2[2-579]|3[0235-9]|4[1247]|5[123789]|[6-9]))|8([03-9]|1([0126-9]|3[0-35-9]|4[0-79]|5[0-46-9])|2([0-489]|5[2-578]|6[1-479]|7[2689]))|9(0([0-8]|9[0-489])|1(0[13457]|1[0-35689]|2[0-35-9]|3[013-68]|4[01479]|5[0124-9]|6[0-356]|7[016]|8[256]|9[0-379])|2(0[3469]|1[0-47]|2[2458]|3[58]|4[047]|5[1-9]|[6-9])|[3-8]|9([0124]|3[02-689]|5[0-4679]|6[0-8]|7[0-79]|8[02-9]|9[0-35-9])))|7(0(0(0[02568]|[12678]|3[02346-9]|4[0-8]|5[0-36-9]|9[013-79])|1(0[0-689]|[13-9]|2[02-9])|[2-9])|1|20(0[023]|22|[6-9])))|5(00165|1(0(0([013-79]|2[0-79]|8[1-9])|[1389]|2(0[034579]|1[0-5789]|[2-9])|4(0[013-69]|[1478]|2[0-35-9]|3[0-35-8]|5[0-46-9]|6[0-4689]|9[1-9])|5([05-9]|1[0-35789]|[234][0-46-9])|6([0-79]|8[1-9])|7([0-79]|8[0-8]))|[169]|2(0([024-9]|[13][0124-9])|1([015-9]|2[1-9]|3[0-6]|4[0-79])|2(0[0146-9]|[1-6]|[78][0-46-9]|9[02-9])|3(0[013-9]|[135-8]|2[0-46-9]|4[0-5789]|9[0124-9])|4([0-46-9]|5[0-8])|5([0-8]|9[0-5789])|6([0235679]|1[0-8]|4[0-35-9]|8[0-46-9])|7(0[013-9]|[1-9])|8|9([0124578]|3[1-9]|6[02-9]|9[0-46-9]))|3(0([0-359]|4[0-8]|6[0-36-9]|7[1-9]|8[0-578])|[12678]|3([05-9]|1[0-689]|2[0124-9]|3[0-8]|4[0-46-9])|4(0[012489]|[1245689]|3[0-689]|7[013-8])|5([0-69]|7[0124589]|8[014-8])|9([0-35-8]|4[0-8]|9[0125679]))|4(0([05][0-689]|[1246-9]|3[014-9])|[1-9])|5([0-68]|7([0-36]|[45][0-8]|7[0-79]|8[02-8]|9[0-35-9])|9(0[0-8]|[1-9]))|7(0([0-589]|6[013-8]|7[0-46-9])|[134]|2([0-8]|9[02-9])|5([013567]|2[0-5789]|4[02-9]|8[0-35-9]|9[0135-9])|6(0[013-9]|1[03-9]|2[035789]|3[2-9]|[456]|7[0134789]|8[0124-9]|9[0-79])|7([0-689]|7[1345789])|8(0[0-8]|1[1-9]|2[0-578]|3[0-589]|4[01246-9]|5[1246-9]|[6-9])|9([03-9]|1[01245789]|2[0124-9]))|8(0([01346-9]|2[0-8]|5[0-579])|1([015-8]|[24][0-35-9]|3[013-9]|9[0-8])|2([024789]|1[0-8]|3[0124-9]|5[0-4689]|6[0-69])|3([0-35-9]|4[0-35-9])|4([0-46-9]|5[0-79])|5([0-79]|8[013-9])|6(0[0-5789]|1[024-9]|[24568]|3[0-689]|7[2-9]|9[1-9])|7([0125-9]|3[0245689]|4[04-9])|8([02-8]|1[013-9]|9[0-79])|9(0[1-9]|[1-9])))|2(0(0([0124-9]|3[0124-9])|1([0124-9]|3[0-35-9])|[289]|3([0124-9]|3[013-9])|4([017]|2[0-36]|3[0-3]|5[356]|6[1567]|8[012467]|9[159])|5(0[01245789]|[1-9])|6([0-46-9]|5[0-35-9])|7(0[0-35-9]|[1578]|2[013-9]|3[0135-9]|4[0-79]|6[0-5789]|9[02-68]))|1(0([0-8]|9[0-5789])|[1-58]|6(0[0-7]|[1-46-9]|5[013-9])|7([0-578]|6[01245689]|9[02-9])|9([0-4678]|5([0-8]|90)|9[0-8]))|2([08]|1(0[0-5789]|[1-9])|2([0-46-9]|5[0-35-9])|3(0[013-9]|1[0-35-9]|[235]|[48][0-8]|6[1-4678]|7[0124-9]|9[01245689])|4([0-4679]|5[1-9]|8[0-689])|5(0[0-5789]|1[134579]|2[1235789]|3[0-35789]|4[0-79]|5[13-9]|6[1-8]|[78][02-8]|9[0246-9])|6([04][0124689]|1[0-68]|2[02468]|3[024689]|5[0-468]|6[0-5789]|7[0-79]|8|9[0-46-9])|7(0[013-9]|[13]|2[0-8]|4[0124-79]|5[013-8]|[69][0-4679]|7[02-689]|8[124-8])|9([0124-9]|3[0-8]))|3(0([01467]|2[013-9]|3[013-7]|5[0124-9]|8[0-8]|9[0-578])|[123689]|4([046][0-689]|[1357]|2[1-9]|8[01245689]|9[0234678])|5(0[01245689]|1[013-9]|[246-9]|3[0134578]|5[0-689])|7([024-7]|1[0-689]|3[1-9]|8[0-5789]|9[0-35-9]))|4(0([0126-9]|3[0-589]|4[0-46-9]|5[0-79])|1(0[0-8]|[1-9])|2([0-8]|9[0-489])|[38]|4([0-35-9]|4[02-9])|5([01279]|3[0-8]|4[1-9]|5[024-9]|6[0124-9]|8[0-689])|6([0258]|[14][0-689]|3[0-46-9]|6[0-5789]|7[13-79]|9[01246-9])|7([0-69]|7[0125-9]|8[0-46-9])|9([0-6]|7[0-8]|8[0-5789]|9[013-9]))|5|6([023468]|1([0124-9]|3[0-35-9])|5(0[02-5789]|[12389]|[46][0-5789]|5[0-35-9]|7[24689])|7([02-9]|1[0-35-9])|9([0124-9]|3[0245689]))|7(0([045689]|1[0124-9]|2[02-9]|3[0-35-9]|7[0-46-9])|1(0[0124-9]|[134]|2[0-8]|5[02-9]|[69][0-46-9]|7[0-689]|8[0-5789])|2(0[0-35-9]|1[0-689]|2[013-9]|3[124579]|4[0134589]|[5-9])|3([025679]|1[013-9]|3[02-9]|4[0-689]|8[1-9])|[4789]|5([0-35-9]|4[013-9])|6([013589]|2[124-8]|4[0-35-9]|6[0-4679]|7[02-9]))|8([03-7]|1([0-46-9]|5[013-9])|2([012]|[389][0-79]|4[0235689]|5[013-79]|6[02-689]|7[0-46-9])|8([0-589]|6[0-46-9]|7[0-5789])|9(0[0-35-9]|[1-9]))|9(0([0-35-9]|4[0-8])|1([0-4789]|5[05-9]|6[0-689])|2([013-8]|2[013-9]|9[0-8])|3(0[035-9]|[1-9])|[45]|6([013-9]|2([0-79]|80))|7([0-7]|8[1-5789]|9[0-46-9])|8(0[0-35679]|1[0-5789]|[2-9])|9(0[346-9]|1[0-46-9]|[2-8]|9[02359])))|3(0([03-9]|1([0-468]|5[02346-9]|7[0-8]|9[0-46-9])|2(0[0-689]|[1-8]|9[0-579]))|1([0-4789]|5([0134679]|2[1-9]|5[0-4678]|8[0-8])|6([02-9]|1[0-46-9]))|2(0(0[0-79]|[12379]|4[0-46-9]|5[0-689]|6[013-9]|8[0124-9])|1(0[0124-9]|[1345789]|2[02-9]|6[0-79])|[2-57]|6([0-8]|9[0-579])|8([02-6]|1[013-9]|7[0134]|9[15])|9([013-689]|2[0-4678]|7[013-9]))|3(0(0[0-489]|[13-9]|2[013-9])|[12678]|3([014-8]|2[0-5789]|3[0-35-9]|9[0-35689])|4([013-9]|2[0-35-9])|5([013-9]|2[02-9])|9([0234789]|[16][02-9]|5[01245689]))|4(0([0-8]|9([02346-9]|10))|[128]|3([0-8]|9[0-35-9])|4([0124]|3[0124-8]|5[0-35689]|6[0-35-9]|7[0235689]|8[0235-9]|9[023579])|5(0[135-9]|1[123567]|2[0-8]|3[02468]|4[0-468]|5[02346-9]|6|7[1235-9]|8[1-79]|9[0135-9])|6(0[1-79]|[12]|3[02-8]|4[1-5789]|5[0-35679]|[69][013-9]|7[0135679]|8[0-79])|7(0[02467]|[1-9])|9([013-9]|2[013-9]))|5(0([05]|1[0-8]|2[01345789]|3[0235789]|4[013-9]|6[1235-9]|7[01245789]|8[0-689]|9[0124-8])|[124-79]|3([0125789]|3[0-4689]|4[0-4679]|6[1-9])|8([0-35789]|4[0-79]|6[0234678]))|6([0678]|1([0-35-9]|4[0-5789])|2([02-9]|1[02-9])|3([0-468]|5[0-46-9]|7[0135-9]|9[0-35-9])|4([0-689]|7[0135-9])|5([0-3679]|4[02-5789]|5[02346-9]|8[0-46-9])|9([016-9]|2[0-6]|3[23489]|4[014-9]|5[0-36-9]))|7(0([013-8]|2[02-9]|9[02-79])|1(0[0-46-9]|1[02-689]|[24-9]|3[0-35-9])|[2-59]|6([03-9]|1[0124-9]|2[0-35-9])|7([0-39]|4[0124678]|5[024-8]|6[01246-9]|7[012468]|8[02468])|8([03-9]|1([0-479]|50)|2[13579]))|8(0(0[0-79]|[13-9]|2[0-8])|[1256]|3([0-6]|7[015]|8[1589]|9[1-9])|4([0-46-9]|5([0-689]|70))|7(0[1-9]|[1-7]|8[0134578]|9[023568])|8([0-59]|6[0-68]|7[01245789]|8[0-579])|9(0[0-8]|[168]|2[0-35-9]|3[0-5789]|4[1-9]|5[1346-9]|7[02-9]|9[0-68]))|9(0([0-8]|9[0-35-9])|1([0-35789]|4[0-46-9]|6[02-9])|[2346-9]|5([0-8]|9[0-5789])))|4(0([01357]|2(0[1-9]|[1-9])|4([0-4678]|5[0-689]|9[0124-9])|6([0124-9]|3[0-35-9])|8([0-5789]|6[03-9])|9([013-79]|2[013-9]|8[0-5789]))|1(0([01369]|2[013-9]|4[1-9]|5[0-46-9]|7[013-79]|8[0-35-9])|1([0-8]|9[013-9])|[2368]|4([04568]|[12][1-9]|3[0-79]|7[0124-9]|9[0-7])|5(0[1-9]|[1-8]|9[0-79])|7([0234679]|1[0-79]|5[013-9]|8[1-9])|9(0[0-8]|[12][02-9]|[348]|5[1-9]|6[0-4789]|7[0-689]|9[0-5789]))|2(0([013789]|2[0-46-9]|4[0-35-9]|5[03-9]|6[0-79])|1(0[0-8]|[1-7]|[89][0-689])|[23]|4([0-469]|5[013-9]|7[0-79]|8[0-5789])|5(0[1-9]|[1-79]|8[0-8])|6([0245789]|1[0-35-9]|3[0-79]|6[0-478])|7([013-68]|2[0-46-9]|7[02-9]|9[013-9])|8(0[1-9]|[1235689]|4[0124-9]|7[013-9])|9(0[02-9]|1[0-35-9]|[23578]|4[0135-9]|6[13-9]|9[0-46-9]))|3(0(0[1-9]|[1-9])|1([0-579]|6[1-689]|8[013-9])|2([0-3567]|4[0-8]|8[0-46-9]|9[013-9])|3([035-8]|1[0-35-9]|2[0124-9]|4[0-79]|9[0-8])|4([0-35-9]|4[0124-9])|5([015-8]|2[01345789]|3[0-46-9]|4[02-9]|9[0-689])|6(0[1-9]|[13-9]|2[0-8])|7([0124-9]|3[013-9])|8([0-5789]|6[0124-9])|9(0[03569]|1[013569]|[2346-9]|5[013-9]))|4([01258]|3(0[02-9]|[1-9])|4([0-5789]|6[02-689])|6([0-578]|6[013-9]|9[0-689])|7([0-79]|8[0-35-9])|9([0-4678]|5[0-689]|9[0-356]))|5(0(0[1235-9]|1[012569]|2[0-8]|[345789]|6[0-469])|[125]|3(0[013-79]|[124-8]|3[02-9]|9[0-79])|4(0[0124-9]|[1-5789]|6[02-9])|6([0-689]|7[0-578])|7([0124-9]|3[02-9])|8([013-9]|2[0-5789])|9([0-8]|9[0-8]))|6(0([0-7]|8[0-8]|9[02-9])|[1569]|2([0-8]|9[013-9])|3(0[0-4789]|[1-9])|4([0-79]|8[02-9])|7([0-5789]|6[0-689])|8([0-489]|[57][0-689]|6[013-9]))|7(0([013-9]|2[1-9])|1([0-79]|8[0-8])|[2-9])|8(0([0-7]|8[0-8]|9[1-9])|1([0-3679]|4[0-68]|5[49]|8[0-689])|2([0-79]|8[0-7])|[3457]|6([0246-9]|1[0-79]|3[0-4678]|5[0-589])|8([0-47]|5[0-689]|6[0-46-9]|8[0-8]|9[1-9])|9([0-35-9]|4[0235689]))|9(0([0126-9]|3[0-35-8]|4[0135-9]|5[0-46-9])|[124578]|3([01246-9]|3[0-689]|5[0124-9])|6([0-46-9]|5[0124-9])|9([0-46]|5[0124-9]|7[0-359]|8[013458]|9[0-8])))|5(0(0(0[02-689]|1[01245789]|[2679]|3[03-9]|4[0-5789]|5[01346-9]|8[0-35-9])|1([0-69]|7[0-79]|8[1-9])|2(0[0124-9]|[123567]|4[1-7]|8[0-5789]|9[0-79])|3([0-356]|4[0-35-9]|7[02-8]|8[0-3]|93)|4(0[07]|1[23]|2[3-9]|3[0-35-9]|[45789]|6[0124-9])|5(0[0-79]|1[1-9]|2[02-6]|3[01345789]|[46]|5[013-9]|7[024-9]|8[0-8]|9[1-4689])|6([01589]|2[0-35-9]|3[0-5789]|4[0124-79]|6[0125-9]|7[02-9])|[789])|1([0-35-9]|4([013-9]|2[02-9]))|2([0-46-9]|5(0[1-9]|[1-9]))|3(0([0-79]|8[0-46-9])|[1235789]|4([0124-9]|3[0-35-9])|6(0[0124-9]|1[1-9]|[2-8]|9[0-59]))|4([039]|1(0[0-35689]|1[0-478]|[24][0-689]|[35689]|7[02-9])|2([0125-9]|3[0-79]|4[1-9])|4(0[0-689]|[13-9]|2[02-9])|5([0-8]|9[013-9])|6([0-6]|7[0124-9]|8[0-46-9]|9[0-689])|7([0125-9]|3[0-8]|4[0135-9])|8(0[014789]|1[124-8]|2[014-9]|[3-689]|7[0-46-9]))|5([0124-9]|3([0-689]|7[0-46-9]))|6([0-79]|8([0124-9]|3[1-9]))|7(0([0-5789]|6[0-46-9])|[134578]|2([0-8]|9[0-35-9])|6([0-3678]|4[1-9]|5[0-46-9]|9[0-79])|9([0125-8]|3[0-69]|4[1-9]|9[013-9]))|8([0-46-9]|5([0-5789]|6[013-9]))|9([034579]|1([0134789]|2[0-35789]|5[0-8]|6[1-46-9])|2([0-579]|6[02-9]|8[0124-9])|6([0-46-9]|5[0-8])|8([035689]|1[013-9]|2[0-3578]|4[0-8]|7[0-689])))))/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"rupay",pattern:/^(345678|50(2(801|951)|4019|5419|8([5-8]|9([0-689]|7[0-79])))|6(0(5067|6(1(0[02-5789]|1[0-35-9]|2[013789]|3[0-8]|4[0-36-9]|[589]|6[01245789]|7[013-8])|2(0[1-8]|[14]|2[0-35679]|3[0124579]|5[013-689]|6[124-8]|7[0-35-9]|8[13689]|9[0-4678])|3(0[0-46-9]|1|2[0234678]|3[01248]|4[0-7]|5[0-689]|6[0236-9]|7[135-8]|8[0-378]|9[0-36-9])|4(0[0235-9]|1[1-9]|[279]|3[0-5789]|4[0236-9]|5[13-689]|6[0-8]|8[0-35-9])|5|6([0-5789]|6[0-689])|7([02-9]|1[02-9])|8(0[02-9]|[13-9]|2[0-689])|9(0[0124-9]|1[0-5789]|[25-9]|3[0235789]|4[1-9]))|7|8([0-589]|6([0-8]|9[0-79])|7([02-9]|1[1-9])))|27387|5(2([18][5-9]|2([013-9]|2[0-35-9])|3[0-8]|4(0|1[0-8])|5([01]|2[0-5]|50)|9([023478]|1[05679]|5[01]|9[0-4678]))|30(0[0-46-9]|[1-4])|5281)|95047)|8(1(7[2-9]|[89])|20[01])|999999)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"unionpay",pattern:/^(6(0(1(382|428)|29(07|69)|3(265|367|6(01|94)|708)|4823|60(45|52)|9120)|14944|2(0(0(0[39]|1[0135679]|2[14-9]|3[0135789]|4[01368]|5[0-689]|6[0-478]|7[023679]|8[125-9]|9[01346])|1(0[135-8]|1[048]|2[013-69]|3[124689]|[49][0-46-9]|5[0235689]|6[0-689]|75|8[013-7])|2(0[02-9]|1[01348]|2[013-689]|3[0-69]|4[24-9]|5[0134679]|6[2-8]|7[13-9]|80)|3[04]2|4(0[2-9]|1[012]|27)|5(0[0-3]|1[2-9]|2[012789]|3[0-3578]|5[0129]|6[12])|6(0[2479]|1[126-9]|[23]0)|7(0[46-9]|1[0-4])|8([01]2|26)|9(0[245]|38))|1(0(0[0-68]|[1367]|2[013-9]|4[0-59]|5[0-35-9]|8[0-46-9]|9[0124-9])|1(0[023567]|32)|2([024-79]|1[0-35-9]|3[0-5789]|8[0-8])|3([0346-9]|1[013-7]|2[4-8]|5[0-69])|4(0[0-8]|[1689]|2[0238]|3[346-9]|4[0-35-9]|5[235-9]|7[0256])|5(0[02]|1[15-9]|2|3[0-46-9]|5[012789]|6[0-3689]|7[789]|8[02589]|9[01289])|6([0156]|2[0-8]|3[0135-9]|4[0125789]|7[0-689]|8[0-5789]|9[0-79])|7(0[01]|19|2[0-8]|[3-9])|8(0[47]|1[347]|4[012]|7[2-79]|90)|9(0[013-9]|1[0-5]|7[79]|80))|2(0(03|21)|1(0[02-5]|2[6-9]|[3-9])|[2-9])|3([0-356]|4([0124-9]|3[02-9])|7([0-8]|9[0-689])|80[03]|90[01])|[45]|6([02-9]|1([0-8]|9[0-8]))|7(0(0[26]|2[05-8]|4[0-3]|6|7[02-8])|1(0[04]|1[01]|92)|2(0[09]|3[02]|[46]4)|3(2[89]|48|53|69)|4([07]1|80)|5(17|33)|6(45|52|6[68]|79|81)|8([01]5|51|62|79|94)|9(23|69))|8(0(0[09]|3[48]|7[256]|83|9[23])|1(06|15|79|[89]0)|[2-8]|99[2-8])|9(0([34]0|95)|1(0[0-3]|[15][0-8]|2[89]|3[0-35689]|4[0-4789]|[67][1-9]|80)|2(1[0124-9]|2|3[036-9]|4[0124789]|5[1-6]|6[0129]|7[1-5789]|8[13-9]|9[0156])|43[36]|8([48]6|64)|9(49|7[45])))|3(0042|2062|4910|5359|6(09[345]|189)|7000|9(339|578))|5(4(1(0[36]|1[567]|2[035]|3[129]|50)|2(0[36]|15|2[035]|3[129]|50)|90[01])|5([68](0[36]|1[4-8]|2[035]|3[129]|50)|9(1[68]|20))|7(0(1[68]|20|3[129])|3(0[36]|1[124-8]|2[0357]|3[129]|50)))|6(4910|5378)|8(5800|8659)|9075)|81([0-6]|7[01])|9(0(0(00[03]|[12]05|30)|592|9810)|111|2(0000|100[012]|2220)|400(0[1368]|1[3568]|2[1235789]|3[145789]|4[1-46-9]|5[013-8]|6[1235689]|7[2-6])|55(100|5(5|9[0-3])|8|9[5-9])|6(6666|880[789])|8(430[0-3]|5262)|9(0(027|871)|880[012])))/,format:defaultFormat,length:[16,17,18,19],cvcLength:[3],luhn:!1},{type:"visa",pattern:/^4(0([02-9]|1([02-9]|1([0-689]|7[0-7])))|1([013-9]|2([0-8]|9([013-9]|2[02-9])))|2(0([012679]|3([0-46-9]|5[0-35-9])|4(0[0-489]|1[13-79]|2[0-35679]|3[012469]|4[01346-9]|5[0-35-9]|6[02378]|7[02346-9]|[89])|5([0-5789]|6[02-9])|8(0[0-46-9]|1[13489]|2[25]|3[015-9]|4[0-689]|5[0-35-9]|6[0-8]|[79]|8[03-79]))|[1-9])|3([02-79]|1([013-9]|2([0-689]|7[0-35-9]))|8([0-8]|9([0124-9]|3[0-46-9])))|[4689]|5([02-689]|1([0-35-9]|4([02-9]|1[0-5789]))|7([0245789]|3([0-8]|9[0124-9])|6([0124-9]|3[03-9])|1(0(0(4[0-8]|5[123679])|1(0[1-9]|[16][013-9]|[237]|4[0-689]|5[0124-9]|8[0-7]|9[0148])|3(0[136-9]|1[124-79]|2[012789]|3[36-9]|4[0-7]|5[24]|7[389]|8[58]|9[023])|4(0[04]|3[45]|[48]0|54|6[5-9]|7[0134])|5(1[6-9]|2[0-6]|3[34579]|4[0-5]|5[0-7]|66|7[03579]|8[026])|6(0[1-578]|12|3[17]|4[46-9]|5[013-9]|6[0-3]|7[02-9]|8|9[0-467])|7(0[4568]|1[0-3]|35|4[05]|5[05-9]|6[267]|7[03-9]|8[4578]|9[018])|8(0[289]|1[0-579]|2[135-8]|3[14-9]|4[0-47]|5[0-5]|6[0-5789]|7[0-378]|[89]))|1(2(0[2-7]|25)|3(0[789]|1[05-9]|2[0-689]|3[1235]|4[0-5789]|5[0235]|6[024])|4(0[0-7]|18|2[0-689]|3[02346-9]|71)|5([16]9|35|51)|6(71|8|93)|7(0[1-9]|1[014-8]|2[6-9]|3[02589]|4[02]|5[345])|9(0[0-589]|[13467]|2[02-9]|5[01345789]|8[0124-79]|9[1235-8]))|5(1(00|4[1-68])|29[0-35]|3(0[1-46-9]|[1-9])|4(00|[47]|9[0-79])|5(0[1-9]|1[02-68]|2[013-69]|3[0-5789]|4[0-35-8]|5[0-35689]|6[2378]|7[02458]|8[0-68]|9[124-8])|6(0[0135-9]|1[0-356]|2[0-579]|3[0-57]|4[0-3578]|5[0135689]|6[013-7]|7[014578]|8[0236]|9[045789])|7(0[024-7]|1[014-79]|2[0236]|3[0235689]|4[02349]|5[0-3]|6[02348]|7[2-59]|8[0157]|9[01])|8(0[013478]|1[0-359]|2[012567]|3[45]|44|[57][05]|6[02347]|8[012]|90)|9(0[08]|1[0-35-9]|2[0249]|3[024589]|4[124578]|5[0-5789]|6[01679]|7[014-79]|8[02-9]|9[013-9]))|6(0(04|11|60|7[05]|85)|1(0[045]|1[0246]|2[14589]|[45]0|8[012567]|9[0-4])|2(20|3[02-8]|6[0128])|4(60|71|8[2-9]|9)|5(0[03-9]|1[0-6]|2[05])|6(1[012]|2[0-3]|8|9[0-5])|7(3[5-9]|4[389]|71)|8([156]|2[0-6]|4[0578]|80))|7(0(1[568]|3[0124-9]|4[01356]|5[0159])|1(1[0678]|2[013-8]|[37]|40|6[01]|8[1-8])|2([237]0|4[0-578]|[56][0-8])|3(0[0159]|[16]|2[01]|7[01259]|8[0-35]|9[12369])|4(0[0-3567]|1[013-9]|2[0-38]|3[246]|[45]|61|7[01])|5(00|3[015]|4[013567]|5[456]|6[0-7]|7[0-5]|9[0-35-9])|6([05][0-8]|[123]|4[0-46-9]|60|7[09]|8[014-8])|7(0[0-58]|1[0-8]|2[4569]|3[02-9]|4[079]|5[014]|8[089]|90)|8([069]0|1[01]|2[029]|3[013-7]|4[0-69]|5[1-4678])|9(1[015]|2[0125]|3[0-3]|5[1-7]|7[01]|8[012]|90))|8(0(1[0-3]|20|6[013568]|7[125679]|9[0159])|1(1[03479]|2|3[0-39]|4[0-35-9])|2(0[5-9]|1[0-5]|2[0234])|4(01|1[189]|[29]|[36][01]|8[0-79]))|9(0(0[1246-9]|1[01256]|2[489]|3[357]|4[0469]|5[046]|6[0167]|7[05-8]|8[136-9]|90)|1(0[0126-9]|1[012489]|2[014789]|3[35]|56|6[0-4]|7[34]|81|9[06])|2(0[0236]|1[0135789]|[23][13567]|4[0-6]|5[1245689]|6[014568]|7[24578]|8[023469]|9[4679])|3(0[1246-9]|1[012489]|2[134689]|3[0-7]|4[0235-9]|5[479]|6[03567]|7[0468]|8[013578]|95)|4(0[27]|1[0267]|2[0-8]|3[36]|44)|5([024]1|5[179]|6[018]|7[03]|8[5789]|9[0358])|6(0[024-9]|1[0-579]|2[0-59]|3[0-578]|4[1-489]|66|70|8[2467]|9[0245])|7([16]2|3[13-9]|4[0-3]|97)|8(0[5679]|1[1-5789]|2[3478]|3[89]|44|5[13459]|6[05]|7[02347]|[89])|9(4[02]|60)))))|7([02-9]|1(0(0[15]|1[13569]|2[35-9]|3[2679]|42|5[058]|6[18]|7[39]|83|9[056])|[1-9])))/,format:defaultFormat,length:[13,14,15,16],cvcLength:[3],luhn:!0},{type:"argencard",pattern:/^(501105)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"cabal",pattern:/^((627170)|(589657)|(603522)|(604((20[1-9])|(2[1-9][0-9])|(3[0-9]{2})|(400))))/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"naranja",pattern:/^(589562)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"cencosud",pattern:/^(603493)/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"nativa",pattern:/^((520053)|(546553)|(554472)|(531847)|(527601))/,format:defaultFormat,length:[16],cvcLength:[3],luhn:!0},{type:"mir",pattern:/^(220[1-499])|(671182)|(677384)/,format:defaultFormat,length:[17,18,19],cvcLength:[3],luhn:!0}],elements=[],cardFromNumber=function(num){var card,_i,_len;
for(num=(num+"").replace(/\D/g,""),_i=0,_len=cards.length;_len>_i;_i++)if(card=cards[_i],card.pattern.test(num))return card},cardFromType=function(type){var card,_i,_len;for(_i=0,_len=cards.length;_len>_i;_i++)if(card=cards[_i],card.type===type)return card},luhnCheck=function(num){var digit,digits,odd,sum,_i,_len;for(odd=!0,sum=0,digits=(num+"").split("").reverse(),_i=0,_len=digits.length;_len>_i;_i++)digit=digits[_i],digit=parseInt(digit,10),(odd=!odd)&&(digit*=2),digit>9&&(digit-=9),sum+=digit;return sum%10===0},hasTextSelected=function(target){var _ref;return null!=target.selectionStart&&target.selectionStart!==target.selectionEnd?!0:null!=("undefined"!=typeof document&&null!==document&&null!=(_ref=document.selection)?_ref.createRange:void 0)&&document.selection.createRange().text?!0:!1},reFormatCardNumber=function(e){return setTimeout(function(){return function(){var target,value;return target=e.target,value=QJ.val(target),value=Payment.fns.formatCardNumber(value),QJ.val(target,value),QJ.trigger(target,"change")}}(this))},formatCardNumber=function(e){var card,digit,length,re,target,upperLength,value;if(digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&(target=e.target,value=QJ.val(target),card=cardFromNumber(value+digit),length=(value.replace(/\D/g,"")+digit).length,upperLength=16,card&&(upperLength=card.length[card.length.length-1]),!(length>upperLength||null!=target.selectionStart&&target.selectionStart!==value.length))){switch(value=(value+digit).replace(/[^\d]/g,""),length){case 13:re=/(\d{6})(\d{4})(\d{3})/;break;case 14:re=/(\d{4})(\d{6})(\d{4})/;break;case 15:re=/(\d{4})(\d{6})(\d{5})/;break;case 17:re=/(\d{4})(\d{4})(\d{4})(\d{4})(\d{1})/;break;case 18:re=/(\d{4})(\d{4})(\d{4})(\d{6})/;break;case 19:re=/(\d{6})(\d{13})/;break;default:re=/(\d{4})/}return e.preventDefault(),QJ.val(target,value.split(re).filter(function(val){return 0!==val.length}).join(" "))}},formatBackCardNumber=function(e){var target,value;return target=e.target,value=QJ.val(target),e.meta||8!==e.which||null!=target.selectionStart&&target.selectionStart!==value.length?void 0:/\d\s$/.test(value)?(e.preventDefault(),QJ.val(target,value.replace(/\d\s$/,""))):/\s\d?$/.test(value)?(e.preventDefault(),QJ.val(target,value.replace(/\s\d?$/,""))):void 0},formatExpiry=function(e){var digit,pos,target,val;if(target=e.target,e.which===PLACEHOLDER_KEY_CODE){if(pos=target.selectionStart,val=QJ.val(target),digit=val.substring(pos-1),!/^\d+$/.test(digit))return void QJ.val(target,val.substring(0,pos-1))}else if(digit=String.fromCharCode(e.which),!/^\d+$/.test(digit))return;return val=QJ.val(target)+digit,/^\d$/.test(val)&&"0"!==val&&"1"!==val?(e.preventDefault(),QJ.val(target,"0"+val+" / ")):/^\d\d$/.test(val)?(e.preventDefault(),QJ.val(target,""+val+" / ")):void 0},formatForwardExpiry=function(e){var digit,target,val;return digit=String.fromCharCode(e.which),/^\d+$/.test(digit)?(target=e.target,val=QJ.val(target),/^\d\d$/.test(val)?QJ.val(target,""+val+" / "):void 0):void 0},formatForwardSlash=function(e){var slash,target,val;return slash=String.fromCharCode(e.which),"/"===slash?(target=e.target,val=QJ.val(target),/^\d$/.test(val)&&"0"!==val?QJ.val(target,"0"+val+" / "):void 0):void 0},formatBackExpiry=function(e){var target,value;if(!e.metaKey&&(target=e.target,value=QJ.val(target),8===e.which&&(null==target.selectionStart||target.selectionStart===value.length)))return/\d(\s|\/)+$/.test(value)?(e.preventDefault(),QJ.val(target,value.replace(/\d(\s|\/)*$/,""))):/\s\/\s?\d?$/.test(value)?(e.preventDefault(),QJ.val(target,value.replace(/\s\/\s?\d?$/,""))):void 0},restrictNumeric=function(e){var input;return e.originalEvent.metaKey||e.originalEvent.ctrlKey?!0:32===e.which?e.preventDefault():0===e.which?!0:e.which<33?!0:(input=String.fromCharCode(e.which),/[\d\s]/.test(input)?void 0:e.preventDefault())},restrictCardNumber=function(e){var card,digit,target,value;if(target=e.target,digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&!hasTextSelected(target))if(value=(QJ.val(target)+digit).replace(/\D/g,""),card=cardFromNumber(value)){if(!(value.length<=card.length[card.length.length-1]))return e.preventDefault()}else if(!(value.length<=16))return e.preventDefault()},restrictExpiry=function(e){var digit,target,value;return target=e.target,digit=String.fromCharCode(e.which),/^\d+$/.test(digit)&&!hasTextSelected(target)?(value=QJ.val(target)+digit,value=value.replace(/\D/g,""),value.length>4?e.preventDefault():void 0):void 0},restrictCVC=function(e){var cardNumber,cardObj,cvcLength,digit,el,numberEl,target,val,_i,_len;if(target=e.target,digit=String.fromCharCode(e.which),/^\d+$/.test(digit)){if(numberEl=Payment.getElement("number")){for(cardNumber="",_i=0,_len=numberEl.length;_len>_i;_i++)el=numberEl[_i],cardNumber+=QJ.val(el);cardObj=cardFromNumber(cardNumber),cvcLength=cardObj?Math.max.apply(Math,cardObj.cvcLength):4}else cvcLength=4;return val=QJ.val(target)+digit,val.length<=cvcLength?void 0:e.preventDefault()}},setCardType=function(e){var allTypes,card,cardType,target,val;return target=e.target,val=QJ.val(target),cardType=Payment.fns.cardType(val)||"unknown",QJ.hasClass(target,cardType)?void 0:(allTypes=function(){var _i,_len,_results;for(_results=[],_i=0,_len=cards.length;_len>_i;_i++)card=cards[_i],_results.push(card.type);return _results}(),QJ.removeClass(target,"unknown"),QJ.removeClass(target,allTypes.join(" ")),QJ.addClass(target,cardType),QJ.toggleClass(target,"identified","unknown"!==cardType),QJ.trigger(target,"payment.cardType",cardType))},Payment=function(){function Payment(){}return Payment.fns={cardExpiryVal:function(value){var month,prefix,year,_ref;return value=value.replace(/\s/g,""),_ref=value.split("/",2),month=_ref[0],year=_ref[1],2===(null!=year?year.length:void 0)&&/^\d+$/.test(year)&&(prefix=(new Date).getFullYear(),prefix=prefix.toString().slice(0,2),year=prefix+year),month=parseInt(month,10),year=parseInt(year,10),{month:month,year:year}},validateCardNumber:function(num){var card,_ref;return num=(num+"").replace(/\s+|-/g,""),/^\d+$/.test(num)?(card=cardFromNumber(num),card?(_ref=num.length,__indexOf.call(card.length,_ref)>=0&&(card.luhn===!1||luhnCheck(num))):!1):!1},validateCardExpiry:function(month,year){var currentTime,expiry,prefix,_ref;return"object"==typeof month&&"month"in month&&(_ref=month,month=_ref.month,year=_ref.year),month&&year?(month=QJ.trim(month),year=QJ.trim(year),/^\d+$/.test(month)&&/^\d+$/.test(year)&&parseInt(month,10)<=12?(2===year.length&&(prefix=(new Date).getFullYear(),prefix=prefix.toString().slice(0,2),year=prefix+year),expiry=new Date(year,month),currentTime=new Date,expiry.setMonth(expiry.getMonth()-1),expiry.setMonth(expiry.getMonth()+1,1),expiry>currentTime):!1):!1},validateCardCVC:function(cvc,type){var _ref,_ref1;return cvc=QJ.trim(cvc),/^\d+$/.test(cvc)?type&&cardFromType(type)?(_ref=cvc.length,__indexOf.call(null!=(_ref1=cardFromType(type))?_ref1.cvcLength:void 0,_ref)>=0):cvc.length>=3&&cvc.length<=4:!1},cardType:function(num){var _ref;return num?(null!=(_ref=cardFromNumber(num))?_ref.type:void 0)||null:null},formatCardNumber:function(num){var card,groups,upperLength,_ref;return(card=cardFromNumber(num))?(upperLength=card.length[card.length.length-1],num=num.replace(/\D/g,""),num=num.slice(0,+upperLength+1||9e9),card.format.global?null!=(_ref=num.match(card.format))?_ref.join(" "):void 0:(groups=card.format.exec(num),null!=groups&&groups.shift(),null!=groups?groups.join(" "):void 0)):num}},Payment.restrictNumeric=function(el){return QJ.on(el,"keypress",restrictNumeric)},Payment.cardExpiryVal=function(el){return Payment.fns.cardExpiryVal(QJ.val(el))},Payment.formatCardCVC=function(el){return Payment.restrictNumeric(el),QJ.on(el,"keypress",restrictCVC),this.storeElement("cvc",el),el},Payment.formatCardExpiry=function(el){return Payment.restrictNumeric(el),QJ.on(el,"keypress",restrictExpiry),QJ.on(el,"keypress keydown",formatExpiry),QJ.on(el,"keypress",formatForwardSlash),QJ.on(el,"keypress",formatForwardExpiry),QJ.on(el,"keydown",formatBackExpiry),this.storeElement("expiry",el),el},Payment.formatCardNumber=function(el){return Payment.restrictNumeric(el),QJ.on(el,"keypress",restrictCardNumber),QJ.on(el,"keypress",formatCardNumber),QJ.on(el,"keydown",formatBackCardNumber),QJ.on(el,"keyup",setCardType),QJ.on(el,"paste",reFormatCardNumber),QJ.on(el,"input",reFormatCardNumber),this.storeElement("number",el),el},Payment.getCardArray=function(){return cards},Payment.setCardArray=function(cardArray){return cards=cardArray},Payment.addToCardArray=function(cardObject){return cards.push(cardObject)},Payment.removeFromCardArray=function(type){var key,value,_results;_results=[];for(key in cards)value=cards[key],value.type===type&&_results.push(cards.splice(key,1));return _results},Payment.getElement=function(name){return elements[""+name]},Payment.storeElement=function(name,el){return elements[""+name]=el},Payment}(),module.exports=Payment,global.Payment=Payment}).call(this,"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"../../qj/src/qj.coffee":9}],9:[function(_dereq_,module){var QJ,rreturn,rtrim,__indexOf=[].indexOf||function(item){for(var i=0,l=this.length;l>i;i++)if(i in this&&this[i]===item)return i;return-1};QJ=function(selector){return QJ.isDOMElement(selector)?selector:document.querySelectorAll(selector)},QJ.isDOMElement=function(el){return el&&null!=el.nodeName},QJ.isNodeList=function(nodes){var e,result;if(result=Object.prototype.toString.call(nodes),"[object HTMLCollection]"===result||"[object NodeList]"===result)return!0;if("object"!=typeof nodes)return!1;if(!(__indexOf.call(nodes,"length")>=0&&__indexOf.call(nodes,"item")>=0))return!1;try{if(null===nodes(0)||nodes(0)&&nodes(0).tagName)return!0}catch(_error){return e=_error,!1}return!1},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,QJ.trim=function(text){return null===text?"":(text+"").replace(rtrim,"")},rreturn=/\r/g,QJ.val=function(el,val){var ret;return arguments.length>1?el.value=val:(ret=el.value,"string"==typeof ret?ret.replace(rreturn,""):null===ret?"":ret)},QJ.preventDefault=function(eventObject){return"function"==typeof eventObject.preventDefault?void eventObject.preventDefault():(eventObject.returnValue=!1,!1)},QJ.normalizeEvent=function(e){var original;return original=e,e={which:null!=original.which?original.which:void 0,target:original.target||original.srcElement,preventDefault:function(){return QJ.preventDefault(original)},originalEvent:original,data:original.data||original.detail},null==e.which&&(e.which=null!=original.charCode?original.charCode:original.keyCode),e},QJ.on=function(element,eventName,callback){var el,multEventName,originalCallback,_i,_j,_len,_len1,_ref;if(this.isNodeList(element))for(_i=0,_len=element.length;_len>_i;_i++)el=element[_i],QJ.on(el,eventName,callback);else{if(!eventName.match(" "))return originalCallback=callback,callback=function(e){return e=QJ.normalizeEvent(e),originalCallback(e)},element.addEventListener?element.addEventListener(eventName,callback,!1):element.attachEvent?(eventName="on"+eventName,element.attachEvent(eventName,callback)):void(element["on"+eventName]=callback);for(_ref=eventName.split(" "),_j=0,_len1=_ref.length;_len1>_j;_j++)multEventName=_ref[_j],QJ.on(element,multEventName,callback)}},QJ.addClass=function(el,className){var e;return el.length?function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)e=el[_i],_results.push(QJ.addClass(e,className));return _results}():el.classList?el.classList.add(className):el.className+=" "+className},QJ.hasClass=function(el,className){var e,hasClass,_i,_len;if(el.length){for(hasClass=!0,_i=0,_len=el.length;_len>_i;_i++)e=el[_i],hasClass=hasClass&&QJ.hasClass(e,className);return hasClass}return el.classList?el.classList.contains(className):new RegExp("(^| )"+className+"( |$)","gi").test(el.className)},QJ.removeClass=function(el,className){var cls,e,_i,_len,_ref,_results;if(el.length)return function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)e=el[_i],_results.push(QJ.removeClass(e,className));return _results}();if(el.classList){for(_ref=className.split(" "),_results=[],_i=0,_len=_ref.length;_len>_i;_i++)cls=_ref[_i],_results.push(el.classList.remove(cls));return _results}return el.className=el.className.replace(new RegExp("(^|\\b)"+className.split(" ").join("|")+"(\\b|$)","gi")," ")},QJ.toggleClass=function(el,className,bool){var e;return el.length?function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)e=el[_i],_results.push(QJ.toggleClass(e,className,bool));return _results}():bool?QJ.hasClass(el,className)?void 0:QJ.addClass(el,className):QJ.removeClass(el,className)},QJ.append=function(el,toAppend){var e;return el.length?function(){var _i,_len,_results;for(_results=[],_i=0,_len=el.length;_len>_i;_i++)e=el[_i],_results.push(QJ.append(e,toAppend));return _results}():el.insertAdjacentHTML("beforeend",toAppend)},QJ.find=function(el,selector){var Exception;(el instanceof NodeList||el instanceof Array)&&(el=el[0]);try{return el.querySelectorAll(selector)}catch(_error){return Exception=_error,console.log("Invalid Selector has been passed to querySelectorAll()")}},QJ.trigger=function(el,name,data){var e,ev;try{ev=new CustomEvent(name,{detail:data})}catch(_error){e=_error,ev=document.createEvent("CustomEvent"),ev.initCustomEvent?ev.initCustomEvent(name,!0,!0,data):ev.initEvent(name,!0,!0,data)}return el.dispatchEvent(ev)},module.exports=QJ},{}],10:[function(_dereq_,module){var css=".jp-card.jp-card-safari.jp-card-identified .jp-card-front:before, .jp-card.jp-card-safari.jp-card-identified .jp-card-back:before {\n background-image: -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%);\n background-image: linear-gradient(-25deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%); }\n\n.jp-card.jp-card-ie-10.jp-card-flipped, .jp-card.jp-card-ie-11.jp-card-flipped {\n -webkit-transform: 0deg;\n -moz-transform: 0deg;\n -ms-transform: 0deg;\n -o-transform: 0deg;\n transform: 0deg; }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-front, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-front {\n -webkit-transform: rotateY(0deg);\n -moz-transform: rotateY(0deg);\n -ms-transform: rotateY(0deg);\n -o-transform: rotateY(0deg);\n transform: rotateY(0deg); }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-back, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-back {\n -webkit-transform: rotateY(0deg);\n -moz-transform: rotateY(0deg);\n -ms-transform: rotateY(0deg);\n -o-transform: rotateY(0deg);\n transform: rotateY(0deg); }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-back:after, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-back:after {\n left: 18%; }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-back .jp-card-cvc, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-back .jp-card-cvc {\n -webkit-transform: rotateY(180deg);\n -moz-transform: rotateY(180deg);\n -ms-transform: rotateY(180deg);\n -o-transform: rotateY(180deg);\n transform: rotateY(180deg);\n left: 5%; }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-back .jp-card-shiny, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-back .jp-card-shiny {\n left: 84%; }\n .jp-card.jp-card-ie-10.jp-card-flipped .jp-card-back .jp-card-shiny:after, .jp-card.jp-card-ie-11.jp-card-flipped .jp-card-back .jp-card-shiny:after {\n left: -480%;\n -webkit-transform: rotateY(180deg);\n -moz-transform: rotateY(180deg);\n -ms-transform: rotateY(180deg);\n -o-transform: rotateY(180deg);\n transform: rotateY(180deg); }\n\n.jp-card.jp-card-ie-10.jp-card-amex .jp-card-back, .jp-card.jp-card-ie-11.jp-card-amex .jp-card-back {\n display: none; }\n\n.jp-card-logo.jp-card-amex {\n background-color: #108168;\n /* The Fallback */\n background-color: rgba(16, 129, 104, 0.1);\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHdpZHRoPSIzNTAiIGhlaWdodD0iMzQ5LjE4IiB2aWV3Qm94PSIzNTguNCAyMzAuODEgMzUwIDM0OS4xOCIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAzNTguNCAyMzAuODExIDM1MCAzNDkuMTc5IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cmFkaWFsR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBjeD0iLTE2NS42NyIgY3k9IjMxOS45IiByPSIxMDguNTgiIGdyYWRpZW50VHJhbnNmb3JtPSJtYXRyaXgoMy4wMDcgMCAwIC0zLjAwNyA5MTguMDQzMyAxMjUzLjY4MzYpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjOURENUY2Ii8+PHN0b3Agb2Zmc2V0PSIwLjA3IiBzdG9wLWNvbG9yPSIjOThEM0Y1Ii8+PHN0b3Agb2Zmc2V0PSIwLjE2IiBzdG9wLWNvbG9yPSIjODlDRUYzIi8+PHN0b3Agb2Zmc2V0PSIwLjI1IiBzdG9wLWNvbG9yPSIjNzBDNkVGIi8+PHN0b3Agb2Zmc2V0PSIwLjM1IiBzdG9wLWNvbG9yPSIjNEVCQkVBIi8+PHN0b3Agb2Zmc2V0PSIwLjQ1IiBzdG9wLWNvbG9yPSIjMjNBREUzIi8+PHN0b3Agb2Zmc2V0PSIwLjUiIHN0b3AtY29sb3I9IiMwREE2RTAiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiMyRTc3QkMiLz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0yMS40NnYtNy4zOGgyNC40N2wxMC42NiAxMS44OUw0NzAuMjQgNDYxLjQ2ek01NDguMDMgNDQyLjU5YzAgMTEuMzUtOC40OCAxMy42Ny0xNy4wOSAxMy42N2gtMTIuMTd2MTMuNjdoLTE5bC0xMi4wMy0xMy41MyAtMTIuNTggMTMuNTRoLTM4LjY5di00MC44OGgzOS4zOGwxMi4wMyAxMy40IDEyLjQ0LTEzLjRoMzEuMTdDNTM5LjI4IDQyOS4wNSA1NDguMDMgNDMxLjI0IDU0OC4wMyA0NDIuNTl6Ii8+PC9zdmc+DQo=);\n background-size: 48px auto;\n background-blend-mode: darken;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-amex.jp-card-flipped {\n -webkit-transform: none;\n -moz-transform: none;\n -ms-transform: none;\n -o-transform: none;\n transform: none; }\n\n.jp-card.jp-card-amex.jp-card-identified .jp-card-front:before, .jp-card.jp-card-amex.jp-card-identified.jp-card-back:before {\n background-color: #108168; }\n\n.jp-card.jp-card-amex.jp-card-identified .jp-card-front .jp-card-logo.jp-card-amex {\n opacity: 1;\n width: 48px;\n height: 48px;\n top: auto;\n bottom: 10px;\n right: 10px;\n box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3); }\n\n.jp-card.jp-card-amex.jp-card-identified .jp-card-front .jp-card-cvc {\n visibility: visible; }\n\n.jp-card.jp-card-amex.jp-card-identified .jp-card-front .jp-card-lower {\n bottom: 60px; }\n .jp-card.jp-card-amex.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number {\n text-align: center;\n margin: 0 0 15px 0; }\n .jp-card.jp-card-amex.jp-card-identified .jp-card-front .jp-card-lower .jp-card-shiny {\n display: none; }\n\n.jp-card.jp-card-amex.jp-card-identified .jp-card-front:after {\n opacity: 1; }\n\n.jp-card-logo.jp-card-dankort {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53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UgMCA1NSAwIDAuMy0xNC45IDEuMi0zMC42IDIuMS00NS4zTDU1NCA0MDIuNnoiLz48cGF0aCBmaWxsPSIjRkYwMDAwIiBkPSJNNjIzLjYgNDA1LjdjMCAwLjIgMC4yIDAuMiAwLjMgMC4zIC0xNC4xLTE1LjQtMjYuOS0zMi4zLTM5LjMtNDguOWwwLjItMC43YzEyLjgtMTMuMyAyNC42LTI3LjEgMzguNy0zOC45bDAuNCAwLjJMNjIzLjYgNDA1Ljd6Ii8+PHBhdGggZmlsbD0iI0ZGMDAwMCIgZD0iTTQxMC45IDM1OS4xYzAuMiA0LjItMi42IDcuNS01LjggMTAuMSAtOCA2LjEtMTkuOCAzLjItMzAuMiAzLjdsMS45LTIzLjdDMzg3LjMgMzQ5LjkgNDA3LjQgMzQ1LjYgNDEwLjkgMzU5LjF6Ii8+PHBhdGggZD0iTTYwNC42IDQ2MC4xSDM0MS40Yy0yMy4xIDAtNDMuNC0yMC40LTQzLjQtNDMuNVYzMDguOWMwLTIzLjIgMjAuMy00My41IDQzLjQtNDMuNWgyNjMuMWMyMy4xIDAgNDMuNCAyMC40IDQzLjQgNDMuNVY0MTYuNkM2NDggNDM5LjggNjI3LjcgNDYwLjEgNjA0LjYgNDYwLjF6TTM0MS40IDI3MS44Yy0xOS43IDAtMzcgMTcuMy0zNyAzNy4xVjQxNi42YzAgMTkuNyAxNy4zIDM3LjEgMzcgMzcuMWgyNjMuMWMxOS43IDAgMzctMTcuMyAzNy0zNy4xVjMwOC45YzAtMTkuNy0xNy4zLTM3LjEtMzctMzcuMUgzNDEuNEwzNDEuNCAyNzEuOHoiLz48L3N2Zz4NCg==);\n background-size: 72px auto;\n background-color: #fff;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-dankort.jp-card-identified .jp-card-front:before, .jp-card.jp-card-dankort.jp-card-identified .jp-card-back:before {\n background-color: #0055C7; }\n\n.jp-card.jp-card-dankort.jp-card-identified .jp-card-front .jp-card-logo.jp-card-dankort {\n opacity: 1;\n width: 72px;\n height: 40px;\n border-radius: 10px; }\n .jp-card.jp-card-dankort.jp-card-identified .jp-card-front .jp-card-logo.jp-card-dankort:after {\n opacity: 1; }\n\n.jp-card-logo.jp-card-dinersclub {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMCIgeT0iMCIgd2lkdGg9IjM1MCIgaGVpZ2h0PSI5My4yIiB2aWV3Qm94PSItNDcgLTEyLjUgMzUwIDkzLjIiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgLTQ3IC0xMi41MjEgMzUwIDkzLjI0MyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTI4Ny40IDE2LjZjLTEuOCAwLTMuMyAxLjItNC42IDIuM3YxMS45YzAgMS45IDEuOCA1LjEgNS4xIDUuMSA1LjIgMCA3LjUtNS4yIDcuNS05LjZDMjk1LjMgMjEgMjkxLjIgMTYuNiAyODcuNCAxNi42eiIvPjxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik04NC40IDMuNmMtMi4xIDAtMi45IDAuMS0zLjggMC4xdjI2LjdjMCAzLjggMi43IDQuMiA1LjEgNC4yIDEwLjcgMCAxNC4xLTcuOSAxNC4xLTE1LjNDOTkuOCAxMC4zIDk0IDMuNiA4NC40IDMuNnoiLz48cGF0aCBmaWxsPSJub25lIiBkPSJNMTU1LjkgMjEuMmMxLjIgMCAxLjQtMC43IDEuNC0xLjIgMC0yLjUtMS41LTQuNS00LjItNC41IC0zIDAtNS4xIDIuMi01LjYgNS43SDE1NS45TDE1NS45IDIxLjIgMTU1LjkgMjEuMnoiLz48cGF0aCBkPSJNMjQ4LjcgMzMuNFYtMC41YzAtMC40LTAuMS0wLjctMC40LTAuNyAtMC4xIDAtMC41IDAuMy0xLjEgMC41IC0xIDAuNS0zLjEgMS41LTUuMSA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QyLjctMTkuMSA0Mi43LTQyLjdTMjMuNy04LjcgMC4yLTguN3pNLTkuNSA1OS4zVjguOEMtMTkuNyAxMi44LTI2LjkgMjIuNS0yNi45IDM0LjEgLTI2LjkgNDUuNi0xOS43IDU1LjMtOS41IDU5LjN6TTI3LjIgMzRjMC0xMS41LTcuMi0yMS4zLTE3LjQtMjUuM3Y1MC42QzIwIDU1LjQgMjcuMSA0NS42IDI3LjIgMzR6Ii8+PC9zdmc+DQo=);\n background-size: 166px auto;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front:before, .jp-card.jp-card-dinersclub.jp-card-identified .jp-card-back:before {\n background-color: #808080; }\n\n.jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front .jp-card-logo.jp-card-dinersclub {\n opacity: 1;\n left: 10%;\n width: 168px;\n height: 48px; }\n .jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front .jp-card-logo.jp-card-dinersclub:after {\n opacity: 1; }\n\n.jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front .jp-card-lower {\n bottom: 16px; }\n .jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front .jp-card-lower .jp-card-shiny {\n display: none; }\n .jp-card.jp-card-dinersclub.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number {\n text-align: center;\n margin-bottom: 16px; }\n\n.jp-card-logo.jp-card-discover {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHdpZHRoPSIzNTAiIGhlaWdodD0iNTcuNTYiIHZpZXdCb3g9IjcyMSAzODcuNjIgMzUwIDU3LjU2IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDcyMSAzODcuNjIgMzUwIDU3LjU1OCIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGcgaWQ9IkxheWV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IDM5My4yOCAxMDY2Ljk3IDM5My41NiAxMDY2LjM5IDM5My41NnpNMTA2Ni44MSAzODkuNmMtMi4zMyAwLTQuMjcgMS45LTQuMjcgNC4yNyAwIDIuMzcgMS45IDQuMjcgNC4yNyA0LjI3IDIuMjUgMCA0LjE5LTEuOSA0LjE5LTQuMjdDMTA3MSAzOTEuNSAxMDY5LjE0IDM4OS42IDEwNjYuODEgMzg5LjZ6TTEwNjYuODEgMzk3LjI0Yy0xLjg2IDAtMy40MS0xLjU1LTMuNDEtMy40OXMxLjQ3LTMuNDkgMy40MS0zLjQ5YzEuODYgMCAzLjM0IDEuNTUgMy4zNCAzLjQ5UzEwNjguNjcgMzk3LjI0IDEwNjYuODEgMzk3LjI0eiIvPjwvZz48L3N2Zz4NCg==);\n background-size: 256px auto;\n background-position: center;\n background-repeat: no-repeat;\n /*\n $orange: #FF6600;\n $offset: 9px;\n background: $orange;\n color: #111;\n text-transform: uppercase;\n font-style: normal;\n font-weight: bold;\n font-size: 10px;\n text-align: center;\n overflow: hidden;\n z-index: 1;\n padding-top: $offset;\n letter-spacing: .03em;\n border: 1px solid #EEE;\n\n &:before, &:after {\n content: ' ';\n display: block;\n position: absolute;\n }\n\n &:before {\n $size: 200px;\n background: white;\n width: $size;\n height: $size;\n border-radius: $size;\n bottom: -5%;\n right: -80%;\n z-index: -1;\n }\n\n &:after {\n $size: 8px;\n width: $size;\n height: $size;\n border-radius: $size /2;\n top: $offset + 1;\n left: 27px;\n @include radial-gradient(#FFF, $orange);\n content: 'network';\n font-size: 4px;\n line-height: 24px;\n text-indent: -7px;\n }\n */ }\n\n/*\n.jp-card {\n .jp-card-front .jp-card-logo.discover {\n right: 10%;\n top: 14%;\n }\n}\n*/\n.jp-card.jp-card-discover.jp-card-identified .jp-card-front:before, .jp-card.jp-card-discover.jp-card-identified .jp-card-back:before {\n background-color: #86B8CF; }\n\n.jp-card.jp-card-discover.jp-card-identified .jp-card-front:after {\n -webkit-transition: 400ms;\n -moz-transition: 400ms;\n transition: 400ms;\n content: ' ';\n display: block;\n background-color: #FF6600;\n background-image: -webkit-linear-gradient(#FF6600, #ffa366, #FF6600);\n background-image: linear-gradient(#FF6600, #ffa366, #FF6600);\n height: 50px;\n width: 50px;\n border-radius: 25px;\n position: absolute;\n left: 100%;\n top: 15%;\n margin-left: -25px;\n box-shadow: inset 1px 1px 3px 1px rgba(0, 0, 0, 0.5); }\n\n.jp-card.jp-card-discover.jp-card-identified .jp-card-front .jp-card-logo.jp-card-discover {\n opacity: 1;\n width: 256px;\n height: 50px;\n top: 15%;\n left: 15%; }\n\n.jp-card.jp-card-discover.jp-card-identified .jp-card-front .jp-card-lower .jp-card-shiny {\n display: none; }\n\n.jp-card.jp-card-discover.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number {\n margin-bottom: 15px; }\n\n.jp-card-logo.jp-card-jcb {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHdpZHRoPSIzNTAiIGhlaWdodD0iMjY5LjYiIHZpZXdCb3g9IjcyMS4zIDUzMCAzNTAgMjY5LjYiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgNzIxLjMgNTI5Ljk5NSAzNTAgMjY5LjYwOSIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTEwNzEuMyA3NDUuMmMwIDMwLjEtMjQuMyA1NC40LTU0LjQgNTQuNEg3MjEuM1Y1ODQuNGMwLTMwLjEgMjQuNS01NC40IDU0LjQtNTQuNEgxMDcxLjNWNzQ1LjJMMTA3MS4zIDc0NS4yIDEwNzEuMyA3NDUuMnoiLz48bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjIwLjEiIHkx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uNDY2NyAtNTk1LjEyMDUgLTEyOS41NTg4KSI+PHN0b3Agb2Zmc2V0PSIwIiBzdG9wLWNvbG9yPSIjMDQ3QzQwIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjNTdCMzQ3Ii8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBmaWxsPSJ1cmwoI1NWR0lEXzVfKSIgZD0iTTk3NC42IDY2OS43aDIyLjRjMCAwIDEwLjcgMC4xIDEwLjcgOS43IDAgMTAuNC05LjIgMTAuOC05LjIgMTAuOGwtMjMuOSAwLjFWNjY5LjdMOTc0LjYgNjY5Ljd6Ii8+PC9zdmc+DQo=);\n background-size: 72px auto;\n background-color: #fff;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-jcb.jp-card-identified .jp-card-front:before, .jp-card.jp-card-jcb.jp-card-identified .jp-card-back:before {\n background-color: #D4B055; }\n\n.jp-card.jp-card-jcb.jp-card-identified .jp-card-front .jp-card-logo.jp-card-jcb {\n opacity: 1;\n width: 72px;\n height: 56px;\n border-radius: 12px 0; }\n\n.jp-card-logo.jp-card-maestro {\n background-image: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDYuNzggMTIwLjY0Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6bm9uZTt9LmNscy0ye2ZpbGw6I2ZmZjt9LmNscy0ze2ZpbGw6Izc2NzNjMDt9LmNscy00e2ZpbGw6I2ViMDAxYjt9LmNscy01e2ZpbGw6IzAwYTFkZjt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPm1zX3ZydF9yZ2JfcmV2PC90aXRsZT48cmVjdCBjbGFzcz0iY2xzLTEiIHdpZHRoPSIxNDYuNzgiIGhlaWdodD0iMTIwLjY0Ii8+PHBhdGggY2xhc3M9Im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NDUuNjgpIi8+PC9nPjwvc3ZnPg==);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front:before, .jp-card.jp-card-maestro.jp-card-identified .jp-card-back:before {\n background-color: #194C91; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-logo.jp-card-maestro {\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-back .legal {\n color: #fff; }\n\n.jp-card-logo.jp-card-mastercard {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMzEuMzkgODYuOSI+PGRlZnM+PHN0eWxlPi5he29wYWNpdHk6MDt9LmJ7ZmlsbDojZmZmO30uY3tmaWxsOiNmZjVmMDA7fS5ke2ZpbGw6I2ViMDAxYjt9LmV7ZmlsbDojZjc5ZTFiO308L3N0eWxlPjwvZGVmcz48dGl0bGU+QXNzZXQgMTwvdGl0bGU+PGcgY2xhc3M9ImEiPjxyZWN0IGNsYXNzPSJiIiB3aWR0aD0iMTMxLjM5IiBoZWlnaHQ9Ijg2LjkiLz48L2c+PHJlY3QgY2xhc3M9ImMiIHg9IjQ4LjM3IiB5PSIxNS4xNCIgd2lkdGg9IjM0LjY2IiBoZWlnaHQ9IjU2LjYxIi8+PHBhdGggY2xhc3M9ImQiIGQ9Ik01MS45NCw0My40NWEzNS45NCwzNS45NCwwLDAsMSwxMy43NS0yOC4zLDM2LDM2LDAsMSwwLDAsNTYuNjFBMzUuOTQsMzUuOTQsMCwwLDEsNTEuOTQsNDMuNDVaIi8+PHBhdGggY2xhc3M9ImUiIGQ9Ik0xMjAuNSw2NS43NlY2NC42SDEyMXYtLjI0aC0xLjE5di4yNGguNDd2MS4xNlptMi4zMSwwdi0xLjRoLS4zNmwtLjQyLDEtLjQyLTFoLS4zNnYxLjRoLjI2VjY0LjdsLjM5LjkxaC4yN2wuMzktLjkxdjEuMDZaIi8+PHBhdGggY2xhc3M9ImUiIGQ9Ik0xMjMuOTQsNDMuNDVhMzYsMzYsMCwwLDEtNTguMjUsMjguMywzNiwzNiwwLDAsMCwwLTU2LjYxLDM2LDM2LDAsMCwxLDU4LjI1LDI4LjNaIi8+PC9zdmc+);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front:before, .jp-card.jp-card-mastercard.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-logo.jp-card-mastercard {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-rupay {\n background-image: url(data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA3NSA1MCIgdmlld0JveD0iMCAwIDc1IDUwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im0wIDBoNzV2NTBoLTc1eiIgZmlsbD0iI2ZmZiIvPjxnIGZpbGw9IiMyYTJhODkiPjxwYXRoIGQ9Im00MS41NzggMjAuMDRjLjMwMS0yLjM4Ny0xLjUxNy0zLjM4My0zLjc4OS0zLjM4My0xLjA2NiAwLTUuOTY3IDAtNS45NjcgMGwtMy41MjIgMTIuODM4aDMuNzkxbDEuMDY2LTMuOTU4IDMuMDIxLjAxOWMuMDAxLS4wMDEgNC42NzkuMTk3IDUuNC01LjUxNnptLTMuODk5IDEuMjc0Yy0uNDkzIDEuMzc2LTEuODUzIDEuMjE0LTEuODUzIDEuMjE0bC0xLjg1Ni4wMDEuNzMzLTIuNzI3czEuMTc1LjAwNiAxLjk1MS4wMDZjLjk1IDAgMS4yOTUuNzU1IDEuMDI1IDEuNTA2eiIvPjxwYXRoIGQ9Im0xOS45MTkgMjAu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jE0NiA3LjYxMi03LjA3M3oiIGZpbGw9IiNmMDcyMWQiLz48L3N2Zz4=);\n background-size: 166px auto;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-rupay.jp-card-identified .jp-card-front:before, .jp-card.jp-card-rupay.jp-card-identified .jp-card-back:before {\n background-color: #FFFFFF; }\n\n.jp-card.jp-card-rupay.jp-card-identified .jp-card-front .jp-card-display, .jp-card.jp-card-rupay.jp-card-identified .jp-card-back .jp-card-display {\n color: #000000; }\n\n.jp-card.jp-card-rupay.jp-card-identified .jp-card-front .jp-card-logo.jp-card-rupay {\n opacity: 1;\n width: 168px;\n height: 48px; }\n\n.jp-card-logo.jp-card-unionpay {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMCIgeT0iMCIgd2lkdGg9IjM1MCIgaGVpZ2h0PSIyMjMuNiIgdmlld0JveD0iMzU3LjMgMjg1LjggMzUwIDIyMy42IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDM1Ny4yNTEgMjg1Ljc5NyAzNTAgMjIzLjYwNiIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PHBhdGggZmlsbD0iIzAxNzk4QSIgZD0iTTY4OS45IDI4NS44aC04Ni4xbDAgMGgtMC4xYy0xMS45IDAuNC0yNi41IDkuOC0yOS4yIDIxLjZsLTQwLjcgMTgwLjNjLTIuNyAxMS45IDQuNiAyMS41IDE2LjQgMjEuNmg5MC41YzExLjYtMC41IDIyLjgtMTAgMjUuNC0yMS41bDQwLjctMTgwLjNDNzA5LjMgMjk1LjUgNzAxLjggMjg1LjggNjg5LjkgMjg1LjgiLz48cGF0aCBmaWxsPSIjMDI0MzgxIiBkPSJNNTMzLjQgNDg3LjdsNDAuNy0xODAuM2MyLjctMTEuOCAxNy41LTIxLjIgMjkuMi0yMS42aC0zNC4zIC02MS44Yy0xMS45IDAu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gMTMgLTEuOCAxLjktNS41IDYuMy0xNC40IDUuOWwwLjgtNS4zYzcuNC0yLjMgMTEuNS0xMi42IDEzLjctMTcuMmwtMi43LTMzLjYgNS43LTAuMWg0LjhsMC41IDIxIDktMjFoOS4yTDY2MS40IDQwMS40Ii8+PHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTYzNS44IDM2Ni43bC0zLjcgMi41Yy0zLjgtMy03LjItNC44LTEzLjktMS42IC05LjIgNC4yLTE2LjcgMzYuNiA4LjMgMjZsMS41IDEuNiA5LjggMC4zIDYuNC0yOS40TDYzNS44IDM2Ni43TTYzMC4yIDM4Mi44Yy0xLjYgNC42LTUuMSA3LjgtNy45IDYuOCAtMi43LTAuOC0zLjctNS4zLTIuMi0xMC4xIDEuNi00LjYgNS4yLTcuOCA3LjktNi44QzYzMC45IDM3My43IDYzMS44IDM3OC4yIDYzMC4yIDM4Mi44Ii8+PC9zdmc+DQo=);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-unionpay.jp-card-identified .jp-card-front:before, .jp-card.jp-card-unionpay.jp-card-identified .jp-card-back:before {\n background-color: #D4B055; }\n\n.jp-card.jp-card-unionpay.jp-card-identified .jp-card-front .jp-card-logo.jp-card-unionpay {\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card.jp-card-unionpay.jp-card-identified .jp-card-front .jp-card-lower .number {\n line-height: 24px;\n font-size: 20px; }\n\n.jp-card-logo.jp-card-visa {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2aWV3Qm94PSI5Ni4wNDUgNzcuMyA3MCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgwLjMwMjU1MiwgMCwgMCwgMC4zMDI1NTIsIC0zODQuNzU4MDQ4LCAtMTk3LjI0M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.jp-card-front:before, .jp-card.jp-card-visa.jp-card-identified .jp-card-back:before {\n background-color: #1a1f71; }\n\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-logo.jp-card-visa {\n border-radius: 2px;\n height: 42px;\n opacity: 1;\n width: 78px; }\n\n.jp-card-logo.jp-card-argencard {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSGVhZGVyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNzUgNTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDc1IDUwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I0ZGMDMwMTsiIGQ9Ik00OS4yNzgsMjUuMTczbC02Ljk4Myw5LjY0CgkJQzQwLjM4NCwzNC4zOTcsMTQuMjk4LDM4LjkxMiwxNCwxNi40NDhjMC4zNS00Ljk3OSwyLjEzOC0xNi44MTksMjQuNTI4LTE2LjQzM0M1NC42MjEtMC4zMzgsNTguODUsNS41NTcsNTguMzE0LDQuOQoJCWM0LjY1Miw0LjIwMyw1LjE0NCw5LjAwOSw1LjI2MSw5LjA4djIwLjgzNGwtMTIuMzAxLDAuMDA0VjkuNzU3SDI3LjMzNGwwLjAxMywxNS40MTZINDkuM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zNDZjLTAuMjAzLTAuMzA0LTAuMzk5LTAuNTM1LTAuNTg3LTAuNjkzCgkJYy0wLjE4OC0wLjE2NC0wLjM4NC0wLjI0NC0wLjU4Ny0wLjI0NGMtMC4xODYsMC0wLjM0NSwwLjA1NS0wLjQ4MSwwLjE2NWMtMC4xMzMsMC4xMDktMC4yNDEsMC4yNTYtMC4zMjMsMC40MzkKCQljLTAuMDgsMC4xODItMC4xNDEsMC4zODYtMC4xODIsMC42MTJjLTAuMDM4LDAuMjI2LTAuMDU3LDAuNDU1LTAuMDU3LDAuNjkxYzAsMC4yNDksMC4wMTcsMC40OTQsMC4wNSwwLjcyOAoJCWMwLjAzNCwwLjIzOCwwLjA4OSwwLjQ0OCwwLjE2OCwwLjYzMmMwLjA3NywwLjE4NiwwLjE4LDAuMzMzLDAuMzA4LDAuNDQ2YzAuMTMsMC4xMTEsMC4yOTIsMC4xNjcsMC40ODgsMC4xNjcKCQljMC4wOTksMCwwLjE5My0wLjAxNiwwLjI4Ny0wLjA1YzAuMDkyLTAuMDMyLDAuMTg3LTAuMDg2LDAuMjg1LTAuMTYyYzAuMDk1LTAuMDc3LDAuMTk2LTAuMTc1LDAuMjk1LTAuMjk5CgkJYzAuMTA0LTAuMTIxLDAuMjE3LTAuMjcyLDAuMzM3LTAuNDUxVjQzLjM0Nkw2Mi4wMjQsNDMuMzQ2eiIvPgo8L2c+Cjwvc3ZnPgo=);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-argencard.jp-card-identified .jp-card-front:before, .jp-card.jp-card-argencard.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-argencard.jp-card-identified .jp-card-front .jp-card-logo.jp-card-argencard {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-cabal {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaX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uMzE3LDAuMTU2LTAuNTksMC4xNTZsLTAuMDQyLDAuMTU2aDQuNTE4TDUwLjg1NywzNy4wMjFMNTAuODU3LDM3LjAyMXoiLz4KPC9nPgo8L3N2Zz4K);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-cabal.jp-card-identified .jp-card-front:before, .jp-card.jp-card-cabal.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-cabal.jp-card-identified .jp-card-front .jp-card-logo.jp-card-cabal {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-nativa {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSGVhZGVyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNzUgNTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDc1IDUwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggc3R5bGU9ImZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO2ZpbGw6I0YzQjUzMTsiIGQ9Ik04LjI3MiwzNi4xODFjMC41OC0xLjk2OSwxLjE2LTMuOTM3LDEuNzQtNS45MDcKCQljLTAuMDEzLTAuMDExLTAuMDI3LTAuMDIyLTAuMDQtMC4wMzNjLT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TctMC4zMjJDNTkuNzUxLDMzLjUwOCw1OS43LDMzLjU2Niw1OS42NjUsMzMuNjMxeiIvPgo8L2c+Cjwvc3ZnPgo=);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-nativa.jp-card-identified .jp-card-front:before, .jp-card.jp-card-nativa.jp-card-identified .jp-card-back:before {\n background-color: #d6e6f5; }\n\n.jp-card.jp-card-nativa.jp-card-identified .jp-card-front .jp-card-logo.jp-card-nativa {\n background-size: 70px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-naranja {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTguMS4xLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iSGVhZGVyIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgNzUgNTAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDc1IDUwOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPGc+CgkJPHBhdGggc3R5bGU9ImZpbGw6I0YwNUEyMjsiIGQ9Ik0xMi4wMDUsMTQuNjE3djIwLjkwNGMwLDAtMC4zNDgsMy44NDEsNC43NjMsNS4wMDhjNS4xMDcsMS4xNzQsNDAuMjc5LDkuMzgxLDQwLjI3OSw5LjM4MQoJCQlzNS40MSwxLjI1Nyw1LjQxLTUuNjQyYzAtNi43MTQsMC0zOS41NjE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i42NTYtMi4yNTdjMC0xLjEzNCwwLjU0NS0xLjc5NywxLjI5Ny0yLjE2NwoJCQkJYzAuNzU0LTAuMzcsMS43MjctMC40NDIsMi41NTMtMC40NDJINTguOWMwLTEuMjI1LTAuNTQ0LTEuNjM4LTEuNzA4LTEuNjM4Yy0wLjgzOSwwLTEuNjgsMC4zMjYtMi4zNDQsMC44M0w1NC43ODYsMjMuNTA5egoJCQkJIE01Ny4xMDEsMjkuNDM4YzAuNjAzLDAsMS4wNzYtMC4yNjgsMS4zODgtMC42NzhjMC4zMjQtMC40MjcsMC40MTEtMC45NzUsMC40MTEtMS41NjJoLTAuODUyYy0wLjg4NiwwLTIuMTk4LDAuMTQ1LTIuMTk4LDEuMzA4CgkJCQlDNTUuODUxLDI5LjE1OCw1Ni4zOTUsMjkuNDM4LDU3LjEwMSwyOS40Mzh6Ii8+CgkJPC9nPgoJCTxwYXRoIHN0eWxlPSJmaWxsOiNGRkZGRkY7IiBkPSJNNDkuOTMsMzMuMzExYzEuMDY0LTAuMDYyLDEuMjEtMC4yNjgsMS4yMS0xLjQ0OXYtOC44MmgxLjk4NHY4LjE3OGMwLDEuMDgtMC4zMSwyLjcyMS0yLjI5LDIuNzIxCgkJCWMtMC4zMjYsMC0wLjczLTAuMDQzLTAuOTgtMC4xMTZMNDkuOTMsMzMuMzExeiIvPgoJPC9nPgo8L2c+Cjwvc3ZnPgo=);\n background-size: 166px auto;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-naranja.jp-card-identified .jp-card-front:before, .jp-card.jp-card-naranja.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-naranja.jp-card-identified .jp-card-front .jp-card-logo.jp-card-naranja {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-cencosud {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4N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MC4yNDgtMC4xMS0wLjQ2NC0wLjI1NC0wLjY1My0wLjQzMQoJCQljLTAuMTc4LTAuMTg5LTAuMzItMC40MDMtMC40MzEtMC42NTFsMCwwYy0wLjA5OS0wLjI0OS0wLjE0OS0wLjUxMi0wLjE0OS0wLjc5M2MwLTAuMjc5LDAuMDUtMC41MzQsMC4xNDktMC43NzIKCQkJYzAuMTEtMC4yNTEsMC4yNTEtMC40NjMsMC40MzEtMC42NDFjMC4xODktMC4xODcsMC40MDUtMC4zMzEsMC42NTItMC40MjhsMC4wMDMtMC4wMDJsMC4wMDItMC4wMDEKCQkJYzAuMjUtMC4xMDksMC41MDgtMC4xNjEsMC43ODktMC4xNjFoMi4wMDd2Mi4wMDVjLTAuMDAyLDAuMjgtMC4wNTQsMC41MzktMC4xNjUsMC43ODhsLTAuMDAyLDAuMDAzdjAuMDAyCgkJCWMtMC4wOTksMC4yNDYtMC4yNDIsMC40NjMtMC40MzEsMC42NTFjLTAuMTc2LDAuMTc3LTAuMzg5LDAuMzItMC42MzcsMC40MzFsMCwwYy0wLjIzNywwLjA5Ny0wLjQ5MywwLjE0OC0wLjc3MywwLjE0OHYwLjE2MwoJCQloLTAuMDAydi0wLjE2M0M2My41MTQsMjcuNDc3LDYzLjI1MywyNy40MjUsNjMuMDAzLDI3LjMyOHoiLz4KCTwvZz4KCTxwYXRoIHN0eWxlPSJmaWxsOiNGRjY5MEE7IiBkPSJNNDUuODcxLDE0LjU0NGMwLTAuNzU2LDAuNjEzLTEuMzcxLDEuMzcyLTEuMzcxYzAuNzYsMCwxLjM3NCwwLjYxNSwxLjM3NCwxLjM3MQoJCWMwLDAuNzU3LTAuNjEzLDEuMzcyLTEuMzc0LDEuMzcyQzQ2LjQ4NCwxNS45MTYsNDUuODcxLDE1LjMwMSw0NS44NzEsMTQuNTQ0Ii8+CjwvZz4KPC9zdmc+Cg==);\n background-size: 166px auto;\n background-position: center;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-cencosud.jp-card-identified .jp-card-front:before, .jp-card.jp-card-cencosud.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-cencosud.jp-card-identified .jp-card-front .jp-card-logo.jp-card-cencosud {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card-logo.jp-card-mir {\n background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iNzUuMDAwMDAwcHQiIGhlaWdodD0iMjYuMDAwMDAwcHQiIHZpZXdCb3g9IjAgMCA3NS4wMDAwMDAgMjYuMDAwMDAwIgogcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCI+CjxtZXRhZGF0YT4KQ3JlYXRlZCBieSBwb3RyYWNlIDEuMTYsIHdyaXR0ZW4gYnkgUGV0ZXIgU2VsaW5nZXIgMjAwMS0yMDE5CjwvbWV0YWRhdGE+CjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuMDAwMDAwLDI2LjAwMDAwMCkgc2NhbGUoMC4xMDAwMDAsLTAuMTAwMDAwKSIKZmlsbD0iIzAwMDAwMCIgc3Ryb2tlPSJub25lIj4KPHBhdGggZD0iTTAgMTMwIGwwIC0xMzAgNDUgMCA0NSAwIDEgNTMgMSA1MiAxNyAtNTAgYzE3IC00OCAxOSAtNTAgNTggLTUzCmw0MCAtMyAxNiA1MyAxNSA1MyAxIC01MiAxIC01MyA1MCAwIDUwIDAgMCAxMzAgMCAxMzEgLTY3IC0zIC02OCAtMyAtMjAgLTY0Ci0yMSAtNjQgLTEzIDU0IGMtNyAzMCAtMTggNjAgLTI0IDY3IC01IDcgLTMzIDEyIC02OCAxMiBsLTU5IDAgMCAtMTMweiIvPgo8cGF0aCBkPSJNMzYwIDEzMCBsMCAtMTMwIDUwIDAgNTAgMCAwIDEzMCAwIDEzMCAtNTAgMCAtNTAgMCAwIC0xMzB6Ii8+CjxwYXRoIGQ9Ik01NjAgMjA2IGMwIC0zNCA1IC01NiAxMyAtNTkgNiAtMyAtMTIgLTYgLTQwIC02IGwtNTMgLTEgMCAtNzAgMAotNzAgNTAgMCA1MCAwIDAgMzUgYzAgNDQgMTIgNDQgMzkgMCAxOSAtMzMgMjMgLTM1IDc2IC0zNSAzMCAwIDU1IDMgNTUgOCAwIDQKLTkgMTggLTIwIDMyIC0yNSAzMiAtMjUgNDIgMCA1OCAxNiAxMCAyMCAyMyAyMCA2NSAwIDc4IC0yMyA5NyAtMTE4IDk3IGwtNzIKMCAwIC01NHoiLz4KPC9nPgo8L3N2Zz4K);\n background-position: center;\n background-size: 72px auto;\n background-repeat: no-repeat; }\n\n.jp-card.jp-card-mir.jp-card-identified .jp-card-front:before, .jp-card.jp-card-mir.jp-card-identified .jp-card-back:before {\n background-color: #223748; }\n\n.jp-card.jp-card-mir.jp-card-identified .jp-card-front .jp-card-logo.jp-card-mir {\n background-size: 80px auto;\n bottom: 8%;\n opacity: 1;\n width: 72px;\n height: 50px; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-logo,\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-logo,\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-logo {\n bottom: 7%;\n top: auto; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-lower,\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-lower,\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-lower {\n bottom: 20px; }\n .jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number,\n .jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number,\n .jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-lower .jp-card-number {\n margin-bottom: 0; }\n\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-expiry,\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-shiny,\n.jp-card.jp-card-maestro.jp-card-identified .jp-card-front .jp-card-name,\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-expiry,\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-shiny,\n.jp-card.jp-card-mastercard.jp-card-identified .jp-card-front .jp-card-name,\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-expiry,\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-shiny,\n.jp-card.jp-card-visa.jp-card-identified .jp-card-front .jp-card-name {\n display: none; }\n\n.jp-card-container {\n -webkit-perspective: 1000px;\n -moz-perspective: 1000px;\n perspective: 1000px;\n width: 350px;\n max-width: 100%;\n height: 200px;\n margin: auto;\n z-index: 1;\n position: relative; }\n\n.jp-card {\n font-family: 'Helvetica Neue';\n line-height: 1;\n position: relative;\n width: 100%;\n height: 100%;\n min-width: 315px;\n border-radius: 10px;\n -webkit-backface-visibility: hidden;\n /* Chrome, Safari, Opera */\n backface-visibility: hidden;\n -webkit-transform-style: preserve-3d;\n -moz-transform-style: preserve-3d;\n -ms-transform-style: preserve-3d;\n -o-transform-style: preserve-3d;\n transform-style: preserve-3d;\n -webkit-transition: all 400ms linear;\n -moz-transition: all 400ms linear;\n transition: all 400ms linear; }\n .jp-card > *, .jp-card > *:before, .jp-card > *:after {\n -moz-box-sizing: border-box;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-family: inherit; }\n .jp-card.jp-card-flipped {\n -webkit-transform: rotateY(180deg);\n -moz-transform: rotateY(180deg);\n -ms-transform: rotateY(180deg);\n -o-transform: rotateY(180deg);\n transform: rotateY(180deg); }\n .jp-card .jp-card-front, .jp-card .jp-card-back {\n -moz-backface-visibility: hidden;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n -webkit-transform-style: preserve-3d;\n -moz-transform-style: preserve-3d;\n -ms-transform-style: preserve-3d;\n -o-transform-style: preserve-3d;\n transform-style: preserve-3d;\n -webkit-transition: all 400ms linear;\n -moz-transition: all 400ms linear;\n transition: all 400ms linear;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n left: 0;\n overflow: hidden;\n border-radius: 10px;\n background: #444; }\n .jp-card .jp-card-front:before, .jp-card .jp-card-back:before {\n content: ' ';\n display: block;\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n opacity: 0;\n border-radius: 10px;\n -webkit-transition: all 400ms ease;\n -moz-transition: all 400ms ease;\n transition: all 400ms ease; }\n .jp-card .jp-card-front:after, .jp-card .jp-card-back:after {\n content: ' ';\n display: block; }\n .jp-card .jp-card-front .jp-card-display, .jp-card .jp-card-back .jp-card-display {\n color: white;\n font-weight: normal;\n opacity: 0.5;\n -webkit-transition: opacity 400ms linear;\n -moz-transition: opacity 400ms linear;\n transition: opacity 400ms linear; }\n .jp-card .jp-card-front .jp-card-display.jp-card-focused, .jp-card .jp-card-back .jp-card-display.jp-card-focused {\n opacity: 1;\n font-weight: 700; }\n .jp-card .jp-card-front .jp-card-cvc, .jp-card .jp-card-back .jp-card-cvc {\n font-family: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;\n font-size: 14px; }\n .jp-card .jp-card-front .jp-card-shiny, .jp-card .jp-card-back .jp-card-shiny {\n width: 50px;\n height: 36px;\n border-radius: 5px;\n background-color: #FAD766;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeD0iMCIgeT0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0wLjJjLTIuNCAzLjEtMi40IDcuMSAwLjMgOUwzMS42IDM3LjMgMzEuNiAzNy4zeiIvPjwvc3ZnPgo=);\n background-position: center;\n background-size: 47px auto;\n background-repeat: no-repeat;\n position: relative;\n /*\n &:before {\n @include shape();\n $height: 60%;\n width: 70%;\n height: $height;\n border-top-right-radius: $radius;\n border-bottom-right-radius: $radius;\n background: lighten($color, 5%);\n position: absolute;\n top: (100% - $height) / 2\n }\n */ }\n .jp-card .jp-card-front .jp-card-logo {\n position: absolute;\n opacity: 0;\n right: 5%;\n top: 8%;\n -webkit-transition: 400ms;\n -moz-transition: 400ms;\n transition: 400ms; }\n .jp-card .jp-card-front .jp-card-lower {\n width: 80%;\n position: absolute;\n left: 10%;\n bottom: 30px; }\n @media only screen and (max-width: 480px) {\n .jp-card .jp-card-front .jp-card-lower {\n width: 90%;\n left: 5%; } }\n .jp-card .jp-card-front .jp-card-lower .jp-card-cvc {\n visibility: hidden;\n float: right;\n position: relative;\n bottom: 5px; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-number {\n font-family: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;\n font-size: 24px;\n clear: both;\n margin-bottom: 30px; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-expiry {\n font-family: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;\n letter-spacing: 0em;\n position: relative;\n float: right;\n width: 25%; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-expiry:before, .jp-card .jp-card-front .jp-card-lower .jp-card-expiry:after {\n font-family: 'Helvetica Neue';\n font-weight: bold;\n font-size: 7px;\n white-space: pre;\n display: block;\n opacity: .5; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-expiry:before {\n content: attr(data-before);\n margin-bottom: 2px;\n font-size: 7px;\n text-transform: uppercase; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-expiry:after {\n position: absolute;\n content: attr(data-after);\n text-align: right;\n right: 100%;\n margin-right: 5px;\n margin-top: 2px;\n bottom: 0; }\n .jp-card .jp-card-front .jp-card-lower .jp-card-name {\n text-transform: uppercase;\n font-family: 'Bitstream Vera Sans Mono', Consolas, Courier, monospace;\n font-size: 20px;\n max-height: 45px;\n position: absolute;\n bottom: 0;\n width: 190px;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: horizontal;\n overflow: hidden;\n text-overflow: ellipsis; }\n .jp-card .jp-card-back {\n -webkit-transform: rotateY(180deg);\n -moz-transform: rotateY(180deg);\n -ms-transform: rotateY(180deg);\n -o-transform: rotateY(180deg);\n transform: rotateY(180deg); }\n .jp-card .jp-card-back .jp-card-bar {\n background-color: #444;\n background-image: -webkit-linear-gradient(#444, #333);\n background-image: linear-gradient(#444, #333);\n width: 100%;\n height: 20%;\n position: absolute;\n top: 10%; }\n .jp-card .jp-card-back:after {\n content: ' ';\n display: block;\n background-color: #FFF;\n background-image: -webkit-linear-gradient(#FFF, #FFF);\n background-image: linear-gradient(#FFF, #FFF);\n width: 80%;\n height: 16%;\n position: absolute;\n top: 40%;\n left: 2%; }\n .jp-card .jp-card-back .jp-card-cvc {\n position: absolute;\n top: 40%;\n left: 85%;\n -webkit-transition-delay: 600ms;\n -moz-transition-delay: 600ms;\n transition-delay: 600ms; }\n .jp-card .jp-card-back .jp-card-legalText {\n position: absolute;\n left: 2%;\n top: 66%;\n color: white;\n font-size: 9px;\n width: 230px;\n opacity: .5; }\n .jp-card.jp-card-identified {\n box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }\n .jp-card.jp-card-identified .jp-card-front, .jp-card.jp-card-identified .jp-card-back {\n background-color: #000;\n background-color: rgba(0, 0, 0, 0.5); }\n .jp-card.jp-card-identified .jp-card-front:before, .jp-card.jp-card-identified .jp-card-back:before {\n -webkit-transition: all 400ms ease;\n -moz-transition: all 400ms ease;\n transition: all 400ms ease;\n background-image: -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%);\n background-image: linear-gradient(-25deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%);\n opacity: 1; }\n .jp-card.jp-card-identified.no-radial-gradient .jp-card-front:before, .jp-card.jp-card-identified.no-radial-gradient .jp-card-back:before {\n background-image: -webkit-linear-gradient(-245deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%);\n background-image: linear-gradient(-25deg, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0.2) 100%, rgba(255, 255, 255, 0) 90%); }\n";
_dereq_("sassify")(css),module.exports=css},{sassify:6}]},{},[7])(7)});
\ No newline at end of file
diff --git a/composer.json b/composer.json
index f6b9d93..c3b94ec 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,7 @@
"description": "emerchantpay Gateway Module for OpenCart",
"type": "opencart-module",
"license": "GPL-2.0",
- "version": "1.1.4",
+ "version": "1.1.5",
"authors": [
{
"name": "emerchantpay",
@@ -11,14 +11,30 @@
"homepage":"https://emerchantpay.com"
}
],
+ "minimum-stability": "stable",
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
- "phpmd/phpmd": "^2.13"
+ "phpmd/phpmd": "^2.15"
},
- "minimum-stability": "stable",
"scripts": {
"pack": [
"bin/pack-ocmod.sh"
+ ],
+ "php-cs": [
+ "vendor/bin/phpcs . --standard=.phpcs.xml"
+ ],
+ "php-md": [
+ "vendor/bin/phpmd . ansi .phpmd.xml --not-strict"
+ ],
+ "php-cs-jenkins": [
+ "vendor/bin/phpcs . --standard=.phpcs.xml --report=checkstyle --report-file=phpcs_report.xml"
+ ],
+ "php-md-jenkins": [
+ "vendor/bin/phpmd . xml .phpmd.xml --reportfile phpmd_report.xml --not-strict --ignore-violations-on-exit"
+ ],
+ "styles": [
+ "@php-cs",
+ "@php-md"
]
}
}
diff --git a/composer.lock b/composer.lock
index 562bec0..3e22052 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,21 +4,21 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "86492f7c3687af3f02fb5ff0a4bdcbcd",
+ "content-hash": "af703efc7dc767c1ecfdcaba1d8a3f72",
"packages": [],
"packages-dev": [
{
"name": "composer/pcre",
- "version": "3.0.2",
+ "version": "3.1.3",
"source": {
"type": "git",
"url": "https://github.com/composer/pcre.git",
- "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb"
+ "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/pcre/zipball/4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb",
- "reference": "4482b6409ca6bfc2af043a5711cd21ac3e7a8dfb",
+ "url": "https://api.github.com/repos/composer/pcre/zipball/5b16e25a5355f1f3afdfc2f954a0a80aec4826a8",
+ "reference": "5b16e25a5355f1f3afdfc2f954a0a80aec4826a8",
"shasum": ""
},
"require": {
@@ -60,7 +60,7 @@
],
"support": {
"issues": "https://github.com/composer/pcre/issues",
- "source": "https://github.com/composer/pcre/tree/3.0.2"
+ "source": "https://github.com/composer/pcre/tree/3.1.3"
},
"funding": [
{
@@ -76,20 +76,20 @@
"type": "tidelift"
}
],
- "time": "2022-11-03T20:24:16+00:00"
+ "time": "2024-03-19T10:26:25+00:00"
},
{
"name": "composer/xdebug-handler",
- "version": "3.0.3",
+ "version": "3.0.4",
"source": {
"type": "git",
"url": "https://github.com/composer/xdebug-handler.git",
- "reference": "ced299686f41dce890debac69273b47ffe98a40c"
+ "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c",
- "reference": "ced299686f41dce890debac69273b47ffe98a40c",
+ "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/4f988f8fdf580d53bdb2d1278fe93d1ed5462255",
+ "reference": "4f988f8fdf580d53bdb2d1278fe93d1ed5462255",
"shasum": ""
},
"require": {
@@ -100,7 +100,7 @@
"require-dev": {
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1",
- "symfony/phpunit-bridge": "^6.0"
+ "phpunit/phpunit": "^8.5 || ^9.6 || ^10.5"
},
"type": "library",
"autoload": {
@@ -124,9 +124,9 @@
"performance"
],
"support": {
- "irc": "irc://irc.freenode.org/composer",
+ "irc": "ircs://irc.libera.chat:6697/composer",
"issues": "https://github.com/composer/xdebug-handler/issues",
- "source": "https://github.com/composer/xdebug-handler/tree/3.0.3"
+ "source": "https://github.com/composer/xdebug-handler/tree/3.0.4"
},
"funding": [
{
@@ -142,32 +142,32 @@
"type": "tidelift"
}
],
- "time": "2022-02-25T21:32:43+00:00"
+ "time": "2024-03-26T18:29:49+00:00"
},
{
"name": "pdepend/pdepend",
- "version": "2.12.1",
+ "version": "2.16.2",
"source": {
"type": "git",
"url": "https://github.com/pdepend/pdepend.git",
- "reference": "7a892d56ceafd804b4a2ecc85184640937ce9e84"
+ "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/pdepend/pdepend/zipball/7a892d56ceafd804b4a2ecc85184640937ce9e84",
- "reference": "7a892d56ceafd804b4a2ecc85184640937ce9e84",
+ "url": "https://api.github.com/repos/pdepend/pdepend/zipball/f942b208dc2a0868454d01b29f0c75bbcfc6ed58",
+ "reference": "f942b208dc2a0868454d01b29f0c75bbcfc6ed58",
"shasum": ""
},
"require": {
"php": ">=5.3.7",
- "symfony/config": "^2.3.0|^3|^4|^5|^6.0",
- "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0",
- "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0"
+ "symfony/config": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+ "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+ "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0|^7.0",
+ "symfony/polyfill-mbstring": "^1.19"
},
"require-dev": {
"easy-doc/easy-doc": "0.0.0|^1.2.3",
"gregwar/rst": "^1.0",
- "phpunit/phpunit": "^4.8.36|^5.7.27",
"squizlabs/php_codesniffer": "^2.0.0"
},
"bin": [
@@ -189,9 +189,15 @@
"BSD-3-Clause"
],
"description": "Official version of pdepend to be handled with Composer",
+ "keywords": [
+ "PHP Depend",
+ "PHP_Depend",
+ "dev",
+ "pdepend"
+ ],
"support": {
"issues": "https://github.com/pdepend/pdepend/issues",
- "source": "https://github.com/pdepend/pdepend/tree/2.12.1"
+ "source": "https://github.com/pdepend/pdepend/tree/2.16.2"
},
"funding": [
{
@@ -199,26 +205,26 @@
"type": "tidelift"
}
],
- "time": "2022-09-08T19:30:37+00:00"
+ "time": "2023-12-17T18:09:59+00:00"
},
{
"name": "phpmd/phpmd",
- "version": "2.13.0",
+ "version": "2.15.0",
"source": {
"type": "git",
"url": "https://github.com/phpmd/phpmd.git",
- "reference": "dad0228156856b3ad959992f9748514fa943f3e3"
+ "reference": "74a1f56e33afad4128b886e334093e98e1b5e7c0"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/phpmd/phpmd/zipball/dad0228156856b3ad959992f9748514fa943f3e3",
- "reference": "dad0228156856b3ad959992f9748514fa943f3e3",
+ "url": "https://api.github.com/repos/phpmd/phpmd/zipball/74a1f56e33afad4128b886e334093e98e1b5e7c0",
+ "reference": "74a1f56e33afad4128b886e334093e98e1b5e7c0",
"shasum": ""
},
"require": {
"composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0",
"ext-xml": "*",
- "pdepend/pdepend": "^2.12.1",
+ "pdepend/pdepend": "^2.16.1",
"php": ">=5.3.9"
},
"require-dev": {
@@ -227,8 +233,7 @@
"ext-simplexml": "*",
"gregwar/rst": "^1.0",
"mikey179/vfsstream": "^1.6.8",
- "phpunit/phpunit": "^4.8.36 || ^5.7.27",
- "squizlabs/php_codesniffer": "^2.0"
+ "squizlabs/php_codesniffer": "^2.9.2 || ^3.7.2"
},
"bin": [
"src/bin/phpmd"
@@ -265,6 +270,7 @@
"description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.",
"homepage": "https://phpmd.org/",
"keywords": [
+ "dev",
"mess detection",
"mess detector",
"pdepend",
@@ -274,7 +280,7 @@
"support": {
"irc": "irc://irc.freenode.org/phpmd",
"issues": "https://github.com/phpmd/phpmd/issues",
- "source": "https://github.com/phpmd/phpmd/tree/2.13.0"
+ "source": "https://github.com/phpmd/phpmd/tree/2.15.0"
},
"funding": [
{
@@ -282,7 +288,7 @@
"type": "tidelift"
}
],
- "time": "2022-09-10T08:44:15+00:00"
+ "time": "2023-12-11T08:22:20+00:00"
},
{
"name": "psr/container",
@@ -389,16 +395,16 @@
},
{
"name": "squizlabs/php_codesniffer",
- "version": "3.7.1",
+ "version": "3.9.1",
"source": {
"type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619"
+ "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
+ "reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619",
- "reference": "1359e176e9307e906dc3d890bcc9603ff6d90619",
+ "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/267a4405fff1d9c847134db3a3c92f1ab7f77909",
+ "reference": "267a4405fff1d9c847134db3a3c92f1ab7f77909",
"shasum": ""
},
"require": {
@@ -408,11 +414,11 @@
"php": ">=5.4.0"
},
"require-dev": {
- "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0"
+ "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
},
"bin": [
- "bin/phpcs",
- "bin/phpcbf"
+ "bin/phpcbf",
+ "bin/phpcs"
],
"type": "library",
"extra": {
@@ -427,55 +433,76 @@
"authors": [
{
"name": "Greg Sherwood",
- "role": "lead"
+ "role": "Former lead"
+ },
+ {
+ "name": "Juliette Reinders Folmer",
+ "role": "Current lead"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors"
}
],
"description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
+ "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
"keywords": [
"phpcs",
- "standards"
+ "standards",
+ "static analysis"
],
"support": {
- "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
- "source": "https://github.com/squizlabs/PHP_CodeSniffer",
- "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
+ "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues",
+ "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy",
+ "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer",
+ "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki"
},
- "time": "2022-06-18T07:21:10+00:00"
+ "funding": [
+ {
+ "url": "https://github.com/PHPCSStandards",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/jrfnl",
+ "type": "github"
+ },
+ {
+ "url": "https://opencollective.com/php_codesniffer",
+ "type": "open_collective"
+ }
+ ],
+ "time": "2024-03-31T21:03:09+00:00"
},
{
"name": "symfony/config",
- "version": "v6.0.11",
+ "version": "v6.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/config.git",
- "reference": "956d4ec5df274dda91a4cedfccc2bfd063f6f649"
+ "reference": "18ac9da3106222dde9fc9e09ec016e5de9d2658f"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/config/zipball/956d4ec5df274dda91a4cedfccc2bfd063f6f649",
- "reference": "956d4ec5df274dda91a4cedfccc2bfd063f6f649",
+ "url": "https://api.github.com/repos/symfony/config/zipball/18ac9da3106222dde9fc9e09ec016e5de9d2658f",
+ "reference": "18ac9da3106222dde9fc9e09ec016e5de9d2658f",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
- "symfony/deprecation-contracts": "^2.1|^3",
- "symfony/filesystem": "^5.4|^6.0",
- "symfony/polyfill-ctype": "~1.8",
- "symfony/polyfill-php81": "^1.22"
+ "php": ">=8.1",
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/filesystem": "^5.4|^6.0|^7.0",
+ "symfony/polyfill-ctype": "~1.8"
},
"conflict": {
- "symfony/finder": "<4.4"
+ "symfony/finder": "<5.4",
+ "symfony/service-contracts": "<2.5"
},
"require-dev": {
- "symfony/event-dispatcher": "^5.4|^6.0",
- "symfony/finder": "^5.4|^6.0",
- "symfony/messenger": "^5.4|^6.0",
- "symfony/service-contracts": "^1.1|^2|^3",
- "symfony/yaml": "^5.4|^6.0"
- },
- "suggest": {
- "symfony/yaml": "To use the yaml reference dumper"
+ "symfony/event-dispatcher": "^5.4|^6.0|^7.0",
+ "symfony/finder": "^5.4|^6.0|^7.0",
+ "symfony/messenger": "^5.4|^6.0|^7.0",
+ "symfony/service-contracts": "^2.5|^3",
+ "symfony/yaml": "^5.4|^6.0|^7.0"
},
"type": "library",
"autoload": {
@@ -503,7 +530,7 @@
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/config/tree/v6.0.11"
+ "source": "https://github.com/symfony/config/tree/v6.4.6"
},
"funding": [
{
@@ -519,34 +546,34 @@
"type": "tidelift"
}
],
- "time": "2022-06-27T17:10:44+00:00"
+ "time": "2024-03-27T19:47:45+00:00"
},
{
"name": "symfony/dependency-injection",
- "version": "v6.0.13",
+ "version": "v6.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/dependency-injection.git",
- "reference": "6339881a2970b9f6bf6f4d2b07a540b4e3740f98"
+ "reference": "31417777509923b22de5c6fb6b3ffcdebde37cb5"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/6339881a2970b9f6bf6f4d2b07a540b4e3740f98",
- "reference": "6339881a2970b9f6bf6f4d2b07a540b4e3740f98",
+ "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/31417777509923b22de5c6fb6b3ffcdebde37cb5",
+ "reference": "31417777509923b22de5c6fb6b3ffcdebde37cb5",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"psr/container": "^1.1|^2.0",
- "symfony/deprecation-contracts": "^2.1|^3",
- "symfony/polyfill-php81": "^1.22",
- "symfony/service-contracts": "^1.1.6|^2.0|^3.0"
+ "symfony/deprecation-contracts": "^2.5|^3",
+ "symfony/service-contracts": "^2.5|^3.0",
+ "symfony/var-exporter": "^6.2.10|^7.0"
},
"conflict": {
"ext-psr": "<1.1|>=2",
- "symfony/config": "<5.4",
+ "symfony/config": "<6.1",
"symfony/finder": "<5.4",
- "symfony/proxy-manager-bridge": "<5.4",
+ "symfony/proxy-manager-bridge": "<6.3",
"symfony/yaml": "<5.4"
},
"provide": {
@@ -554,16 +581,9 @@
"symfony/service-implementation": "1.1|2.0|3.0"
},
"require-dev": {
- "symfony/config": "^5.4|^6.0",
- "symfony/expression-language": "^5.4|^6.0",
- "symfony/yaml": "^5.4|^6.0"
- },
- "suggest": {
- "symfony/config": "",
- "symfony/expression-language": "For using expressions in service container configuration",
- "symfony/finder": "For using double-star glob patterns or when GLOB_BRACE portability is required",
- "symfony/proxy-manager-bridge": "Generate service proxies to lazy load them",
- "symfony/yaml": ""
+ "symfony/config": "^6.1|^7.0",
+ "symfony/expression-language": "^5.4|^6.0|^7.0",
+ "symfony/yaml": "^5.4|^6.0|^7.0"
},
"type": "library",
"autoload": {
@@ -591,7 +611,7 @@
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/dependency-injection/tree/v6.0.13"
+ "source": "https://github.com/symfony/dependency-injection/tree/v6.4.6"
},
"funding": [
{
@@ -607,29 +627,29 @@
"type": "tidelift"
}
],
- "time": "2022-09-28T16:00:20+00:00"
+ "time": "2024-03-27T22:00:14+00:00"
},
{
"name": "symfony/deprecation-contracts",
- "version": "v3.0.2",
+ "version": "v3.4.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
- "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c"
+ "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
- "reference": "26954b3d62a6c5fd0ea8a2a00c0353a14978d05c",
+ "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf",
+ "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf",
"shasum": ""
},
"require": {
- "php": ">=8.0.2"
+ "php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "3.0-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
"name": "symfony/contracts",
@@ -658,7 +678,7 @@
"description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/deprecation-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0"
},
"funding": [
{
@@ -674,24 +694,24 @@
"type": "tidelift"
}
],
- "time": "2022-01-02T09:55:41+00:00"
+ "time": "2023-05-23T14:45:45+00:00"
},
{
"name": "symfony/filesystem",
- "version": "v6.0.13",
+ "version": "v6.4.6",
"source": {
"type": "git",
"url": "https://github.com/symfony/filesystem.git",
- "reference": "3adca49133bd055ebe6011ed1e012be3c908af79"
+ "reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/filesystem/zipball/3adca49133bd055ebe6011ed1e012be3c908af79",
- "reference": "3adca49133bd055ebe6011ed1e012be3c908af79",
+ "url": "https://api.github.com/repos/symfony/filesystem/zipball/9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
+ "reference": "9919b5509ada52cc7f66f9a35c86a4a29955c9d3",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
+ "php": ">=8.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-mbstring": "~1.8"
},
@@ -721,7 +741,7 @@
"description": "Provides basic utilities for the filesystem",
"homepage": "https://symfony.com",
"support": {
- "source": "https://github.com/symfony/filesystem/tree/v6.0.13"
+ "source": "https://github.com/symfony/filesystem/tree/v6.4.6"
},
"funding": [
{
@@ -737,20 +757,20 @@
"type": "tidelift"
}
],
- "time": "2022-09-21T20:25:27+00:00"
+ "time": "2024-03-21T19:36:20+00:00"
},
{
"name": "symfony/polyfill-ctype",
- "version": "v1.27.0",
+ "version": "v1.29.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
- "reference": "5bbc823adecdae860bb64756d639ecfec17b050a"
+ "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",
- "reference": "5bbc823adecdae860bb64756d639ecfec17b050a",
+ "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4",
+ "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4",
"shasum": ""
},
"require": {
@@ -764,9 +784,6 @@
},
"type": "library",
"extra": {
- "branch-alias": {
- "dev-main": "1.27-dev"
- },
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
@@ -803,7 +820,7 @@
"portable"
],
"support": {
- "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
+ "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0"
},
"funding": [
{
@@ -819,20 +836,20 @@
"type": "tidelift"
}
],
- "time": "2022-11-03T14:55:06+00:00"
+ "time": "2024-01-29T20:11:03+00:00"
},
{
"name": "symfony/polyfill-mbstring",
- "version": "v1.27.0",
+ "version": "v1.29.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
- "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534"
+ "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
- "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
+ "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec",
"shasum": ""
},
"require": {
@@ -846,9 +863,6 @@
},
"type": "library",
"extra": {
- "branch-alias": {
- "dev-main": "1.27-dev"
- },
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
@@ -886,7 +900,7 @@
"shim"
],
"support": {
- "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"
+ "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0"
},
"funding": [
{
@@ -902,44 +916,45 @@
"type": "tidelift"
}
],
- "time": "2022-11-03T14:55:06+00:00"
+ "time": "2024-01-29T20:11:03+00:00"
},
{
- "name": "symfony/polyfill-php81",
- "version": "v1.27.0",
+ "name": "symfony/service-contracts",
+ "version": "v3.4.2",
"source": {
"type": "git",
- "url": "https://github.com/symfony/polyfill-php81.git",
- "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a"
+ "url": "https://github.com/symfony/service-contracts.git",
+ "reference": "11bbf19a0fb7b36345861e85c5768844c552906e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a",
- "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a",
+ "url": "https://api.github.com/repos/symfony/service-contracts/zipball/11bbf19a0fb7b36345861e85c5768844c552906e",
+ "reference": "11bbf19a0fb7b36345861e85c5768844c552906e",
"shasum": ""
},
"require": {
- "php": ">=7.1"
+ "php": ">=8.1",
+ "psr/container": "^1.1|^2.0"
+ },
+ "conflict": {
+ "ext-psr": "<1.1|>=2"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-main": "1.27-dev"
+ "dev-main": "3.4-dev"
},
"thanks": {
- "name": "symfony/polyfill",
- "url": "https://github.com/symfony/polyfill"
+ "name": "symfony/contracts",
+ "url": "https://github.com/symfony/contracts"
}
},
"autoload": {
- "files": [
- "bootstrap.php"
- ],
"psr-4": {
- "Symfony\\Polyfill\\Php81\\": ""
+ "Symfony\\Contracts\\Service\\": ""
},
- "classmap": [
- "Resources/stubs"
+ "exclude-from-classmap": [
+ "/Test/"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -956,16 +971,18 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Symfony polyfill backporting some PHP 8.1+ features to lower PHP versions",
+ "description": "Generic abstractions related to writing services",
"homepage": "https://symfony.com",
"keywords": [
- "compatibility",
- "polyfill",
- "portable",
- "shim"
+ "abstractions",
+ "contracts",
+ "decoupling",
+ "interfaces",
+ "interoperability",
+ "standards"
],
"support": {
- "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0"
+ "source": "https://github.com/symfony/service-contracts/tree/v3.4.2"
},
"funding": [
{
@@ -981,46 +998,39 @@
"type": "tidelift"
}
],
- "time": "2022-11-03T14:55:06+00:00"
+ "time": "2023-12-19T21:51:00+00:00"
},
{
- "name": "symfony/service-contracts",
- "version": "v3.0.2",
+ "name": "symfony/var-exporter",
+ "version": "v6.4.6",
"source": {
"type": "git",
- "url": "https://github.com/symfony/service-contracts.git",
- "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66"
+ "url": "https://github.com/symfony/var-exporter.git",
+ "reference": "20888cf4d11de203613515cf0587828bf5af0fe7"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/symfony/service-contracts/zipball/d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
- "reference": "d78d39c1599bd1188b8e26bb341da52c3c6d8a66",
+ "url": "https://api.github.com/repos/symfony/var-exporter/zipball/20888cf4d11de203613515cf0587828bf5af0fe7",
+ "reference": "20888cf4d11de203613515cf0587828bf5af0fe7",
"shasum": ""
},
"require": {
- "php": ">=8.0.2",
- "psr/container": "^2.0"
- },
- "conflict": {
- "ext-psr": "<1.1|>=2"
+ "php": ">=8.1",
+ "symfony/deprecation-contracts": "^2.5|^3"
},
- "suggest": {
- "symfony/service-implementation": ""
+ "require-dev": {
+ "symfony/property-access": "^6.4|^7.0",
+ "symfony/serializer": "^6.4|^7.0",
+ "symfony/var-dumper": "^5.4|^6.0|^7.0"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-main": "3.0-dev"
- },
- "thanks": {
- "name": "symfony/contracts",
- "url": "https://github.com/symfony/contracts"
- }
- },
"autoload": {
"psr-4": {
- "Symfony\\Contracts\\Service\\": ""
- }
+ "Symfony\\Component\\VarExporter\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -1036,18 +1046,20 @@
"homepage": "https://symfony.com/contributors"
}
],
- "description": "Generic abstractions related to writing services",
+ "description": "Allows exporting any serializable PHP data structure to plain PHP code",
"homepage": "https://symfony.com",
"keywords": [
- "abstractions",
- "contracts",
- "decoupling",
- "interfaces",
- "interoperability",
- "standards"
+ "clone",
+ "construct",
+ "export",
+ "hydrate",
+ "instantiate",
+ "lazy-loading",
+ "proxy",
+ "serialize"
],
"support": {
- "source": "https://github.com/symfony/service-contracts/tree/v3.0.2"
+ "source": "https://github.com/symfony/var-exporter/tree/v6.4.6"
},
"funding": [
{
@@ -1063,7 +1075,7 @@
"type": "tidelift"
}
],
- "time": "2022-05-30T19:17:58+00:00"
+ "time": "2024-03-20T21:07:14+00:00"
}
],
"aliases": [],
@@ -1073,5 +1085,5 @@
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
- "plugin-api-version": "2.3.0"
+ "plugin-api-version": "2.6.0"
}
diff --git a/install.json b/install.json
index ca75182..ce7ad6d 100644
--- a/install.json
+++ b/install.json
@@ -1,6 +1,6 @@
{
"name": "emerchantpay Payments",
- "version": "1.1.4",
+ "version": "1.1.5",
"author": "emerchantpay Ltd.",
"link": "https://emerchantpay.com"
}
diff --git a/system/admin/base_controller.php b/system/admin/base_controller.php
index b9d9c84..5a3fdc0 100644
--- a/system/admin/base_controller.php
+++ b/system/admin/base_controller.php
@@ -96,8 +96,7 @@ abstract protected function isModuleRequiresSsl(): bool;
*
* @throws Exception
*/
- public function __construct($registry)
- {
+ public function __construct($registry) {
parent::__construct($registry);
if (is_null($this->module_name)) {
@@ -110,8 +109,7 @@ public function __construct($registry)
*
* @return mixed|void
*/
- public function index()
- {
+ public function index() {
if ($this->isInstallRequest()) {
$this->install();
@@ -144,8 +142,7 @@ public function index()
*
* @return string
*/
- public function getToken(): string
- {
+ public function getToken(): string {
return $this->session->data['user_token'];
}
@@ -154,8 +151,7 @@ public function getToken(): string
*
* @return string
*/
- public function getTokenParam(): string
- {
+ public function getTokenParam(): string {
return 'user_token';
}
@@ -164,8 +160,7 @@ public function getTokenParam(): string
*
* @return mixed
*/
- public function order()
- {
+ public function order() {
if ($this->config->get("{$this->module_name}_status")) {
$this->loadLanguage();
@@ -284,8 +279,7 @@ public function order()
*
* @return void
*/
- public function getModalForm(): void
- {
+ public function getModalForm(): void {
if (isset($this->request->post['reference_id']) && isset($this->request->post['type'])) {
$this->loadLanguage();
$this->loadPaymentMethodModel();
@@ -364,8 +358,7 @@ public function getModalForm(): void
*
* @return void
*/
- public function capture(): void
- {
+ public function capture(): void {
$this->loadLanguage();
if (isset($this->request->post['reference_id']) && trim($this->request->post['reference_id']) != '') {
@@ -449,8 +442,7 @@ public function capture(): void
*
* @return void
*/
- public function refund(): void
- {
+ public function refund(): void {
$this->loadLanguage();
if (isset($this->request->post['reference_id']) && trim($this->request->post['reference_id']) != '') {
@@ -553,8 +545,7 @@ public function refund(): void
*
* @return void
*/
- public function void(): void
- {
+ public function void(): void {
$this->loadLanguage();
if (isset($this->request->post['reference_id']) && trim($this->request->post['reference_id']) != '') {
@@ -633,8 +624,7 @@ public function void(): void
*
* @return void
*/
- public function install(): void
- {
+ public function install(): void {
$this->loadPaymentMethodModel();
$this->getModelInstance()->install();
}
@@ -644,8 +634,7 @@ public function install(): void
*
* @return void
*/
- public function uninstall(): void
- {
+ public function uninstall(): void {
$this->loadPaymentMethodModel();
$this->getModelInstance()->uninstall();
}
@@ -655,8 +644,7 @@ public function uninstall(): void
* @param array $data
* @return bool
*/
- public function cancelOrderRecurring($data): bool
- {
+ public function cancelOrderRecurring($data): bool {
$recurring_status = 3; //Cancelled
$order_recurring_id = $this->getOrderRecurringId($data['order_id']);
@@ -671,8 +659,7 @@ public function cancelOrderRecurring($data): bool
* @param string $order_id
* @return string
*/
- public function getOrderRecurringId($order_id): string
- {
+ public function getOrderRecurringId($order_id): string {
$query = $this->db->query("SELECT order_recurring_id FROM `" . DB_PREFIX . "order_recurring` WHERE order_id = '" . (int)$order_id . "'");
return $query->row['order_recurring_id'];
@@ -685,8 +672,7 @@ public function getOrderRecurringId($order_id): string
*
* @return bool
*/
- public function isInitialRecurringTransaction($transaction_type): bool
- {
+ public function isInitialRecurringTransaction($transaction_type): bool {
return in_array($transaction_type, array(
Types::INIT_RECURRING_SALE,
Types::INIT_RECURRING_SALE_3D
@@ -701,8 +687,7 @@ public function isInitialRecurringTransaction($transaction_type): bool
*
* @return bool
*/
- public function addRecurringTransaction($data, $oc_txn_type): bool
- {
+ public function addRecurringTransaction($data, $oc_txn_type): bool {
$result = false;
if (!array_key_exists('order_recurring_id', $data)) {
@@ -725,8 +710,7 @@ public function addRecurringTransaction($data, $oc_txn_type): bool
*
* @return bool
*/
- public function updateOrder($order_id, $order_status_id, $comment = '', $notify = false): bool
- {
+ public function updateOrder($order_id, $order_status_id, $comment = '', $notify = false): bool {
$result = $this->db->query("UPDATE `" . DB_PREFIX . "order` SET order_status_id = '" . (int)$order_status_id . "', date_modified = NOW() WHERE order_id = '" . (int)$order_id . "'");
if ($result) {
$result = $this->db->query("INSERT INTO " . DB_PREFIX . "order_history SET order_id = '" . (int)$order_id . "', order_status_id = '" . (int)$order_status_id . "', notify = '" . (int)$notify . "', comment = '" . $this->db->escape($comment) . "', date_added = NOW()");
@@ -742,8 +726,7 @@ public function updateOrder($order_id, $order_status_id, $comment = '', $notify
*
* @return bool
*/
- public function canCaptureTransaction($transaction): bool
- {
+ public function canCaptureTransaction($transaction): bool {
if (!$this->hasApprovedState($transaction['status'])) {
return false;
}
@@ -765,8 +748,7 @@ public function canCaptureTransaction($transaction): bool
*
* @return bool
*/
- public function canRefundTransaction($transaction): bool
- {
+ public function canRefundTransaction($transaction): bool {
if (!$this->hasApprovedState($transaction['status'])) {
return false;
}
@@ -788,8 +770,7 @@ public function canRefundTransaction($transaction): bool
*
* @return bool
*/
- public function canVoidTransaction($transaction): bool
- {
+ public function canVoidTransaction($transaction): bool {
return Types::canVoid($transaction['type']) &&
$this->hasApprovedState($transaction['status']);
}
@@ -802,8 +783,7 @@ public function canVoidTransaction($transaction): bool
*
* @return bool
*/
- public function isVoidTransactionExist($order_id, $transaction): bool
- {
+ public function isVoidTransactionExist($order_id, $transaction): bool {
return $this->getModelInstance()->getTransactionsByTypeAndStatus(
$order_id,
$transaction['unique_id'],
@@ -830,8 +810,7 @@ public function isVoidTransactionExist($order_id, $transaction): bool
* order_recurring_btn_title
* status
*/
- public function getRecurringLog(): array
- {
+ public function getRecurringLog(): array {
$result = array();
$query = $this->db->query('SELECT *, ort.`date_added` as `transaction_date` FROM `' . DB_PREFIX . $this->module_name . '_cronlog` '
@@ -931,8 +910,7 @@ public function getRecurringLog(): array
*
* @return bool
*/
- protected function isOrderInfoRequest(): bool
- {
+ protected function isOrderInfoRequest(): bool {
return
($this->request->server['REQUEST_METHOD'] == 'GET') &&
($this->request->get['route'] == 'sale/order/info');
@@ -943,8 +921,7 @@ protected function isOrderInfoRequest(): bool
*
* @return bool
*/
- protected function isInstallRequest(): bool
- {
+ protected function isInstallRequest(): bool {
return
($this->request->server['REQUEST_METHOD'] == 'GET') &&
($this->request->get['route'] == 'extension/extension/payment/install');
@@ -955,8 +932,7 @@ protected function isInstallRequest(): bool
*
* @return bool
*/
- protected function isUninstallRequest(): bool
- {
+ protected function isUninstallRequest(): bool {
return
($this->request->server['REQUEST_METHOD'] == 'GET') &&
($this->request->get['route'] == 'extension/extension/payment/uninstall');
@@ -970,8 +946,7 @@ protected function isUninstallRequest(): bool
*
* @return bool
*/
- protected function isModuleSubActionRequest(array $actions): bool
- {
+ protected function isModuleSubActionRequest(array $actions): bool {
return
($this->request->server['REQUEST_METHOD'] == 'POST') &&
($this->request->get['route'] == "{$this->route_prefix}payment/{$this->module_name}") &&
@@ -984,8 +959,7 @@ protected function isModuleSubActionRequest(array $actions): bool
*
* @return void
*/
- protected function loadLanguage(): void
- {
+ protected function loadLanguage(): void {
$this->load->language("{$this->route_prefix}payment/{$this->module_name}");
}
@@ -994,8 +968,7 @@ protected function loadLanguage(): void
*
* @return void
*/
- protected function loadPaymentMethodModel(): void
- {
+ protected function loadPaymentMethodModel(): void {
$this->load->model("{$this->route_prefix}payment/{$this->module_name}");
}
@@ -1004,8 +977,7 @@ protected function loadPaymentMethodModel(): void
*
* @return object
*/
- protected function getModelInstance(): object
- {
+ protected function getModelInstance(): object {
$method = "model_extension_emerchantpay_payment_{$this->module_name}";
return $this->{$method};
@@ -1016,8 +988,7 @@ protected function getModelInstance(): object
*
* @return void
*/
- protected function processPostIndexAction(): void
- {
+ protected function processPostIndexAction(): void {
try {
if ($this->validate()) {
$this->model_setting_setting->editSetting($this->module_name, $this->request->post);
@@ -1061,8 +1032,7 @@ protected function processPostIndexAction(): void
*
* @return void
*/
- protected function processGetIndexAction(): void
- {
+ protected function processGetIndexAction(): void {
// TODO do we need separate method for this?
$this->addExternalResources(array(
'treeGrid',
@@ -1152,8 +1122,7 @@ protected function processGetIndexAction(): void
*
* @return array
*/
- protected function buildLanguagePhrases(): array
- {
+ protected function buildLanguagePhrases(): array {
$result = array();
$phrases = array(
@@ -1256,8 +1225,7 @@ protected function buildLanguagePhrases(): array
*
* @return bool
*/
- protected function validate(): bool
- {
+ protected function validate(): bool {
$this->validateRequiredFields();
if (!$this->user->hasPermission('modify', "{$this->route_prefix}payment/{$this->module_name}")) {
@@ -1277,8 +1245,7 @@ protected function validate(): bool
*
* @return void
*/
- protected function isUserLoggedInAndAuthorized(): void
- {
+ protected function isUserLoggedInAndAuthorized(): void {
$is_logged_in = $this->user->isLogged();
$has_access = $this->user->hasPermission('access', "{$this->route_prefix}payment/{$this->module_name}");
@@ -1300,8 +1267,7 @@ protected function isUserLoggedInAndAuthorized(): void
*
* @return void
*/
- protected function sortTransactionByRelation(&$array_out, $val, $array_asc): void
- {
+ protected function sortTransactionByRelation(&$array_out, $val, $array_asc): void {
if (isset($val['org_key'])) {
$array_out[$val['org_key']] = $val;
@@ -1320,8 +1286,7 @@ protected function sortTransactionByRelation(&$array_out, $val, $array_asc): voi
*
* @return string
*/
- protected function getCurrencyCode(): string
- {
+ protected function getCurrencyCode(): string {
return $this->session->data['currency'] ?? $this->config->get('config_currency');
}
@@ -1332,8 +1297,7 @@ protected function getCurrencyCode(): string
*
* @return array
*/
- protected function getTemplateCurrencyArray($currency_code = null): array
- {
+ protected function getTemplateCurrencyArray($currency_code = null): array {
if (empty($currency_code))
$currency_code = $this->getCurrencyCode();
@@ -1360,8 +1324,7 @@ protected function getTemplateCurrencyArray($currency_code = null): array
*
* @return bool
*/
- protected function addExternalResources($resource_names): bool
- {
+ protected function addExternalResources($resource_names): bool {
$resources_loaded = (bool)count($resource_names) > 0;
foreach ($resource_names as $resource_name)
@@ -1377,8 +1340,7 @@ protected function addExternalResources($resource_names): bool
*
* @return bool
*/
- protected function addExternalResource($resource_name): bool
- {
+ protected function addExternalResource($resource_name): bool {
// TODO: I suggest to load all resources at once and conditionally only jQueryNumber
$resource_loaded = true;
@@ -1393,8 +1355,7 @@ protected function addExternalResource($resource_name): bool
$this->document->addScript(HTTP_CATALOG . $this->route_prefix . 'admin/view/javascript/emerchantpay/jQueryExtensions/js/jquery.number.min.js');
} else if ($resource_name == 'commonStyleSheet') {
$this->document->addStyle(HTTP_CATALOG . $this->route_prefix . 'admin/view/stylesheet/emerchantpay/emerchantpay-admin.css');
- } else
- $resource_loaded = false;
+ } else $resource_loaded = false;
return $resource_loaded;
}
@@ -1404,8 +1365,7 @@ protected function addExternalResource($resource_name): bool
*
* @return string
*/
- protected function getLastCronExecTime(): string
- {
+ protected function getLastCronExecTime(): string {
$result = $this->language->get('alert_cron_not_run_yet');
$query = $this->db->query('SELECT `start_time` FROM `' . DB_PREFIX . $this->module_name . '_cronlog` ORDER BY `log_entry_id` DESC LIMIT 1');
@@ -1423,8 +1383,7 @@ protected function getLastCronExecTime(): string
*
* @return string
*/
- protected function getCronExecStatus(): string
- {
+ protected function getCronExecStatus(): string {
$result = 'danger';
$time_diff = (microtime(true) - strtotime($this->getLastCronExecTime()));
@@ -1446,8 +1405,7 @@ protected function getCronExecStatus(): string
*
* @return string
*/
- protected function getLogEntryStatus($run_time, $pid): string
- {
+ protected function getLogEntryStatus($run_time, $pid): string {
$status = null;
if (is_null($run_time)) {
@@ -1470,8 +1428,7 @@ protected function getLogEntryStatus($run_time, $pid): string
*
* @return array
*/
- protected function getRecurringTransactionType($type_id): array
- {
+ protected function getRecurringTransactionType($type_id): array {
$result = '';
$this->load->language('sale/recurring');
@@ -1503,8 +1460,7 @@ protected function getRecurringTransactionType($type_id): array
*
* @return string
*/
- protected function getModalFormLink($token): string
- {
+ protected function getModalFormLink($token): string {
$link_parameters = [
'route' => "{$this->route_prefix}payment/{$this->module_name}",
'args' => 'action=getModalForm&user_token=' . $token,
@@ -1521,8 +1477,7 @@ protected function getModalFormLink($token): string
*
* @return string
*/
- protected function getPaymentLink($token)
- {
+ protected function getPaymentLink($token) {
$link = [
'route' => 'marketplace/extension',
'args' => 'type=payment&user_token=' . $token,
@@ -1539,8 +1494,7 @@ protected function getPaymentLink($token)
*
* @return string
*/
- protected function getLink($link_parameters): string
- {
+ protected function getLink($link_parameters): string {
return $this->url->link(
$link_parameters['route'],
$link_parameters['args'],
@@ -1555,8 +1509,7 @@ protected function getLink($link_parameters): string
*
* @return bool
*/
- protected function isTransactionWithCustomAttribute($transaction_type): bool
- {
+ protected function isTransactionWithCustomAttribute($transaction_type): bool {
$transaction_types = [
Types::GOOGLE_PAY,
Types::PAY_PAL,
@@ -1574,8 +1527,7 @@ protected function isTransactionWithCustomAttribute($transaction_type): bool
*
* @return bool
*/
- protected function checkReferenceActionByCustomAttr($action, $transaction_type): bool
- {
+ protected function checkReferenceActionByCustomAttr($action, $transaction_type): bool {
$selected_types = $this->config->get("{$this->module_name}_transaction_type");
if (!is_array($selected_types)) {
@@ -1649,8 +1601,7 @@ protected function checkReferenceActionByCustomAttr($action, $transaction_type):
*
* @return bool
*/
- protected function hasApprovedState($transaction_type): bool
- {
+ protected function hasApprovedState($transaction_type): bool {
if (empty($transaction_type)) {
return false;
}
@@ -1663,11 +1614,12 @@ protected function hasApprovedState($transaction_type): bool
/**
* Check if any of the required fields is empty
*
+ * @param array|null $required_fields
+ *
* @return void
*/
- private function validateRequiredFields(): void
- {
- $required_fields = [
+ protected function validateRequiredFields(?array $required_fields = []): void {
+ $required_fields += [
"{$this->module_name}_username" => 'username',
"{$this->module_name}_password" => 'password',
"{$this->module_name}_transaction_type" => 'transaction_type',
@@ -1675,10 +1627,6 @@ private function validateRequiredFields(): void
"{$this->module_name}_order_failure_status_id" => 'order_failure_status',
];
- if ($this->module_name === 'emerchantpay_direct') {
- $required_fields["{$this->module_name}_async_order_status_id"] = 'order_async_status';
- }
-
foreach ($required_fields as $field => $error_key) {
if (empty($this->request->post[$field])) {
$this->error[$error_key] = $this->language->get("error_$error_key");
diff --git a/system/catalog/base_controller.php b/system/catalog/base_controller.php
index 83f7991..104ffe1 100644
--- a/system/catalog/base_controller.php
+++ b/system/catalog/base_controller.php
@@ -59,8 +59,7 @@ abstract class BaseController extends Controller
* @param string $action (Optional) Action to be attached to the $url with the separator
* @return string
*/
- protected function buildUrl($controller, $action = ''): string
- {
+ protected function buildUrl($controller, $action = ''): string {
if (!empty($action)) {
$action_separator = EmerchantpayHelper::CONTROLLER_ACTION_SEPARATOR;
$controller .= "$action_separator$action";
@@ -80,8 +79,7 @@ protected function buildUrl($controller, $action = ''): string
* @return void
*/
- protected function populateAddresses($order_info, &$data): void
- {
+ protected function populateAddresses($order_info, &$data): void {
if (!empty($order_info['payment_firstname']) && !empty($order_info['payment_lastname']) && !empty($order_info['payment_address_1'])) {
$data['billing'] =
array(
@@ -143,8 +141,7 @@ protected function populateAddresses($order_info, &$data): void
*
* @return array
*/
- protected function populateTreedsParams($controller, $product_info, $order_info): array
- {
+ protected function populateTreedsParams($controller, $product_info, $order_info): array {
$model_account_order = $controller->model_account_order;
$model_account_customer = $controller->model_account_customer;
@@ -231,8 +228,7 @@ protected function populateTreedsParams($controller, $product_info, $order_info)
*
* @return int
*/
- protected function getCustomerId($controller): int
- {
+ protected function getCustomerId($controller): int {
if ($controller->customer->isLogged()) {
return $controller->customer->getId();
}
@@ -245,8 +241,7 @@ protected function getCustomerId($controller): int
*
* @return array
*/
- protected function buildActionUrls($module_name): array
- {
+ protected function buildActionUrls($module_name): array {
return [
'notification_url' =>
$this->buildUrl(
@@ -273,8 +268,7 @@ protected function buildActionUrls($module_name): array
*
* @return void
*/
- protected function respondWithError($message): void
- {
+ protected function respondWithError($message): void {
$this->response->addHeader('Content-Type: application/json');
$this->response->setOutput(json_encode(['error' => $message]));
}
@@ -287,8 +281,7 @@ protected function respondWithError($message): void
*
* @return array
*/
- protected function populateCommonData($model, $order_info): array
- {
+ protected function populateCommonData($model, $order_info): array {
return [
'transaction_id' => $model->genTransactionId(self::PLATFORM_TRANSACTION_PREFIX),
@@ -313,8 +306,7 @@ protected function populateCommonData($model, $order_info): array
*
* @return array
*/
- protected function populateDataUniqIdTrx($transaction, $order_info): array
- {
+ protected function populateDataUniqIdTrx($transaction, $order_info): array {
$timestamp = ($transaction->timestamp instanceof \DateTime) ? $transaction->timestamp->format('c') : $transaction->timestamp;
return [
@@ -336,8 +328,7 @@ protected function populateDataUniqIdTrx($transaction, $order_info): array
*
* @return array
*/
- protected function prepareViewDataMixedCart(): array
- {
+ protected function prepareViewDataMixedCart(): array {
return [
'text_loading' => $this->language->get('text_loading'),
'text_payment_mixed_cart_content' => $this->language->get('text_payment_mixed_cart_content'),
@@ -354,8 +345,7 @@ protected function prepareViewDataMixedCart(): array
*
* @return void
*/
- public function addOrderRecurring($payment_reference, $model): void
- {
+ public function addOrderRecurring($payment_reference, $model): void {
$recurring_products = $this->cart->getRecurringProducts();
if (!empty($recurring_products)) {
$model->addOrderRecurring(
diff --git a/system/catalog/settings_helper.php b/system/catalog/settings_helper.php
index 4e85a84..e2a3fd4 100644
--- a/system/catalog/settings_helper.php
+++ b/system/catalog/settings_helper.php
@@ -42,8 +42,7 @@ class SettingsHelper
/**
* @param Controller $controller
*/
- public function __construct($controller)
- {
+ public function __construct($controller) {
$this->controller = $controller;
}
@@ -52,8 +51,7 @@ public function __construct($controller)
*
* @return array
*/
- public function getBaseSettings($module_name)
- {
+ public function getBaseSettings($module_name) {
return [
"{$module_name}_username" => $this->getFieldValue("{$module_name}_username"),
"{$module_name}_password" => $this->getFieldValue("{$module_name}_password"),
@@ -68,8 +66,7 @@ public function getBaseSettings($module_name)
*
* @return array
*/
- public function getModuleSettings($module_name)
- {
+ public function getModuleSettings($module_name) {
return [
"{$module_name}_transaction_type" => $this->getFieldValue("{$module_name}_transaction_type"),
"{$module_name}_wpf_tokenization" => $this->getFieldValue("{$module_name}_wpf_tokenization"),
@@ -103,8 +100,7 @@ public function getModuleSettings($module_name)
*
* @return mixed
*/
- public function setDefaultOptions($data, $module_name)
- {
+ public function setDefaultOptions($data, $module_name) {
$default_param_values = array(
"{$module_name}_sandbox" => 1,
"{$module_name}_status" => 0,
@@ -130,8 +126,7 @@ public function setDefaultOptions($data, $module_name)
/**
* @return string
*/
- private function getServerAddress(): string
- {
+ private function getServerAddress(): string {
$server_name = $this->controller->request->server['SERVER_NAME'];
if (empty($server_name) || !function_exists('gethostbyname')) {
@@ -148,8 +143,7 @@ private function getServerAddress(): string
*
* @return mixed
*/
- public function getFieldValue($key): mixed
- {
+ public function getFieldValue($key): mixed {
if (isset($this->controller->request->post[$key])) {
return $this->controller->request->post[$key];
}
diff --git a/system/catalog/threeds_helper.php b/system/catalog/threeds_helper.php
index dc6ffad..30fb9c4 100644
--- a/system/catalog/threeds_helper.php
+++ b/system/catalog/threeds_helper.php
@@ -71,8 +71,7 @@ class ThreedsHelper
* @param array $products
* @return bool
*/
- public function hasPhysicalProduct($products)
- {
+ public function hasPhysicalProduct($products) {
return in_array(
BaseModel::OC_TAX_CLASS_PHYSICAL_PRODUCT,
array_column(
@@ -91,8 +90,7 @@ public function hasPhysicalProduct($products)
*
* @return string
*/
- public function getShippingIndicator($has_physical_products, $order_info, $is_guest)
- {
+ public function getShippingIndicator($has_physical_products, $order_info, $is_guest) {
$indicator = ShippingIndicators::OTHER;
if (!$has_physical_products) {
@@ -119,8 +117,7 @@ public function getShippingIndicator($has_physical_products, $order_info, $is_gu
*
* @return string
*/
- public function getReorderItemsIndicator($model, $is_quest, $product_info, $customer_orders)
- {
+ public function getReorderItemsIndicator($model, $is_quest, $product_info, $customer_orders) {
if ($is_quest) {
return ReorderItemIndicators::FIRST_TIME;
}
@@ -144,8 +141,7 @@ public function getReorderItemsIndicator($model, $is_quest, $product_info, $cust
*
* @return string
*/
- public function getShippingAddressUsageIndicator($date)
- {
+ public function getShippingAddressUsageIndicator($date) {
return $this->getIndicatorValue($date, ShippingAddressUsageIndicators::class);
}
@@ -156,8 +152,7 @@ public function getShippingAddressUsageIndicator($date)
*
* @return string
*/
- public function getRegistrationIndicator($order_date)
- {
+ public function getRegistrationIndicator($order_date) {
return $this->getIndicatorValue($order_date, RegistrationIndicators::class);
}
@@ -168,8 +163,7 @@ public function getRegistrationIndicator($order_date)
*
* @return string
*/
- public function findFirstCustomerOrderDate($customer_orders)
- {
+ public function findFirstCustomerOrderDate($customer_orders) {
$order_date = (new DateTime())->format(self::OC_DATETIME_FORMAT);
if (CommonUtils::isValidArray($customer_orders)) {
@@ -187,8 +181,7 @@ public function findFirstCustomerOrderDate($customer_orders)
*
* @return string
*/
- public function getCreationDate($model, $customer_id)
- {
+ public function getCreationDate($model, $customer_id) {
$customer = $model->getCustomer($customer_id);
return $customer['date_added'];
@@ -202,8 +195,7 @@ public function getCreationDate($model, $customer_id)
*
* @return string
*/
- public function findShippingAddressDateFirstUsed($model, $order_info, $customer_orders)
- {
+ public function findShippingAddressDateFirstUsed($model, $order_info, $customer_orders) {
$cart_shipping_address = [
$order_info['shipping_firstname'],
$order_info['shipping_lastname'],
@@ -247,8 +239,7 @@ public function findShippingAddressDateFirstUsed($model, $order_info, $customer_
*
* @throws Exception
*/
- public function findNumberOfOrdersForaPeriod($model, $customer_orders)
- {
+ public function findNumberOfOrdersForaPeriod($model, $customer_orders) {
$customer_orders = array_reverse($customer_orders);
$start_date_last_24h = (new DateTime())->sub(new DateInterval(self::ACTIVITY_24_HOURS));
$start_date_last_6m = (new DateTime())->sub(new DateInterval(self::ACTIVITY_6_MONTHS));
@@ -301,8 +292,7 @@ public function findNumberOfOrdersForaPeriod($model, $customer_orders)
*
* @return array
*/
- public static function getCustomerOrders($db_obj, $customer_id, $store_id, $language_id, $payment_code)
- {
+ public static function getCustomerOrders($db_obj, $customer_id, $store_id, $language_id, $payment_code) {
$raw_query = sprintf("
SELECT
o.order_id,
@@ -341,8 +331,7 @@ public static function getCustomerOrders($db_obj, $customer_id, $store_id, $lang
*
* @return array
*/
- public function getThreedsChallengeIndicators()
- {
+ public function getThreedsChallengeIndicators() {
$data = [];
$challenge_indicators = [
ChallengeIndicators::NO_PREFERENCE => 'No preference',
@@ -368,8 +357,7 @@ public function getThreedsChallengeIndicators()
*
* @return bool
*/
- private function areAddressesSame($order_info)
- {
+ private function areAddressesSame($order_info) {
$shipping = [
$order_info['shipping_firstname'],
$order_info['shipping_lastname'],
@@ -403,8 +391,7 @@ private function areAddressesSame($order_info)
*
* @return array
*/
- private function getBoughtProducts($model, $customer_orders)
- {
+ private function getBoughtProducts($model, $customer_orders) {
$bought_products = [];
$order_ids = array_column($customer_orders, 'order_id');
@@ -424,8 +411,7 @@ private function getBoughtProducts($model, $customer_orders)
*
* @return string
*/
- private function getIndicatorValue($date, $indicator_class)
- {
+ private function getIndicatorValue($date, $indicator_class) {
switch ($this->getDateIndicator($date)) {
case static::LESS_THAN_30_DAYS_INDICATOR:
return $indicator_class::LESS_THAN_30DAYS;
@@ -445,8 +431,7 @@ private function getIndicatorValue($date, $indicator_class)
*
* @return string
*/
- private function getDateIndicator($date)
- {
+ private function getDateIndicator($date) {
$now = new DateTime();
$check_date = DateTime::createFromFormat(self::OC_DATETIME_FORMAT, $date);
$days = $check_date->diff($now)->days;
diff --git a/system/db_helper.php b/system/db_helper.php
index 3643ecc..6882bda 100644
--- a/system/db_helper.php
+++ b/system/db_helper.php
@@ -40,8 +40,7 @@ class DbHelper
private Model $model;
- public function __construct(string $module_name, Model $model)
- {
+ public function __construct(string $module_name, Model $model) {
$this->module_name = $module_name;
$this->model = $model;
}
@@ -56,8 +55,7 @@ public function __construct(string $module_name, Model $model)
*
* @return void
*/
- public function populateTransaction($data): void
- {
+ public function populateTransaction($data): void {
try {
$data = $this->sanitizeData($data);
@@ -84,8 +82,7 @@ public function populateTransaction($data): void
*
* @return void
*/
- public function logEx($exception): void
- {
+ public function logEx($exception): void {
if ($this->model->config->get($this->module_name . '_debug')) {
$log = new Log($this->module_name . '.log');
$log->write($this->jTraceEx($exception));
@@ -99,8 +96,7 @@ public function logEx($exception): void
*
* @return array
*/
- protected function sanitizeData($data): array
- {
+ protected function sanitizeData($data): array {
$self = $this->model;
$result = array();
@@ -118,8 +114,7 @@ protected function sanitizeData($data): array
*
* @return void
*/
- protected function addTransaction($data): void
- {
+ protected function addTransaction($data): void {
try {
$fields = implode(', ', array_map(
function ($value, $key) {
@@ -155,8 +150,7 @@ function ($value) {
*
* @return void
*/
- protected function updateTransaction($data): void
- {
+ protected function updateTransaction($data): void {
try {
$fields = implode(', ', array_map(
function ($value, $key) {
@@ -188,8 +182,7 @@ function ($value, $key) {
*
* @SuppressWarnings(PHPMD)
*/
- private function jTraceEx($exception, $seen = null): string
- {
+ private function jTraceEx($exception, $seen = null): string {
$starter = ($seen) ? 'Caused by: ' : '';
$result = array();
diff --git a/system/emerchantpay_helper.php b/system/emerchantpay_helper.php
index c80a8d8..a61d59b 100644
--- a/system/emerchantpay_helper.php
+++ b/system/emerchantpay_helper.php
@@ -63,8 +63,7 @@ class EmerchantpayHelper
*
* @return array
*/
- public static function getRecurringTransactionTypes(): array
- {
+ public static function getRecurringTransactionTypes(): array {
return array(
Types::INIT_RECURRING_SALE,
Types::INIT_RECURRING_SALE_3D
@@ -76,8 +75,7 @@ public static function getRecurringTransactionTypes(): array
*
* @return array
*/
- public static function getTransactionTypeNames(): array
- {
+ public static function getTransactionTypeNames(): array {
$data = array();
foreach (Types::getWPFTransactionTypes() as $type) {
@@ -104,8 +102,7 @@ public static function getTransactionTypeNames(): array
*
* @throws \Genesis\Exceptions\ErrorParameter
*/
- public static function getKlarnaCustomParamItems($order): Items
- {
+ public static function getKlarnaCustomParamItems($order): Items {
$tax_class_ids = self::getTaxClassIdFromProductInfo($order['additional']['product_info']);
$items = new Items($order['currency']);
@@ -160,11 +157,10 @@ public static function getKlarnaCustomParamItems($order): Items
*
* @return array
*/
- public static function getTaxClassIdFromProductInfo($products): array
- {
+ public static function getTaxClassIdFromProductInfo($products): array {
$class_ids = array();
- foreach($products as $product) {
+ foreach ($products as $product) {
$class_ids[$product['product_id']] = $product['tax_class_id'];
}
@@ -178,11 +174,10 @@ public static function getTaxClassIdFromProductInfo($products): array
*
* @return int
*/
- public static function getShippingFromOrderTotals($order_totals): int
- {
+ public static function getShippingFromOrderTotals($order_totals): int {
$shipping = 0;
- foreach($order_totals as $item_total) {
+ foreach ($order_totals as $item_total) {
if ($item_total['code'] == 'shipping') {
$shipping += $item_total['value'];
}
@@ -198,11 +193,10 @@ public static function getShippingFromOrderTotals($order_totals): int
*
* @return int
*/
- public static function getTaxFromOrderTotals($order_totals): int
- {
+ public static function getTaxFromOrderTotals($order_totals): int {
$tax = 0;
- foreach($order_totals as $item_total) {
+ foreach ($order_totals as $item_total) {
if ($item_total['code'] == 'tax') {
$tax += $item_total['value'];
}
@@ -216,8 +210,7 @@ public static function getTaxFromOrderTotals($order_totals): int
*
* @return array
*/
- public static function getAvailableBankCodes(): array
- {
+ public static function getAvailableBankCodes(): array {
return [
Banks::CPI => 'Interac Combined Pay-in',
Banks::BCT => 'Bancontact',
@@ -232,8 +225,7 @@ public static function getAvailableBankCodes(): array
*
* @return bool
*/
- public static function isSecureConnection($request): bool
- {
+ public static function isSecureConnection($request): bool {
if (!empty($request->server['HTTPS']) && strtolower($request->server['HTTPS']) != 'off') {
return true;
}
@@ -256,8 +248,7 @@ public static function isSecureConnection($request): bool
*
* @return string
*/
- public static function getFirstRemoteAddress($remote_address): string
- {
+ public static function getFirstRemoteAddress($remote_address): string {
$ips = explode(",", $remote_address);
return trim($ips[0]);
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/BankAccountTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/BankAccountTypes.php
index 64eb841..bbf86a0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/BankAccountTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/BankAccountTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Banks.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Banks.php
index 437b093..ab68f81 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Banks.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Banks.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -988,6 +988,11 @@ class Banks
*/
const BLK = 'BLK';
+ /**
+ * TrueLayer
+ */
+ const TRL = 'TRL';
+
/**
* Retrieve list of all Bank Codes
*
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/DateTimeFormat.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/DateTimeFormat.php
index 0b0612a..3d5dcb1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/DateTimeFormat.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/DateTimeFormat.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Endpoints.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Endpoints.php
index ffb1367..f9d655d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Endpoints.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Endpoints.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Environments.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Environments.php
index 6fd7eb0..d20016b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Environments.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Environments.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Errors.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Errors.php
index addad8a..93a5f2a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Errors.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Errors.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ExternallyProcessed.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ExternallyProcessed.php
index 3fc1780..51f8510 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ExternallyProcessed.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ExternallyProcessed.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ProcessingTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ProcessingTypes.php
index 6be9303..862331b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ProcessingTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Fraud/Chargeback/ProcessingTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CVVPresents.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CVVPresents.php
index 58e6981..e6e2c47 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CVVPresents.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CVVPresents.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallServiceTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallServiceTypes.php
index 9968dcd..1249198 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallServiceTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallServiceTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallVerificationStatuses.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallVerificationStatuses.php
index 0274cd9..8808644 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallVerificationStatuses.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/CallVerificationStatuses.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DeviceFingerprintTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DeviceFingerprintTypes.php
index 7a3d4cc..ea265e9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DeviceFingerprintTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DeviceFingerprintTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DocumentTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DocumentTypes.php
index 8378986..645525b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DocumentTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/DocumentTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/Genders.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/Genders.php
index 1bace15..df50a07 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/Genders.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/Genders.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IdentityDocumentMethods.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IdentityDocumentMethods.php
index 4e38d99..135ea8d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IdentityDocumentMethods.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IdentityDocumentMethods.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IndustryTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IndustryTypes.php
index e69e82e..3bea3a1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IndustryTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/IndustryTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/PaymentMethods.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/PaymentMethods.php
index dc22f95..6359c07 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/PaymentMethods.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/PaymentMethods.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileActionTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileActionTypes.php
index 225d906..1dcf02a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileActionTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileActionTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileCurrentStatuses.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileCurrentStatuses.php
index 3b754a1..8e0f602 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileCurrentStatuses.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/ProfileCurrentStatuses.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/TransactionStatuses.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/TransactionStatuses.php
index 6db4eff..e45875d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/TransactionStatuses.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/TransactionStatuses.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationAddressesTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationAddressesTypes.php
index bea396f..4cbc779 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationAddressesTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationAddressesTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationDocumentTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationDocumentTypes.php
index e9e0bbd..a264c33 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationDocumentTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationDocumentTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationLanguages.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationLanguages.php
index cde650a..784370a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationLanguages.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationLanguages.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationSupportedModes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationSupportedModes.php
index 89034fa..b5a2338 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationSupportedModes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/KYC/VerificationSupportedModes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Services.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Services.php
index 79473de..9b2da89 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Services.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/NonFinancial/Services.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Payment/Methods.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Payment/Methods.php
index f248da1..20c5cc8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Payment/Methods.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Payment/Methods.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants\Payment;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/CustomRequiredParameters.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/CustomRequiredParameters.php
index 9418122..227f7c6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/CustomRequiredParameters.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/CustomRequiredParameters.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Names.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Names.php
index ad94541..6f416f5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Names.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Names.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/AfricanMobileOperators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/AfricanMobileOperators.php
index 42f1d0d..0525b44 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/AfricanMobileOperators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/AfricanMobileOperators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/AccountTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/AccountTypes.php
index 0dcf378..d9c7e9b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/AccountTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/AccountTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/P24/BankCodes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/P24/BankCodes.php
index d20a02c..d06055c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/P24/BankCodes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/P24/BankCodes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/PurposeOfRemittances.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/PurposeOfRemittances.php
index 9f4ca6c..33759ff 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/PurposeOfRemittances.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Alternatives/PurposeOfRemittances.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Business/PaymentTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Business/PaymentTypes.php
index 6787892..04eaa41 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Business/PaymentTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Business/PaymentTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/CashPayments/CompanyTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/CashPayments/CompanyTypes.php
new file mode 100644
index 0000000..a7193aa
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/CashPayments/CompanyTypes.php
@@ -0,0 +1,88 @@
+ [
- Banks::PF, Banks::BCT
+ Banks::PF, Banks::BCT, Banks::TRL
],
'THB' => [
Banks::BBL_IB_U, Banks::KBANK_PAYPLUS, Banks::BAY_IB_U, Banks::KTB_IB_U,
@@ -119,6 +119,9 @@ class BankCodeParameters
],
'PLN' => [
Banks::BLK
+ ],
+ 'GBP' => [
+ Banks::TRL
]
];
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/Ideal/AllowedBanks.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/Ideal/AllowedBanks.php
index 59aaec4..c6fa315 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/Ideal/AllowedBanks.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/Ideal/AllowedBanks.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PaymentTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PaymentTypes.php
index 1c5ddf6..754d2c9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PaymentTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PaymentTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutBankParameters.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutBankParameters.php
index a401573..31d12b1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutBankParameters.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutBankParameters.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutPaymentTypesParameters.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutPaymentTypesParameters.php
index 6c1cbe9..19b4b83 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutPaymentTypesParameters.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/OnlineBanking/PayoutPaymentTypesParameters.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/CardTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/CardTypes.php
index 2cf7cc9..c774eca 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/CardTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/CardTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants\Transaction\Parameters\PayByVouchers;
@@ -52,11 +52,7 @@ class CardTypes
*/
public static function isValidCardType($cardType)
{
- if (@constant('self::' . strtoupper($cardType))) {
- return true;
- }
-
- return false;
+ return defined('self::' . strtoupper($cardType));
}
/**
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/RedeemTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/RedeemTypes.php
index b6f0874..92462cf 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/RedeemTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/PayByVouchers/RedeemTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants\Transaction\Parameters\PayByVouchers;
@@ -53,11 +53,7 @@ class RedeemTypes
*/
public static function isValidRedeemType($redeemType)
{
- if (@constant('self::' . strtoupper($redeemType))) {
- return true;
- }
-
- return false;
+ return defined('self::' . strtoupper($redeemType));
}
/**
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Payout/MoneyTransferTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Payout/MoneyTransferTypes.php
index 2facba2..4ad4e55 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Payout/MoneyTransferTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Payout/MoneyTransferTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Categories.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Categories.php
index 35b3215..87e27be 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Categories.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Categories.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Types.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Types.php
index c6db08f..b239762 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Types.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Recurring/Types.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Refund/BankAccountTypeParameters.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Refund/BankAccountTypeParameters.php
index 901dc2b..d79e3b3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Refund/BankAccountTypeParameters.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Refund/BankAccountTypeParameters.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/RussianMobileOperators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/RussianMobileOperators.php
index dd7f403..6229923 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/RussianMobileOperators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/RussianMobileOperators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/ScaExemptions.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/ScaExemptions.php
index db586b0..52cd2a5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/ScaExemptions.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/ScaExemptions.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/SourceOfFunds.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/SourceOfFunds.php
index f0ac381..55c5b97 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/SourceOfFunds.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/SourceOfFunds.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Browser/ColorDepths.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Browser/ColorDepths.php
index 7129f87..1621e46 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Browser/ColorDepths.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Browser/ColorDepths.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/PasswordChangeIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/PasswordChangeIndicators.php
index 513156a..9014240 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/PasswordChangeIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/PasswordChangeIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/RegistrationIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/RegistrationIndicators.php
index 11480a6..533ecd7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/RegistrationIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/RegistrationIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/ShippingAddressUsageIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/ShippingAddressUsageIndicators.php
index 1aa3918..fec1840 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/ShippingAddressUsageIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/ShippingAddressUsageIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/SuspiciousActivityIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/SuspiciousActivityIndicators.php
index 85dfe22..d7218a0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/SuspiciousActivityIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/SuspiciousActivityIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/UpdateIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/UpdateIndicators.php
index 66f32b7..0b6fd3a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/UpdateIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/CardHolderAccount/UpdateIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeIndicators.php
index 6ce1dec..7278b1b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeWindowSizes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeWindowSizes.php
index 9dfcdcd..d92c455 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeWindowSizes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/ChallengeWindowSizes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/DeviceTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/DeviceTypes.php
index c55c77b..0de3809 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/DeviceTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Control/DeviceTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/DeliveryTimeframes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/DeliveryTimeframes.php
index 660a31e..b3fa8be 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/DeliveryTimeframes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/DeliveryTimeframes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/PreOrderPurchaseIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/PreOrderPurchaseIndicators.php
index 6e0fd24..fcc13ce 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/PreOrderPurchaseIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/PreOrderPurchaseIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ReorderItemIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ReorderItemIndicators.php
index d339474..e5eb948 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ReorderItemIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ReorderItemIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ShippingIndicators.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ShippingIndicators.php
index 141ab1c..5b0ed04 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ShippingIndicators.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/MerchantRisk/ShippingIndicators.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Purchase/Categories.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Purchase/Categories.php
index 252ef2f..16ff9e6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Purchase/Categories.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Purchase/Categories.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/Interfaces.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/Interfaces.php
index 31c1160..a100f92 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/Interfaces.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/Interfaces.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/UiTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/UiTypes.php
index 18aa6b5..cadc7c9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/UiTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Threeds/V2/Sdk/UiTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Wallets/PayPal/PaymentTypes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Wallets/PayPal/PaymentTypes.php
index 3ee61bc..7899274 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Wallets/PayPal/PaymentTypes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Parameters/Wallets/PayPal/PaymentTypes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/States.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/States.php
index 1da8126..bc2710c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/States.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/States.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants\Transaction;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Types.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Types.php
index 31ae668..5413e16 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Types.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/Transaction/Types.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants\Transaction;
@@ -776,6 +776,8 @@ public static function getAll()
* @param $type
*
* @return bool|string
+ *
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*/
public static function getFinancialRequestClassForTrxType($type)
{
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/i18n.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/i18n.php
index 6a0c5b7..17ebd2c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/i18n.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Constants/i18n.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Constants;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Notification.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Notification.php
index cd83379..3725b10 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Notification.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Notification.php
@@ -19,11 +19,16 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API;
+use \LogicException;
+use Genesis\Builder;
+use Genesis\Genesis;
+use Genesis\Exceptions\InvalidArgument;
+
/**
* Notification - process/validate incoming Async notifications
*
@@ -103,7 +108,7 @@ public function parseNotification($notification = [], $authenticate = true)
}
if ($authenticate && !$this->isAuthentic()) {
- throw new \Genesis\Exceptions\InvalidArgument('Invalid Genesis Notification!');
+ throw new InvalidArgument('Invalid Genesis Notification!');
}
}
@@ -123,7 +128,7 @@ public function initReconciliation()
$type = 'WPF\Reconcile';
}
- $request = new \Genesis\Genesis($type);
+ $request = new Genesis($type);
try {
$request->request()->setUniqueId($this->unique_id);
@@ -145,7 +150,7 @@ public function initReconciliation()
public function isAuthentic()
{
if (!isset($this->unique_id) || !isset($this->notificationObj->signature)) {
- throw new \Genesis\Exceptions\InvalidArgument(
+ throw new InvalidArgument(
'Missing field(s), required for validation!'
);
}
@@ -237,7 +242,7 @@ public function generateResponse()
]
];
- $builder = new \Genesis\Builder('xml');
+ $builder = new Builder('xml');
$builder->parseStructure($structure);
return $builder->getDocument();
@@ -256,7 +261,7 @@ public function getResponseIdField()
case $this->isKYCNotification():
return 'reference_id';
default:
- throw new \LogicException('Unknown notification type');
+ throw new LogicException('Unknown notification type');
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request.php
index 892c95f..b4f0967 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -54,6 +54,9 @@ abstract class Request
const METHOD_GET = 'GET';
const METHOD_PUT = 'PUT';
+ const AUTH_TYPE_BASIC = 'basic';
+ const AUTH_TYPE_TOKEN = 'bearer';
+
/**
* Store Request's configuration, like URL, Request Type, Transport Layer
*
@@ -119,7 +122,7 @@ public function getDocument()
$this->processRequestParameters();
if ($this->treeStructure instanceof \ArrayObject) {
- $this->builderContext = new \Genesis\Builder($this->builderInterface);
+ $this->builderContext = new Builder($this->builderInterface);
$this->builderContext->parseStructure($this->treeStructure->getArrayCopy());
return $this->builderContext->getDocument();
@@ -295,10 +298,11 @@ protected function initXmlConfiguration()
{
$this->config = CommonUtils::createArrayObject(
[
- 'protocol' => Request::PROTOCOL_HTTPS,
- 'port' => Request::PORT_HTTPS,
- 'type' => Request::METHOD_POST,
- 'format' => Builder::XML
+ 'protocol' => Request::PROTOCOL_HTTPS,
+ 'port' => Request::PORT_HTTPS,
+ 'type' => Request::METHOD_POST,
+ 'format' => Builder::XML,
+ 'authorization' => Request::AUTH_TYPE_BASIC
]
);
}
@@ -312,10 +316,11 @@ protected function initJsonConfiguration()
{
$this->config = CommonUtils::createArrayObject(
[
- 'protocol' => Request::PROTOCOL_HTTPS,
- 'port' => Request::PORT_HTTPS,
- 'type' => Request::METHOD_POST,
- 'format' => Builder::JSON
+ 'protocol' => Request::PROTOCOL_HTTPS,
+ 'port' => Request::PORT_HTTPS,
+ 'type' => Request::METHOD_POST,
+ 'format' => Builder::JSON,
+ 'authorization' => Request::AUTH_TYPE_BASIC
]
);
}
@@ -329,10 +334,30 @@ protected function initFormConfiguration()
{
$this->config = CommonUtils::createArrayObject(
[
- 'protocol' => Request::PROTOCOL_HTTPS,
- 'port' => Request::PORT_HTTPS,
- 'type' => Request::METHOD_POST,
- 'format' => Builder::FORM
+ 'protocol' => Request::PROTOCOL_HTTPS,
+ 'port' => Request::PORT_HTTPS,
+ 'type' => Request::METHOD_POST,
+ 'format' => Builder::FORM,
+ 'authorization' => Request::AUTH_TYPE_BASIC
+ ]
+ );
+ }
+
+ /**
+ * Configures a Secure Post Request with GraphQL body
+ *
+ * @return void
+ */
+ protected function initGraphqlConfiguration()
+ {
+ $this->config = CommonUtils::createArrayObject(
+ [
+ 'protocol' => Request::PROTOCOL_HTTPS,
+ 'port' => Request::PORT_HTTPS,
+ 'type' => Request::METHOD_POST,
+ 'format' => Builder::JSON,
+ 'authorization' => Request::AUTH_TYPE_TOKEN,
+ 'bearer_token' => null
]
);
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/BaseVersionedRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/BaseVersionedRequest.php
index a76a7a4..9649ad6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/BaseVersionedRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/BaseVersionedRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Base;
@@ -136,7 +136,7 @@ abstract protected function getRequestStructure();
* @return void
* @throws EnvironmentNotSet
*/
- protected function initConfiguration($subdomain = 'gateway')
+ protected function initConfiguration()
{
switch ($this->requestType) {
case Builder::XML:
@@ -147,7 +147,7 @@ protected function initConfiguration($subdomain = 'gateway')
break;
}
- $this->initApiGatewayConfiguration($this->version . '/' . $this->requestPath, false, $subdomain);
+ $this->initApiGatewayConfiguration("$this->version/$this->requestPath", false);
}
/**
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial.php
index a796a33..ea2105e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -139,6 +139,6 @@ protected function populateStructure()
*/
protected function initializeSmartRouter()
{
- $this->initApiGatewayConfiguration('transactions', false, 'smart_router');
+ $this->initApiGatewayConfiguration('transactions', false, 'api_service');
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative.php
index 2699e6d..e6aa233 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative/Klarna.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative/Klarna.php
index 4499cc1..287e6e8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative/Klarna.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Alternative/Klarna.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -27,6 +27,7 @@
use Genesis\API\Traits\Request\Financial\PaymentAttributes;
use Genesis\API\Request\Financial\Alternatives\Klarna\Items;
+use Genesis\Exceptions\ErrorParameter;
/**
* Class Klarna
@@ -89,7 +90,7 @@ protected function checkRequirements()
// verify there is at least one item added
if (empty($this->items) || $this->items->count() === 0) {
- throw new \Genesis\Exceptions\ErrorParameter('Empty (null) required parameter: items');
+ throw new ErrorParameter('Empty (null) required parameter: items');
}
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard.php
index fddd94a..6b2061c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard3D.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard3D.php
index da6bac4..ad7c17e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard3D.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Cards/CreditCard3D.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/GiftCard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/GiftCard.php
index 471489b..94385a4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/GiftCard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/GiftCard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Reference.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Reference.php
index b676cd5..5391e3b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Reference.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/Reference.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/SouthAmericanPayment.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/SouthAmericanPayment.php
index 3a16b0f..bac7617 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/SouthAmericanPayment.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/Financial/SouthAmericanPayment.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/GraphQLRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/GraphQLRequest.php
new file mode 100644
index 0000000..81224e8
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/GraphQLRequest.php
@@ -0,0 +1,251 @@
+request_path = $requestPath;
+ $this->request_name = $requestName;
+
+ parent::__construct($this->request_path, Builder::JSON, $allowedVersions);
+ }
+
+ /**
+ * Add single value to response field list
+ *
+ * @param $value
+ * @return $this
+ * @throws InvalidArgument
+ */
+ public function addResponseField($value)
+ {
+ if (!in_array($value, $this->getResponseFieldsAllowedValues())) {
+ throw new InvalidArgument(
+ 'Invalid value given for response fields. Allowed values: ' .
+ implode(', ', $this->getResponseFieldsAllowedValues())
+ );
+ }
+
+ array_push($this->response_fields, $value);
+
+ $this->response_fields = array_unique($this->response_fields);
+
+ return $this;
+ }
+
+ /**
+ * Set the fields in the response
+ *
+ * @param array $value
+ * @return $this
+ * @throws InvalidArgument
+ */
+ public function setResponseFields($value)
+ {
+ if (CommonUtils::isValidArray($value)
+ && empty(array_diff($value, $this->getResponseFieldsAllowedValues()))
+ ) {
+ $this->response_fields = $value;
+ $this->response_fields = array_unique($this->response_fields);
+
+ return $this;
+ }
+
+ throw new InvalidArgument(
+ 'Invalid value/s given for the response fields array. Allowed values: ' .
+ implode(', ', $this->getResponseFieldsAllowedValues())
+ );
+ }
+
+ /**
+ * Return a formatted string with response fields
+ *
+ * @return string
+ */
+ public function getResponseFields()
+ {
+ return sprintf('%s', implode(' ', $this->response_fields));
+ }
+
+ /**
+ * Initialize the appropriate token for the request
+ *
+ * @return string
+ */
+ abstract protected function initGraphqlToken();
+
+ /**
+ * Filters that are used in the request
+ *
+ * @return string
+ */
+ abstract protected function getRequestFilters();
+
+ /**
+ * List of allowed response fields
+ *
+ * @return string[]
+ */
+ abstract protected function getResponseFieldsAllowedValues();
+
+ /**
+ * Set the per-request configuration
+ *
+ * @return void
+ * @throws EnvironmentNotSet
+ */
+ protected function initConfiguration()
+ {
+ $this->initGraphqlConfiguration();
+
+ $this->initGraphqlToken();
+
+ $this->initializeServiceApiRouter($this->request_path);
+ }
+
+ /**
+ * Initialize GraphQL endpoint
+ *
+ * @param $request_path
+ * @return void
+ * @throws \Genesis\Exceptions\EnvironmentNotSet
+ */
+ protected function initializeServiceApiRouter($request_path)
+ {
+ $this->initApiGatewayConfiguration(
+ $request_path. '/' . $this->getVersion() . '/graphql',
+ false,
+ 'api_service'
+ );
+ }
+
+ /**
+ * Additional query data
+ *
+ * @return string
+ */
+ protected function getAdditionalData()
+ {
+ return '';
+ }
+
+ /**
+ * Create the request's structure
+ *
+ * @return void
+ */
+ protected function populateStructure()
+ {
+ $treeStructure = [
+ 'query' => sprintf(
+ 'query {
+ %s(
+ %s
+ ) {
+ items { %s }
+ %s
+ }
+ }',
+ $this->request_name,
+ $this->getRequestFilters(),
+ $this->getRequestStructure(),
+ $this->getAdditionalData()
+ )
+ ];
+
+ $this->treeStructure = \Genesis\Utils\Common::createArrayObject($treeStructure);
+ }
+
+ /**
+ * Helper to form parts of GraphQL query
+ *
+ * @param array $elements - GraphQL group of elements in the format
+ * ['name1' => 'value1',
+ * 'name2' => 'value2']
+ * @param string $element_name - the name of the group of elements in GraphQL
+ * element_name: { name1: value1, name2: value2 }
+ * @param string $glue - a separator, example: ', ' in name1: value1, name2: value2
+ * @param string $format - the used format, example: '%s: %s' for name1: value1
+ * @return string
+ */
+ protected function generateGraphQLCode($elements, $element_name, $glue = ', ', $format = '%s: %s')
+ {
+ $elements = array_filter($elements);
+
+ if (empty($elements)) {
+ return '';
+ }
+
+ return sprintf(
+ $element_name . ': { %s }',
+ implode(
+ $glue,
+ array_map(
+ function ($key, $value) use ($format) {
+ return sprintf($format, $key, $value);
+ },
+ array_keys($elements),
+ $elements
+ )
+ )
+ );
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Consumers/BaseRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Consumers/BaseRequest.php
index e69dac5..88f7d54 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Consumers/BaseRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Consumers/BaseRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Base\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/DateRangeRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/DateRangeRequest.php
index 7d65581..fbc3833 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/DateRangeRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/DateRangeRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -27,6 +27,7 @@
use Genesis\API\Constants\DateTimeFormat;
use Genesis\API\Request;
+use Genesis\API\Traits\Request\NonFinancial\PagingAttributes;
use Genesis\Exceptions\ErrorParameter;
use Genesis\Utils\Common;
@@ -36,6 +37,8 @@
*/
abstract class DateRangeRequest extends Request
{
+ use PagingAttributes;
+
/**
* start of the requested date range
*
@@ -50,22 +53,6 @@ abstract class DateRangeRequest extends Request
*/
protected $end_date;
- /**
- * the page within the paginated result
- * defaults to 1
- *
- * @var integer $page
- */
- protected $page;
-
- /**
- * Number of entities on page
- * default to 100
- *
- * @var integer $per_page
- */
- protected $per_page;
-
/**
* Start of requested date range
*
@@ -112,32 +99,6 @@ public function setEndDate($value)
);
}
- /**
- * the page within the paginated result, defaults to 1
- *
- * @param $value
- * @return $this
- */
- public function setPage($value)
- {
- $this->page = (int) $value;
-
- return $this;
- }
-
- /**
- * Number of entities on page, default to 100
- *
- * @param $value
- * @return $this
- */
- public function setPerPage($value)
- {
- $this->per_page = (int) $value;
-
- return $this;
- }
-
/**
* Get formatted Start Date as string
*
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Fx/BaseRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Fx/BaseRequest.php
index c4e9aa9..051d816 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Fx/BaseRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/Fx/BaseRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Base\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/KYC/BaseRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/KYC/BaseRequest.php
index 59c1eef..82b2aca 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/KYC/BaseRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/KYC/BaseRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -28,7 +28,7 @@
use Genesis\API\Request\Base\BaseVersionedRequest;
use Genesis\Builder;
use Genesis\Exceptions\EnvironmentNotSet;
-use Genesis\API\Constants\NonFinancial\KYC\Genders;
+use Genesis\Utils\Common as CommonUtils;
/**
* Class BaseRequest
@@ -46,13 +46,6 @@ abstract class BaseRequest extends BaseVersionedRequest
*/
private $request_path;
- /**
- * Switch between KYC and Gate
- *
- * @var string
- */
- private $kyc_subdomain;
-
/**
* KYC constructor.
*
@@ -61,7 +54,6 @@ abstract class BaseRequest extends BaseVersionedRequest
public function __construct($requestPath)
{
$this->request_path = $requestPath;
- $this->kyc_subdomain = 'kyc';
parent::__construct($this->request_path, Builder::JSON, ['v1']);
}
@@ -71,12 +63,11 @@ public function __construct($requestPath)
*
* @return void
* @throws EnvironmentNotSet
- * @SuppressWarnings("unused")
*/
- protected function initConfiguration($subdomain = 'kyc')
+ protected function initConfiguration()
{
- parent::initConfiguration($this->kyc_subdomain);
- $this->initApiGatewayConfiguration('api/' . $this->getVersion() . '/' . $this->request_path,false, $this->kyc_subdomain); // @codingStandardsIgnoreLine
+ parent::initConfiguration();
+ $this->initApiGatewayConfiguration("api/{$this->getVersion()}/$this->request_path", false, 'kyc');
}
/**
@@ -86,7 +77,7 @@ protected function initConfiguration($subdomain = 'kyc')
*/
protected function populateStructure()
{
- $this->treeStructure = \Genesis\Utils\Common::createArrayObject(
+ $this->treeStructure = CommonUtils::createArrayObject(
$this->getRequestStructure()
);
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/TokenizationApi/BaseRequest.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/TokenizationApi/BaseRequest.php
index a55dd2f..56964f4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/TokenizationApi/BaseRequest.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Base/NonFinancial/TokenizationApi/BaseRequest.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/ABNiDEAL.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/ABNiDEAL.php
index 7a8c3e2..1fad4f7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/ABNiDEAL.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/ABNiDEAL.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Earthport.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Earthport.php
index bcc8a84..a9c6ada 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Earthport.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Earthport.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/INPay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/INPay.php
index 40c8e23..8e73ba3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/INPay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/INPay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Authorize.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Authorize.php
index 3ecc6e5..38be763 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Authorize.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Authorize.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Capture.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Capture.php
index 7547995..b1fc80e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Capture.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Capture.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php
index 3864d6a..33df7f4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php
@@ -19,13 +19,14 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\Alternatives\Klarna;
use Genesis\API\Traits\MagicAccessors;
+use Genesis\Exceptions\ErrorParameter;
use Genesis\Utils\Common as CommonUtils;
use Genesis\Utils\Currency as CurrencyUtils;
@@ -214,7 +215,7 @@ public function __construct(
protected function verifyRequiredField($field, $value)
{
if (empty($value)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Empty (null) item required parameter: %s',
$field
@@ -233,7 +234,7 @@ protected function verifyRequiredField($field, $value)
protected function verifyNonNegativeField($field, $value)
{
if (!empty($value) && $value <= 0) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Item parameter %s is set to %s, but expected to be positive number',
$field,
@@ -253,7 +254,7 @@ protected function verifyNonNegativeField($field, $value)
protected function verifyNegativeField($field, $value)
{
if (!empty($value) && $value > 0) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Item parameter %s is set to %s, but expected to be negative number',
$field,
@@ -378,7 +379,7 @@ public function setItemType($value)
self::ITEM_TYPE_SURCHARGE
);
if (!in_array($value, $item_types)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Required item parameter item_type is set to %s, but expected to be one of (%s)',
$value,
@@ -404,7 +405,7 @@ public function setItemType($value)
public function setQuantityUnit($value)
{
if (!empty($value) && strlen($value) > 8) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Item parameter quantity_unit is set to %s, but expected to be string with max length 8 characters',
$value
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Items.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Items.php
index 88f6880..e17d615 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Items.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Items.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/ProductIdentifiers.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/ProductIdentifiers.php
index 7d6ca26..4ca8404 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/ProductIdentifiers.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/ProductIdentifiers.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Refund.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Refund.php
index 45919b6..8711f33 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Refund.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Klarna/Refund.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/P24.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/P24.php
index f72eded..11b723b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/P24.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/P24.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/POLi.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/POLi.php
index 928d40a..87f74e9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/POLi.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/POLi.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PPRO.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PPRO.php
index 8f568c0..283d5fd 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PPRO.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PPRO.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PaypalExpress.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PaypalExpress.php
index 0d210a9..74b4aee 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PaypalExpress.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/PaypalExpress.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Sofort.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Sofort.php
index 26360ee..68d11c0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Sofort.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Sofort.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/TransferTo/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/TransferTo/Payout.php
index a606ffe..683059e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/TransferTo/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/TransferTo/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Sale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Sale.php
index ef59c2b..8406311 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Sale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Sale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Withdrawal.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Withdrawal.php
index 98e99ac..a472639 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Withdrawal.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Alternatives/Trustly/Withdrawal.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cancel.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cancel.php
index aa84ebe..8c3d587 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cancel.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cancel.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Capture.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Capture.php
index 754644b..4fc7162 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Capture.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Capture.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Argencard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Argencard.php
index c03b574..f092946 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Argencard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Argencard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Aura.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Aura.php
index f5cb3c0..236947e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Aura.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Aura.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize.php
index 9de00a3..a4721ea 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize.php
@@ -19,16 +19,18 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\Cards;
+use Genesis\API\Constants\Transaction\Parameters\Recurring\Types;
use Genesis\API\Traits\Request\Financial\Business\BusinessAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\ManagedRecurringAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\RecurringCategoryAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\RecurringTypeAttributes;
+use Genesis\API\Traits\Request\Financial\Cards\Recurring\SubsequentRecurringTypeAttributes;
use Genesis\API\Traits\Request\Financial\UcofAttributes;
use Genesis\API\Traits\Request\Financial\CryptoAttributes;
use Genesis\API\Traits\Request\Financial\FxRateAttributes;
@@ -58,7 +60,7 @@ class Authorize extends \Genesis\API\Request\Base\Financial\Cards\CreditCard
PreauthorizationAttributes, TravelDataAttributes, FxRateAttributes,
CryptoAttributes, BusinessAttributes, ScaAttributes, UcofAttributes, RecurringTypeAttributes,
ManagedRecurringAttributes, RecurringCategoryAttributes, ReferenceAttributes, FundingAttributes,
- AccountOwnerAttributes;
+ AccountOwnerAttributes, SubsequentRecurringTypeAttributes;
/**
* Returns the Request transaction type
@@ -98,8 +100,7 @@ protected function setRequiredFields()
$this->requiredTokenizationFieldsConditional(),
$this->requiredCCFieldsConditional(),
$this->requiredManagedRecurringFieldsConditional(),
- $this->requiredRecurringManagedTypeFieldConditional(),
- $this->requiredRecurringSubsequentTypeFieldConditional()
+ $this->requiredRecurringManagedTypeFieldConditional()
);
$this->requiredFieldsConditional = CommonUtils::createArrayObject($requiredFieldsConditional);
@@ -115,6 +116,12 @@ protected function setRequiredFields()
*/
protected function checkRequirements()
{
+ if ($this->recurring_type == Types::SUBSEQUENT) {
+ $this->checkRequirementsSubsequent();
+
+ return;
+ }
+
$requiredFieldValuesConditional = $this->requiredRecurringAllTypesFieldValuesConditional();
$this->requiredFieldValuesConditional = CommonUtils::createArrayObject(
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize3D.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize3D.php
index 5c277f6..3fe6e72 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize3D.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Authorize3D.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Bancontact.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Bancontact.php
index dc66aa9..89096cc 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Bancontact.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Bancontact.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cabal.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cabal.php
index 11f5fc4..bb321a6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cabal.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cabal.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cencosud.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cencosud.php
index dcd803e..379b481 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cencosud.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Cencosud.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Credit.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Credit.php
index bc0a50f..33ee8d0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Credit.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Credit.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -28,6 +28,7 @@
use Genesis\API\Traits\Request\Financial\AccountOwnerAttributes;
use Genesis\API\Traits\Request\Financial\CustomerIdentificationData;
use Genesis\API\Traits\Request\Financial\SourceOfFundsAttributes;
+use Genesis\API\Traits\Request\Financial\PurposeOfPaymentAttributes;
/**
* Class Credit
@@ -38,7 +39,41 @@
*/
class Credit extends \Genesis\API\Request\Base\Financial\Reference
{
- use SourceOfFundsAttributes, CustomerIdentificationData, AccountOwnerAttributes;
+ use SourceOfFundsAttributes, CustomerIdentificationData, AccountOwnerAttributes, PurposeOfPaymentAttributes;
+
+ /**
+ * Set the required fields
+ *
+ * @return void
+ */
+ protected function setRequiredFields()
+ {
+ $requiredFields = [
+ 'transaction_id',
+ 'reference_id',
+ 'amount'
+ ];
+
+ $this->requiredFields = \Genesis\Utils\Common::createArrayObject($requiredFields);
+ }
+
+ /**
+ * Apply transformation: Convert to Minor currency unit
+ * When there is no currency the amount will not be modified
+ *
+ * @param string $amount
+ * @param string $currency
+ *
+ * @return string
+ */
+ protected function transformAmount($amount = '', $currency = '')
+ {
+ if (empty($currency)) {
+ return $amount;
+ }
+
+ return parent::transformAmount($amount, $currency);
+ }
/**
* Returns the Request transaction type
@@ -57,11 +92,13 @@ protected function getTransactionType()
protected function getPaymentTransactionStructure()
{
return array_merge(
- parent::getPaymentTransactionStructure(),
$this->getSourceOfFundsStructure(),
[
+ 'reference_id' => $this->reference_id,
+ 'amount' => $this->transformAmount($this->amount, $this->currency),
'customer_identification' => $this->getCustomerIdentificationDataStructure(),
- 'account_owner' => $this->getAccountOwnerAttributesStructure()
+ 'account_owner' => $this->getAccountOwnerAttributesStructure(),
+ 'purpose_of_payment' => $this->purpose_of_payment
]
);
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Elo.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Elo.php
index 951c088..421772d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Elo.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Elo.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/EzeeCardPayout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/EzeeCardPayout.php
index 58a03d8..3f9a9e7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/EzeeCardPayout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/EzeeCardPayout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Hipercard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Hipercard.php
index 34d0198..48e8488 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Hipercard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Hipercard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Naranja.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Naranja.php
index fd79b87..9c19e95 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Naranja.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Naranja.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Nativa.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Nativa.php
index c2af836..df13870 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Nativa.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Nativa.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Payout.php
index 87e14ec..2457113 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -30,6 +30,7 @@
use Genesis\API\Traits\Request\Financial\FxRateAttributes;
use Genesis\API\Traits\Request\AddressInfoAttributes;
use Genesis\API\Traits\Request\Financial\AccountOwnerAttributes;
+use Genesis\API\Traits\Request\Financial\PurposeOfPaymentAttributes;
use Genesis\API\Traits\Request\Financial\SourceOfFundsAttributes;
use Genesis\API\Traits\Request\Payout\MoneyTransferPayoutAttributes;
use Genesis\Utils\Common as CommonUtils;
@@ -45,7 +46,7 @@ class Payout extends \Genesis\API\Request\Base\Financial\Cards\CreditCard
{
use AddressInfoAttributes, SourceOfFundsAttributes,
FxRateAttributes, DescriptorAttributes, MoneyTransferPayoutAttributes,
- CustomerIdentificationData, AccountOwnerAttributes;
+ CustomerIdentificationData, AccountOwnerAttributes, PurposeOfPaymentAttributes;
const MONEY_TRANSFER_SENDER_ACCOUNT_NUMBER_MAX_LENGTH = 33;
const MONEY_TRANSFER_SERVICE_PROVIDER_NAME_MAX_LENGTH = 25;
@@ -92,7 +93,8 @@ protected function getTransactionAttributes()
'dynamic_descriptor_params' => $this->getDynamicDescriptorParamsStructure(),
'money_transfer' => $this->getMoneyTransferPayoutStructure(),
'customer_identification' => $this->getCustomerIdentificationDataStructure(),
- 'account_owner' => $this->getAccountOwnerAttributesStructure()
+ 'account_owner' => $this->getAccountOwnerAttributesStructure(),
+ 'purpose_of_payment' => $this->purpose_of_payment
],
$this->getSourceOfFundsStructure()
);
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale.php
index 042ce9c..4f6f221 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale3D.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale3D.php
index db0fbea..e934264 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale3D.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/InitRecurringSale3D.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/RecurringSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/RecurringSale.php
index adf0fb1..2d0575a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/RecurringSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Recurring/RecurringSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale.php
index 48ecd4e..e90e9c1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale.php
@@ -19,16 +19,18 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\Cards;
+use Genesis\API\Constants\Transaction\Parameters\Recurring\Types;
use Genesis\API\Traits\Request\Financial\Business\BusinessAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\ManagedRecurringAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\RecurringCategoryAttributes;
use Genesis\API\Traits\Request\Financial\Cards\Recurring\RecurringTypeAttributes;
+use Genesis\API\Traits\Request\Financial\Cards\Recurring\SubsequentRecurringTypeAttributes;
use Genesis\API\Traits\Request\Financial\UcofAttributes;
use Genesis\API\Traits\Request\Financial\CryptoAttributes;
use Genesis\API\Traits\Request\Financial\FxRateAttributes;
@@ -57,7 +59,8 @@ class Sale extends \Genesis\API\Request\Base\Financial\Cards\CreditCard
use GamingAttributes, MotoAttributes, AddressInfoAttributes, RiskAttributes, DescriptorAttributes,
ReferenceAttributes, TravelDataAttributes, FxRateAttributes, CryptoAttributes,
BusinessAttributes, ScaAttributes, UcofAttributes, RecurringTypeAttributes,
- ManagedRecurringAttributes, RecurringCategoryAttributes, FundingAttributes, AccountOwnerAttributes;
+ ManagedRecurringAttributes, RecurringCategoryAttributes, FundingAttributes, AccountOwnerAttributes,
+ SubsequentRecurringTypeAttributes;
/**
* Returns the Request transaction type
@@ -96,7 +99,6 @@ protected function setRequiredFields()
$requiredFieldsConditional = array_merge_recursive(
$this->requiredTokenizationFieldsConditional(),
$this->requiredCCFieldsConditional(),
- $this->requiredRecurringSubsequentTypeFieldConditional(),
$this->requiredManagedRecurringFieldsConditional(),
$this->requiredRecurringManagedTypeFieldConditional()
);
@@ -114,6 +116,12 @@ protected function setRequiredFields()
*/
protected function checkRequirements()
{
+ if ($this->recurring_type == Types::SUBSEQUENT) {
+ $this->checkRequirementsSubsequent();
+
+ return;
+ }
+
$requiredFieldValuesConditional = $this->requiredRecurringAllTypesFieldValuesConditional();
$this->requiredFieldValuesConditional = CommonUtils::createArrayObject(
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale3D.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale3D.php
index 8369ebc..7d39f07 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale3D.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Sale3D.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/TarjetaShopping.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/TarjetaShopping.php
index dac2205..b7c52e7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/TarjetaShopping.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/TarjetaShopping.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Threeds/V2/MethodContinue.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Threeds/V2/MethodContinue.php
index b6eb55f..31a619f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Threeds/V2/MethodContinue.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Cards/Threeds/V2/MethodContinue.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Baloto.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Baloto.php
index 51120b1..f4a5b88 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Baloto.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Baloto.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Banamex.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Banamex.php
index 25cdfff..dbccb43 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Banamex.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Banamex.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/BancoDeOccidente.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/BancoDeOccidente.php
index 583ec04..35a23e6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/BancoDeOccidente.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/BancoDeOccidente.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Boleto.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Boleto.php
index e5c0375..8804e53 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Boleto.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Boleto.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Carulla.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Carulla.php
index 506be82..698d46e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Carulla.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Carulla.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Efecty.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Efecty.php
index 235f378..982b9e5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Efecty.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Efecty.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/EmpreseDeEnergia.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/EmpreseDeEnergia.php
index 3e668bd..9b2ea7a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/EmpreseDeEnergia.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/EmpreseDeEnergia.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Oxxo.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Oxxo.php
index 287dae4..140586f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Oxxo.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Oxxo.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/PagoFacil.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/PagoFacil.php
index 04512cc..569fc10 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/PagoFacil.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/PagoFacil.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Pix.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Pix.php
index b5c883e..1e5c81b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Pix.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Pix.php
@@ -19,18 +19,24 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\CashPayments;
+use Genesis\API\Constants\Transaction\Parameters\CashPayments\CompanyTypes;
+use Genesis\API\Constants\Transaction\Parameters\CashPayments\Gender;
+use Genesis\API\Constants\Transaction\Parameters\CashPayments\MaritalStatuses;
use Genesis\API\Constants\Transaction\Types;
use Genesis\API\Request\Base\Financial;
use Genesis\API\Traits\Request\AddressInfoAttributes;
use Genesis\API\Traits\Request\DocumentAttributes;
use Genesis\API\Traits\Request\Financial\AsyncAttributes;
+use Genesis\API\Traits\Request\Financial\BirthDateAttributes;
+use Genesis\API\Traits\Request\Financial\CustomerAttributes;
use Genesis\API\Traits\Request\Financial\PaymentAttributes;
+use Genesis\API\Traits\Request\Financial\PendingPaymentAttributes;
use Genesis\Utils\Common as CommonUtils;
/**
@@ -46,15 +52,78 @@
* @method mixed getAmount()
* @method string getCurrency()
* @method string getDocumentId()
+ * @method int getGender()
+ * @method int getMaritalStatus()
+ * @method string getSenderOccupation()
+ * @method string getNationality()
+ * @method string getCountryOfOrigin()
+ * @method string getBirthCity()
+ * @method string getBirthState()
* @method $this setTransactionId($value)
* @method $this setAmount($value)
* @method $this setCurrency($value)
* @method $this setDocumentId($documentId)
+ * @method $this setSenderOccupation($value)
+ * @method $this setNationality($value)
+ * @method $this setCountryOfOrigin($value)
+ * @method $this setBirthState($value)
*
*/
class Pix extends Financial
{
- use AsyncAttributes, PaymentAttributes, AddressInfoAttributes, DocumentAttributes;
+ use AsyncAttributes, PaymentAttributes, AddressInfoAttributes, DocumentAttributes, PendingPaymentAttributes,
+ CustomerAttributes, BirthDateAttributes;
+
+ /**
+ * Gender
+ * 0 = Male, 1 = Female, 2 = Other
+ *
+ * @var $gender
+ */
+ protected $gender;
+
+ /**
+ * Marital status
+ * 0 = NotMarried, 1 = Married, 2 = Divorced, 3 = Separate, 4 = Widower, 5 = Single, 6 = Other
+ *
+ * @var $marital_status
+ */
+ protected $marital_status;
+
+ /**
+ * Occupation of the recipient
+ *
+ * @var string $sender_occupation
+ */
+ protected $sender_occupation;
+
+ /**
+ * Nationality of the payer
+ *
+ * @var string $nationality
+ */
+ protected $nationality;
+
+ /**
+ * Country of origin of the payer. Two-letter iso codes
+ *
+ * @var string $country_of_origin
+ */
+ protected $country_of_origin;
+
+ /**
+ * City of birth of the payer
+ *
+ * @var string $birth_city
+ */
+ protected $birth_city;
+
+ /**
+ * Birth state of the payer
+ *
+ * @var string $birth_state
+ */
+ protected $birth_state;
/**
* Returns the Request transaction type
@@ -75,6 +144,46 @@ protected function getAllowedBillingCountries()
return ['BR'];
}
+ /**
+ * @param $value
+ * @return Pix
+ * @throws \Genesis\Exceptions\InvalidArgument
+ */
+ public function setGender($value)
+ {
+ return $this->allowedOptionsSetter(
+ 'gender',
+ Gender::getAll(),
+ $value,
+ 'Invalid value for parameter gender provided.'
+ );
+ }
+
+ /**
+ * @param $value
+ * @return Pix
+ * @throws \Genesis\Exceptions\InvalidArgument
+ */
+ public function setMaritalStatus($value)
+ {
+ return $this->allowedOptionsSetter(
+ 'marital_status',
+ MaritalStatuses::getAll(),
+ $value,
+ 'Invalid value for marital status parameter provided.'
+ );
+ }
+
+ public function setCompanyType($value)
+ {
+ return $this->allowedOptionsSetter(
+ 'company_type',
+ CompanyTypes::getAll(),
+ $value,
+ 'Invalid value for company type parameter provided.'
+ );
+ }
+
/**
* Set the required fields
*
@@ -109,15 +218,28 @@ protected function setRequiredFields()
*/
protected function getPaymentTransactionStructure()
{
- return [
- 'return_success_url' => $this->return_success_url,
- 'return_failure_url' => $this->return_failure_url,
- 'amount' => $this->transformAmount($this->amount, $this->currency),
- 'currency' => $this->currency,
- 'customer_email' => $this->customer_email,
- 'document_id' => $this->document_id,
- 'billing_address' => $this->getBillingAddressParamsStructure(),
- 'shipping_address' => $this->getShippingAddressParamsStructure(),
- ];
+ return array_merge(
+ [
+ 'return_success_url' => $this->return_success_url,
+ 'return_failure_url' => $this->return_failure_url,
+ 'return_pending_url' => $this->getReturnPendingUrl(),
+ 'amount' => $this->transformAmount($this->amount, $this->currency),
+ 'currency' => $this->currency,
+ 'customer_email' => $this->customer_email,
+ 'document_id' => $this->document_id,
+ 'billing_address' => $this->getBillingAddressParamsStructure(),
+ 'shipping_address' => $this->getShippingAddressParamsStructure(),
+ 'birth_date' => $this->getBirthDate(),
+ 'birth_city' => $this->birth_city,
+ 'birth_state' => $this->birth_state,
+ 'gender' => $this->gender,
+ 'marital_status' => $this->marital_status,
+ 'sender_occupation' => $this->sender_occupation,
+ 'nationality' => $this->nationality,
+ 'country_of_origin' => $this->country_of_origin
+
+ ],
+ $this->getCustomerParamsStructure()
+ );
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Redpagos.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Redpagos.php
index 3f64164..f7a2f20 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Redpagos.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Redpagos.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/SantanderCash.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/SantanderCash.php
index a6054b9..d7a2465 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/SantanderCash.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/SantanderCash.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Surtimax.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Surtimax.php
index 41609b5..abb71f1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Surtimax.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/CashPayments/Surtimax.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Payout.php
index bcab21c..351a7ac 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\Crypto\BitPay;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Refund.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Refund.php
index 43db0dd..660ad6d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Refund.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Refund.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Sale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Sale.php
index 3ba70a9..1c39e56 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Sale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Crypto/BitPay/Sale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\Crypto\BitPay;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Fashioncheque.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Fashioncheque.php
index 1c4a30d..b92f2f3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Fashioncheque.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Fashioncheque.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Intersolve.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Intersolve.php
index 52b3cb4..c9a25c1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Intersolve.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Intersolve.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Tcs.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Tcs.php
index 8435eca..aa11783 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Tcs.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/GiftCards/Tcs.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/AfricanMobileSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/AfricanMobileSale.php
index a710e81..fffb41c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/AfricanMobileSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/AfricanMobileSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/ApplePay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/ApplePay.php
index 09f9805..a623245 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/ApplePay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/ApplePay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/GooglePay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/GooglePay.php
index da9f67f..554684a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/GooglePay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/GooglePay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/RussianMobileSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/RussianMobileSale.php
index 3bbaa30..c0a3e1d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/RussianMobileSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Mobile/RussianMobileSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Alipay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Alipay.php
index f49814c..2426d1d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Alipay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Alipay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/AstropayDirect.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/AstropayDirect.php
index 55297c8..090de1a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/AstropayDirect.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/AstropayDirect.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/BancoDoBrasil.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/BancoDoBrasil.php
index 868c24b..701bc40 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/BancoDoBrasil.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/BancoDoBrasil.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bancomer.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bancomer.php
index bffeb58..5607c8c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bancomer.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bancomer.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bradesco.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bradesco.php
index 92168dc..5e8a5ba 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bradesco.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Bradesco.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payin.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payin.php
index 986f70a..98008b9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payin.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payin.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payout.php
index b297204..8f917d2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Citadel/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Davivienda.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Davivienda.php
index eeb95b7..79ea9e8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Davivienda.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Davivienda.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Entercash.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Entercash.php
index d36e59c..f9ecf82 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Entercash.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Entercash.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Eps.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Eps.php
index 0a8fc34..596fac4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Eps.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Eps.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/GiroPay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/GiroPay.php
index a1c4839..26591c0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/GiroPay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/GiroPay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Ideal.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Ideal.php
index 8933ea0..d1e1b79 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Ideal.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Ideal.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payin.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payin.php
index 510d36c..a95f98c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payin.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payin.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payout.php
index 3deafe6..9f48325 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstaDebit/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstantTransfer.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstantTransfer.php
index 189de94..2a43c76 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstantTransfer.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/InstantTransfer.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Itau.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Itau.php
index 264605e..92a49ed 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Itau.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Itau.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Multibanco.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Multibanco.php
index 816acec..a368aa9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Multibanco.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Multibanco.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/MyBank.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/MyBank.php
index 53b1dd3..ef87836 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/MyBank.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/MyBank.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payin.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payin.php
index 5883776..143de43 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payin.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payin.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payout.php
index 4d01f6c..ff53ec7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/OnlineBanking/Payout.php
@@ -19,22 +19,22 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\OnlineBankingPayments\OnlineBanking;
use Genesis\API\Constants\BankAccountTypes;
+use Genesis\API\Constants\Transaction\Parameters\OnlineBanking\PayoutBankCodeParameters;
use Genesis\API\Constants\Transaction\Parameters\OnlineBanking\PayoutBankParameters;
use Genesis\API\Constants\Transaction\Parameters\OnlineBanking\PayoutPaymentTypesParameters;
-use Genesis\API\Constants\Transaction\Parameters\OnlineBanking\PayoutBankCodeParameters;
use Genesis\API\Traits\Request\AddressInfoAttributes;
use Genesis\API\Traits\Request\Financial\AsyncAttributes;
use Genesis\API\Traits\Request\Financial\BirthDateAttributes;
+use Genesis\API\Traits\Request\Financial\CustomerAttributes;
use Genesis\API\Traits\Request\Financial\NotificationAttributes;
use Genesis\API\Traits\Request\Financial\PaymentAttributes;
-use Genesis\API\Traits\Request\Financial\OnlineBankingPayments\CustomerAttributes;
use Genesis\Exceptions\ErrorParameter;
use Genesis\Exceptions\InvalidArgument;
use Genesis\Exceptions\InvalidClassMethod;
@@ -53,7 +53,9 @@
* @method Payout setBankCode($value) Set Customer’s bank code
* @method Payout setBankBranch($value) Set Customer’s bank branch
* @method Payout setBankProvince($value) Set Name of the province that the bank is located
+ * @method Payout setPixKey($value)
* @method string getPaymentType() Get Payment type
+ * @method string getPixKey()
*
* @SuppressWarnings(PHPMD.LongVariable)
*/
@@ -178,6 +180,13 @@ class Payout extends \Genesis\API\Request\Base\Financial
*/
protected $payment_type;
+ /**
+ * PIX key of the customer.
+ *
+ * @var string $pix_key
+ */
+ protected $pix_key;
+
protected function getTransactionType()
{
return \Genesis\API\Constants\Transaction\Types::ONLINE_BANKING_PAYOUT;
@@ -425,7 +434,8 @@ protected function getPaymentTransactionStructure()
'birth_date' => $this->getBirthDate(),
'payment_type' => $this->payment_type,
'billing_address' => $this->getBillingAddressParamsStructure(),
- 'shipping_address' => $this->getShippingAddressParamsStructure()
+ 'shipping_address' => $this->getShippingAddressParamsStructure(),
+ 'pix_key' => $this->pix_key
],
$this->getCustomerParamsStructure()
);
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PayU.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PayU.php
index eb4fd93..74eabe4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PayU.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PayU.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PostFinance.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PostFinance.php
index af4a085..e45775e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PostFinance.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/PostFinance.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Pse.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Pse.php
index e1722f4..ddd8702 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Pse.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Pse.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/RapiPago.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/RapiPago.php
index 46f2a00..2f472b5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/RapiPago.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/RapiPago.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/SafetyPay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/SafetyPay.php
index cf8a7c1..213867f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/SafetyPay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/SafetyPay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Santander.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Santander.php
index c754740..db31a79 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Santander.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Santander.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/TrustPay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/TrustPay.php
index 012ed16..be6e951 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/TrustPay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/TrustPay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Upi.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Upi.php
index f2a9c0e..7000e46 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Upi.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Upi.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/WeChat.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/WeChat.php
index 15e7ea3..ac6b689 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/WeChat.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/WeChat.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Webpay.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Webpay.php
index 259a6de..f013813 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Webpay.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/Webpay.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payin.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payin.php
index 9c21f3d..cdc6173 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payin.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payin.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payout.php
index 594efea..ec08933 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/OnlineBankingPayments/iDebit/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/Sale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/Sale.php
index b73f790..aadf35a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/Sale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/Sale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/oBeP.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/oBeP.php
index 874f1b0..31d34cc 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/oBeP.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/PayByVouchers/oBeP.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\PayByVouchers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/AfricanMobilePayout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/AfricanMobilePayout.php
index f5f5c1b..5e715e2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/AfricanMobilePayout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/AfricanMobilePayout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/RussianMobilePayout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/RussianMobilePayout.php
index 6c13054..ab8408f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/RussianMobilePayout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Payout/RussianMobilePayout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Refund.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Refund.php
index 91bf2d6..39ede33 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Refund.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Refund.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SCT/Payout.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SCT/Payout.php
index bea518e..ed5fe40 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SCT/Payout.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SCT/Payout.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\SCT;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/InitRecurringSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/InitRecurringSale.php
index eca2d42..5deff0f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/InitRecurringSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/InitRecurringSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\Financial\SDD\Recurring;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/RecurringSale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/RecurringSale.php
index 7086a76..86f5cf2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/RecurringSale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Recurring/RecurringSale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Refund.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Refund.php
index a5c2065..85bbaa8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Refund.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Refund.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Sale.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Sale.php
index 9ac86f1..b2dc845 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Sale.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/SDD/Sale.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/TravelData/AirlineItineraryLegData.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/TravelData/AirlineItineraryLegData.php
index fcd4032..90ec22d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/TravelData/AirlineItineraryLegData.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/TravelData/AirlineItineraryLegData.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/AstropayCard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/AstropayCard.php
index 06336b1..dced38c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/AstropayCard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/AstropayCard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/CashU.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/CashU.php
index e840a8c..9650db8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/CashU.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/CashU.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Neosurf.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Neosurf.php
index eb2a0c2..b476b51 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Neosurf.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Neosurf.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Paysafecard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Paysafecard.php
index 7d2d211..3b090fd 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Paysafecard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Vouchers/Paysafecard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Neteller.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Neteller.php
index 1bae700..8ec040f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Neteller.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Neteller.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/PayPal.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/PayPal.php
index 0d4b7d3..bf65d49 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/PayPal.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/PayPal.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Qiwi.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Qiwi.php
index b30a545..a779dbe 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Qiwi.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Qiwi.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/WebMoney.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/WebMoney.php
index c4e437a..d1c698e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/WebMoney.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/WebMoney.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Zimpler.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Zimpler.php
index a320594..14be66a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Zimpler.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/Zimpler.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/eZeeWallet.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/eZeeWallet.php
index 38a5c2c..1f36dc8 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/eZeeWallet.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/Financial/Wallets/eZeeWallet.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -28,6 +28,8 @@
use Genesis\API\Traits\Request\Financial\PaymentAttributes;
use Genesis\API\Traits\Request\Financial\NotificationAttributes;
use Genesis\API\Traits\Request\Financial\AsyncAttributes;
+use Genesis\Exceptions\InvalidArgument;
+use Genesis\Utils\Common as CommonUtils;
/**
* Class eZeeWallet
@@ -38,6 +40,7 @@
*
* @method eZeeWallet setSourceWalletId($value) Set Email address of consumer who owns the source wallet
* @method eZeeWallet setSourceWalletPwd($value) Set the Password of consumer who owns the source wallet
+ * @method string getMerchantWebsite() Get the Merchant Website URL
*/
// @codingStandardsIgnoreStart
class eZeeWallet extends \Genesis\API\Request\Base\Financial
@@ -59,6 +62,37 @@ class eZeeWallet extends \Genesis\API\Request\Base\Financial
*/
protected $source_wallet_pwd;
+ /**
+ * Website URL of the merchant initiating the wallet transfer
+ *
+ * @var string
+ */
+ protected $merchant_website;
+
+ /**
+ * Set merchant_website URL
+ *
+ * @param string $value
+ * @return $this
+ * @throws InvalidArgument
+ */
+ public function setMerchantWebsite($value)
+ {
+ if (empty($value)) {
+ $this->merchant_website = null;
+
+ return $this;
+ }
+
+ if (!CommonUtils::isValidUrl($value)) {
+ throw new InvalidArgument('Invalid merchant_website URL is given.');
+ }
+
+ $this->merchant_website = $value;
+
+ return $this;
+ }
+
/**
* Returns the Request transaction type
* @return string
@@ -102,11 +136,11 @@ protected function getPaymentTransactionStructure()
'return_failure_url' => $this->return_failure_url,
'notification_url' => $this->notification_url,
'source_wallet_id' => $this->source_wallet_id,
- 'source_wallet_pwd' => $this->transformWalletPassword($this->source_wallet_pwd)
+ 'source_wallet_pwd' => $this->transformWalletPassword($this->source_wallet_pwd),
+ 'merchant_website' => $this->merchant_website
];
}
-
/**
* Apply transformation:
*
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AVS.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AVS.php
index bf0f2a6..66cc565 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AVS.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AVS.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AccountVerification.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AccountVerification.php
index dff6dbe..cdee12f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AccountVerification.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/AccountVerification.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Alternatives/TransferTo/Payers.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Alternatives/TransferTo/Payers.php
index 8e76c60..c20c7d0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Alternatives/TransferTo/Payers.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Alternatives/TransferTo/Payers.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/BillingApi/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/BillingApi/Transaction.php
new file mode 100644
index 0000000..0095a39
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/BillingApi/Transaction.php
@@ -0,0 +1,337 @@
+billing_statement_id = array_map('intval', $value);
+
+ return $this;
+ }
+
+ throw new InvalidArgument(
+ 'BillingStatementId should be an array of integers'
+ );
+ }
+
+ /**
+ * Return a formatted string with the Billing statement IDs
+ *
+ * @return string
+ */
+ public function getBillingStatementId()
+ {
+ if (empty($this->billing_statement_id)) {
+ return '';
+ }
+
+ return sprintf('[%s]', implode(',', $this->billing_statement_id));
+ }
+
+ /**
+ * Set order by field parameter
+ *
+ * @param string $value
+ * @return $this
+ * @throws InvalidArgument
+ */
+ public function setOrderByField($value)
+ {
+ return $this->allowedOptionsSetter(
+ 'order_by_field',
+ $this->getOrderByFieldAllowedValues(),
+ $value,
+ 'Invalid value given for orderByField. Allowed values: ' .
+ implode(', ', $this->getOrderByFieldAllowedValues())
+ );
+ }
+
+ /**
+ * List of allowed response fields
+ *
+ * @return string[]
+ */
+ protected function getResponseFieldsAllowedValues()
+ {
+ return ['uniqueId', 'billingStatementId', 'billingStatementDisplayId', 'transactionType',
+ 'transactionDate', 'transactionCurrency', 'transactionAmount', 'exchangeRate', 'billingCurrency',
+ 'billingAmount', 'transactionFeeCurrency', 'transactionFeeAmount', 'commissionAmount', 'commissionRuleId',
+ 'transactionFeeChargedOnBillingStatementId', 'commissionPercent', 'interchangeFee', 'interchangeCurrency',
+ 'isInterchangeplusplus', 'interchangeplusplusChargedOnBillingStatementId', 'schemeFee', 'vatAmount',
+ 'vatRate', 'schemeFeeCurrency', 'standardDebitCardRate', 'gstAmount', 'gstRate', 'terminalId', 'region',
+ 'settlementStatements', 'settlementDates', 'settlementStatus', 'merchantId', 'merchantName', 'valueDate'];
+ }
+
+ /**
+ * List of allowed fields for response sorting
+ *
+ * @return string[]
+ */
+ protected function getOrderByFieldAllowedValues()
+ {
+ return ['billingStatementId', 'transactionDate', 'transactionCurrency', 'transactionAmount',
+ 'terminalId', 'exchangeRate', 'billingAmount', 'transactionFeeAmount', 'commissionPercent',
+ 'commissionAmount', 'commissionRuleId', 'interchangeFee', 'region', 'settlementStatus'];
+ }
+
+ /**
+ * Set Service API token
+ *
+ * @return void
+ */
+ protected function initGraphqlToken()
+ {
+ $this->setApiConfig('bearer_token', \Genesis\Config::getBillingApiToken());
+ }
+
+ /**
+ * Additional optional filter arguments
+ *
+ * @return string
+ */
+ protected function getAdditionalArguments()
+ {
+ return sprintf(
+ '%s %s',
+ $this->getRequestOrder(),
+ $this->getRequestPaging()
+ );
+ }
+
+ /**
+ * Add paging information to the request
+ *
+ * @return string
+ */
+ protected function getAdditionalData()
+ {
+ return $this->pagingGraphQlFields();
+ }
+
+ /**
+ * @return void
+ */
+ protected function setRequiredFields()
+ {
+ $requiredFields = [
+ 'response_fields'
+ ];
+ $this->requiredFields = \Genesis\Utils\Common::createArrayObject($requiredFields);
+
+ $requiredFieldsGroups = [
+ 'filter' => [
+ 'start_date',
+ 'end_date',
+ 'unique_id',
+ 'billing_statement_id'
+ ]
+ ];
+ $this->requiredFieldsGroups = \Genesis\Utils\Common::createArrayObject($requiredFieldsGroups);
+ }
+
+ /**
+ * @return void
+ * @throws ErrorParameter
+ * @throws InvalidArgument
+ */
+ protected function checkRequirements()
+ {
+ parent::checkRequirements();
+
+ $this->validateConditionallyRequiredDates();
+ $this->validateStatementsMaxCount();
+ }
+
+ /**
+ * Validate dates
+ * If startDate is provided, then endDate should also be provided and vice versa.
+ *
+ * @return void
+ * @throws ErrorParameter
+ */
+ protected function validateConditionallyRequiredDates()
+ {
+ if ((!empty($this->start_date) && empty($this->end_date))
+ || (!empty($this->end_date) && empty($this->start_date))
+ ) {
+ throw new ErrorParameter(
+ 'If filter startDate is provided, then endDate should also be provided and vice versa.'
+ );
+ }
+ }
+
+ /**
+ * Validate max number of billingStatementId elements
+ *
+ * @return void
+ * @throws ErrorParameter
+ */
+ protected function validateStatementsMaxCount()
+ {
+ if (!empty($this->billing_statement_id)
+ && count($this->billing_statement_id) > self::MAX_COUNT_BILLING_STATEMENTS_FILTER
+ ) {
+ throw new ErrorParameter(
+ sprintf(
+ 'Max number of billingStatementID elements allowed is %s.',
+ self::MAX_COUNT_BILLING_STATEMENTS_FILTER
+ )
+ );
+ }
+ }
+
+ /**
+ * Return a formatted string with request filters
+ *
+ * @return string
+ */
+ protected function getRequestFilters()
+ {
+ $filters = [
+ 'uniqueId' => $this->getUniqueId(),
+ 'startDate' => $this->getStartDate(),
+ 'endDate' => $this->getEndDate(),
+ 'billingStatementId' => $this->getBillingStatementId()
+ ];
+
+ $filters = array_filter($filters);
+
+ $filterData = implode(
+ ', ',
+ array_map(
+ function ($key, $value) {
+ $format = ($key == 'billingStatementId') ? '%s: %s' : '%s: "%s"';
+
+ return sprintf($format, $key, $value);
+ },
+ array_keys($filters),
+ $filters
+ )
+ );
+
+ return sprintf(
+ 'filter: { %s } %s',
+ $filterData,
+ $this->getAdditionalArguments()
+ );
+ }
+
+ /**
+ * Return a formatted string with paging parameters
+ *
+ * @return string
+ */
+ protected function getRequestPaging()
+ {
+ $paging = [
+ 'page' => $this->getPage(),
+ 'perPage' => $this->getPerPage()
+ ];
+
+ return $this->generateGraphQLCode($paging, 'paging');
+ }
+
+ /**
+ * Return a formatted string with ordering parameters
+ *
+ * @return string
+ */
+ protected function getRequestOrder()
+ {
+ $elements = [
+ 'byDirection' => $this->getOrderByDirection(),
+ 'byField' => $this->getOrderByField()
+ ];
+
+ return $this->generateGraphQLCode($elements, 'sort');
+ }
+
+ protected function getRequestStructure()
+ {
+ return $this->getResponseFields();
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Blacklist.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Blacklist.php
index f7891ff..cad2e11 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Blacklist.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Blacklist.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Create.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Create.php
index 1836423..e2c6e7b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Create.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Create.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Disable.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Disable.php
index 2209ea8..694f56b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Disable.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Disable.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Enable.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Enable.php
index 8e77957..577d2c3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Enable.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Enable.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Retrieve.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Retrieve.php
index 689ad1d..5d85df9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Retrieve.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Retrieve.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Update.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Update.php
index f9de0f5..f571961 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Update.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Consumers/Update.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Consumers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/DateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/DateRange.php
index 511f9aa..1c27ebf 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/DateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/DateRange.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -28,6 +28,7 @@
use Genesis\API\Constants\DateTimeFormat;
use Genesis\API\Constants\NonFinancial\Fraud\Chargeback\ExternallyProcessed;
use Genesis\API\Constants\NonFinancial\Fraud\Chargeback\ProcessingTypes;
+use Genesis\API\Traits\Request\NonFinancial\PagingAttributes;
use Genesis\Exceptions\ErrorParameter;
/**
@@ -36,13 +37,13 @@
* @package Genesis
* @subpackage Request
*
- * @method getPage() Get the page within the paginated result
- * @method getPerPage() Get number of entities on page
* @method getExternallyProcessed() Filters chargebacks by being externally processed or being native to Genesis
* @method getProcessingType() Filters chargebacks by being card present or card not present
*/
class DateRange extends \Genesis\API\Request
{
+ use PagingAttributes;
+
/**
* start of the requested date range
*
@@ -64,24 +65,6 @@ class DateRange extends \Genesis\API\Request
*/
protected $import_date;
- /**
- * the page within the paginated result
- *
- * default: 1
- *
- * @var int $page
- */
- protected $page;
-
- /**
- * Number of entities per page
- *
- * default: 100
- *
- * @var int $per_page
- */
- protected $per_page;
-
/**
* Filters chargebacks by being externally processed or being native to Genesis
*
@@ -163,32 +146,6 @@ public function setImportDate($value)
);
}
- /**
- * the within the paginated result
- *
- * @param $value
- * @return $this
- */
- public function setPage($value)
- {
- $this->page = (int) $value;
-
- return $this;
- }
-
- /**
- * Number of entities on page, default to 100
- *
- * @param $value
- * @return $this
- */
- public function setPerPage($value)
- {
- $this->per_page = (int) $value;
-
- return $this;
- }
-
/**
* Filters chargebacks by being externally processed or being native to Genesis.
*
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/Transaction.php
index 5e1ff50..9d87b6f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/Transaction.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Chargeback/Transaction.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fraud\Chargeback;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/DateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/DateRange.php
index fd53066..a5b1cdd 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/DateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/DateRange.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/Transaction.php
index 60155e1..ff0038a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/Transaction.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Reports/Transaction.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fraud\Reports;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/DateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/DateRange.php
index bd14da0..1554c43 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/DateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/DateRange.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fraud\Retrieval;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/Transaction.php
index ed33e75..8ef2fcd 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/Transaction.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fraud/Retrieval/Transaction.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fraud\Retrieval;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRate.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRate.php
index 8a6c9ed..1f66f92 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRate.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRate.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRates.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRates.php
index 6373751..e5aa4a1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRates.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetRates.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTier.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTier.php
index f826153..63b9c54 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTier.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTier.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTiers.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTiers.php
index 0d96d6d..5cc202e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTiers.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/GetTiers.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/SearchRate.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/SearchRate.php
index 0157f84..825564c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/SearchRate.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Fx/SearchRate.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Fx;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CNPJ/Check.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CNPJ/Check.php
new file mode 100644
index 0000000..d70b4da
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CNPJ/Check.php
@@ -0,0 +1,93 @@
+document_id = $value;
+
+ $this->setApiConfig(
+ 'url',
+ $this->buildRequestURL('kyc', "api/{$this->getVersion()}/{$this->getRequestPath()}/$this->document_id")
+ );
+
+ return $this;
+ }
+
+ /**
+ * @return void
+ */
+ protected function setRequiredFields()
+ {
+ $requiredFields = [
+ 'document_id'
+ ];
+
+ $this->requiredFields = CommonUtils::createArrayObject($requiredFields);
+ }
+
+ /**
+ * @return array
+ */
+ protected function getRequestStructure()
+ {
+ return [];
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CPF/Check.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CPF/Check.php
new file mode 100644
index 0000000..9ad7df3
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/CPF/Check.php
@@ -0,0 +1,93 @@
+document_id = $value;
+
+ $this->setApiConfig(
+ 'url',
+ $this->buildRequestURL('kyc', "api/{$this->getVersion()}/{$this->getRequestPath()}/$this->document_id")
+ );
+
+ return $this;
+ }
+
+ /**
+ * @return void
+ */
+ protected function setRequiredFields()
+ {
+ $requiredFields = [
+ 'document_id'
+ ];
+
+ $this->requiredFields = CommonUtils::createArrayObject($requiredFields);
+ }
+
+ /**
+ * @return array
+ */
+ protected function getRequestStructure()
+ {
+ return [];
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Create.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Create.php
index dee4a01..ec5e6b0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Create.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Create.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Update.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Update.php
index 17d3cc1..47c4edb 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Update.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Call/Update.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Register.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Register.php
index a2f55f3..089218f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Register.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Register.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Status.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Status.php
index 0f54a72..e185dc3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Status.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Status.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Verify.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Verify.php
index 6c7748b..902ef54 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Verify.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ClientVerification/Verify.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Create.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Create.php
index 1fb85fd..c0d5776 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Create.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Create.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Update.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Update.php
index ff42a71..9483a55 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Update.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/ConsumerRegistration/Update.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Download.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Download.php
index f8f5f5a..b02bcd2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Download.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Download.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Upload.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Upload.php
index 34b14cb..373eeaf 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Upload.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/IdentityDocument/Upload.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Create.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Create.php
index 9237646..1936f33 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Create.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Create.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Update.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Update.php
index 26f3f39..2c2376c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Update.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/KYC/Transaction/Update.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/DateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/DateRange.php
index fc0e2c8..ff7e4f3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/DateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/DateRange.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/PostDateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/PostDateRange.php
index 64125f8..45dab44 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/PostDateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/PostDateRange.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/Transaction.php
index e180678..f4f644c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/Transaction.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/ProcessedTransactions/Transaction.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/DateRange.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/DateRange.php
index 3058c7b..64a49db 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/DateRange.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/DateRange.php
@@ -19,14 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Reconcile;
-use Genesis\API\Constants\DateTimeFormat;
-use Genesis\API\Validators\Request\RegexValidator;
+use Genesis\API\Traits\Request\NonFinancial\DateAttributes;
/**
* Reconcile request by Date Range
@@ -36,19 +35,7 @@
*/
class DateRange extends \Genesis\API\Request
{
- /**
- * start of the requested date range
- *
- * @var \DateTime
- */
- protected $start_date;
-
- /**
- * end of the requested date range
- *
- * @var \DateTime
- */
- protected $end_date;
+ use DateAttributes;
/**
* the page within the paginated result
@@ -59,90 +46,6 @@ class DateRange extends \Genesis\API\Request
*/
protected $page;
- /**
- * Optional time in start_date
- * @var bool
- */
- private $start_date_has_time = false;
-
- /**
- * Optional time in end_date
- * @var bool
- */
- private $end_date_has_time = false;
-
- /**
- * @param string $date
- * @return $this
- * @throws \Genesis\Exceptions\InvalidArgument
- */
- public function setStartDate($date)
- {
- if (empty($date)) {
- $this->start_date = null;
-
- return $this;
- }
-
- if (preg_match(RegexValidator::PATTERN_TIMESTAMP, $date) === 1) {
- $this->start_date_has_time = true;
- }
-
- return $this->parseDate(
- 'start_date',
- DateTimeFormat::getAll(),
- $date,
- 'Invalid value given for Start date.'
- );
- }
-
- /**
- * @return string|null
- */
- public function getStartDate()
- {
- $format = $this->start_date_has_time ? DateTimeFormat::YYYY_MM_DD_H_I_S :
- DateTimeFormat::YYYY_MM_DD_ISO_8601;
-
- return (empty($this->start_date)) ? null : $this->start_date->format($format);
- }
-
- /**
- * @param string $date
- * @return $this
- * @throws \Genesis\Exceptions\InvalidArgument
- */
- public function setEndDate($date)
- {
- if (empty($date)) {
- $this->end_date = null;
-
- return $this;
- }
-
- if (preg_match(RegexValidator::PATTERN_TIMESTAMP, $date) === 1) {
- $this->end_date_has_time = true;
- }
-
- return $this->parseDate(
- 'end_date',
- DateTimeFormat::getAll(),
- $date,
- 'Invalid value given for End date.'
- );
- }
-
- /**
- * @return string|null
- */
- public function getEndDate()
- {
- $format = $this->end_date_has_time ? DateTimeFormat::YYYY_MM_DD_H_I_S :
- DateTimeFormat::YYYY_MM_DD_ISO_8601;
-
- return (empty($this->end_date)) ? null : $this->end_date->format($format);
- }
-
/**
* Set the per-request configuration
*
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/Transaction.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/Transaction.php
index 782f186..62cbec5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/Transaction.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Reconcile/Transaction.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Reconcile;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Retrieve/AbniDealBanks.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Retrieve/AbniDealBanks.php
index 19913eb..baf6870 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Retrieve/AbniDealBanks.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Retrieve/AbniDealBanks.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\Retrieve;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Sca/Checker.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Sca/Checker.php
index 641e760..38d6f87 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Sca/Checker.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/Sca/Checker.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/DeleteToken.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/DeleteToken.php
index b335794..f6f82a2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/DeleteToken.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/DeleteToken.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Detokenize.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Detokenize.php
index 34bdb17..541b098 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Detokenize.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Detokenize.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\NonFinancial\TokenizationApi;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/GetCard.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/GetCard.php
index fed4164..820c8a9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/GetCard.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/GetCard.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Tokenize.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Tokenize.php
index 5159347..4683543 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Tokenize.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/Tokenize.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/UpdateToken.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/UpdateToken.php
index 053a81d..56e2d5b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/UpdateToken.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/UpdateToken.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/ValidateToken.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/ValidateToken.php
index bc781bc..8c93fb0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/ValidateToken.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TokenizationApi/ValidateToken.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TransactionApi/CardExpiryDateUpdate.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TransactionApi/CardExpiryDateUpdate.php
index fa45608..cb088a6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TransactionApi/CardExpiryDateUpdate.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/NonFinancial/TransactionApi/CardExpiryDateUpdate.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Create.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Create.php
index 3b5ad69..d6557f8 100755
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Create.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Create.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\WPF;
@@ -71,7 +71,7 @@
* @method mixed getWebPaymentFormId() The unique ID of the web payment form configuration to be displayed for the current payment.
* @codingStandardsIgnoreEnd
*
- * @SuppressWarnings(PHPMD.LongVariable)
+ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
*/
class Create extends \Genesis\API\Request
{
@@ -140,7 +140,7 @@ class Create extends \Genesis\API\Request
/**
* Number of minutes determining how long the WPF will be valid.
* Will be set to 30 minutes by default.
- * Valid value ranges between 1 minute and 31 days given in minutes
+ * Valid value ranges between 1 minute and 3 months given in minutes
*
* @var int $lifetime
*/
@@ -226,8 +226,10 @@ public function setLifetime($lifetime)
{
$lifetime = intval($lifetime);
- if ($lifetime < 1 || $lifetime > 44640) {
- throw new InvalidArgument('Valid value ranges between 1 minute and 31 days given in minutes');
+ if ($lifetime < 1 || $lifetime > 131487) {
+ throw new InvalidArgument(
+ 'Valid value ranges between 1 minute and 3 months given in minutes (131487)'
+ );
}
$this->lifetime = $lifetime;
@@ -397,7 +399,7 @@ public function setScaExemption($value)
protected function verifyTransactionType($transactionType, $parameters = [])
{
if (!Types::isValidWPFTransactionType($transactionType)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Transaction type (%s) is not valid. Valid WPF transactions are: %s.',
$transactionType,
@@ -414,10 +416,8 @@ protected function verifyTransactionType($transactionType, $parameters = [])
return;
}
- $txnCustomRequiredParams = static::validateNativeCustomParameters($transactionType, $txnCustomRequiredParams);
-
if (CommonUtils::isValidArray($txnCustomRequiredParams) && !CommonUtils::isValidArray($parameters)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Custom transaction parameters (%s) are required and none are set.',
implode(', ', array_keys($txnCustomRequiredParams))
@@ -435,30 +435,6 @@ protected function verifyTransactionType($transactionType, $parameters = [])
}
}
- /**
- * @param string $transactionType
- * @param array $txnCustomRequiredParams
- *
- * @return array
- */
- protected function validateNativeCustomParameters($transactionType, $txnCustomRequiredParams)
- {
- foreach ($txnCustomRequiredParams as $customRequiredParam => $customRequiredParamValues) {
- if (property_exists($this, $customRequiredParam)) {
- $this->validateRequiredParameter(
- $transactionType,
- $customRequiredParam,
- $customRequiredParamValues,
- [ $customRequiredParam => $this->{$customRequiredParam} ]
- );
-
- unset($txnCustomRequiredParams[$customRequiredParam]);
- }
- }
-
- return $txnCustomRequiredParams;
- }
-
protected function validateRequiredParameter(
$transactionType,
$customRequiredParam,
@@ -479,7 +455,8 @@ protected function validateRequiredParameter(
$this->checkIsParamSet(
$transactionType,
$parameters[$customRequiredParam],
- $customRequiredParamValues
+ $customRequiredParamValues,
+ $customRequiredParam
);
return;
@@ -488,8 +465,9 @@ protected function validateRequiredParameter(
foreach ($parameters as $parameter) {
$this->checkIsParamSet(
$transactionType,
- $parameter[$customRequiredParam],
- $customRequiredParamValues
+ $parameter,
+ $customRequiredParamValues,
+ $customRequiredParam
);
}
}
@@ -498,17 +476,19 @@ protected function validateRequiredParameter(
* @param string $transactionType
* @param array $parameters
* @param mixed $paramValues
+ * @param string $paramName
*
* @throws \Genesis\Exceptions\ErrorParameter
*/
- private function checkIsParamSet($transactionType, $parameters, $paramValues)
+ private function checkIsParamSet($transactionType, $parameters, $paramValues, $paramName)
{
if (!in_array($parameters, $paramValues)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
- 'Invalid value (%s) for required parameter: %s (Transaction type: %s)',
- $parameters,
- $paramValues,
+ 'Invalid value (%s) for required parameter: %s. Allowed values: %s. (Transaction type: %s)',
+ is_array($parameters) ? implode(', ', $parameters) : $parameters,
+ $paramName,
+ is_array($paramValues) ? implode(', ', $paramValues) : $paramValues,
$transactionType
)
);
@@ -543,7 +523,7 @@ protected function checkEmptyRequiredParamsFor(
}
}
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Empty (null) required parameter: %s for transaction type %s',
$customRequiredParam,
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Reconcile.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Reconcile.php
index 8b0196d..2a700d7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Reconcile.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Request/WPF/Reconcile.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Request\WPF;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Response.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Response.php
index 48586c5..c69908e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Response.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Response.php
@@ -19,13 +19,20 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API;
+use \DateTime;
use Genesis\Network;
use Genesis\Parser;
+use Genesis\API\Request\NonFinancial\Reconcile\DateRange;
+use Genesis\API\Request\NonFinancial\Reconcile\Transaction;
+use Genesis\API\Request\WPF\Reconcile;
+use Genesis\Exceptions\ErrorAPI;
+use Genesis\Exceptions\InvalidArgument;
+use Genesis\Exceptions\InvalidResponse;
/**
* Response - process/format an incoming Genesis response
@@ -93,7 +100,7 @@ public function parseResponse(Network $network)
$this->responseObj = $parser->getObject();
} catch (\Exception $e) {
- throw new \Genesis\Exceptions\InvalidResponse(
+ throw new InvalidResponse(
$e->getMessage(),
$e->getCode()
);
@@ -102,18 +109,18 @@ public function parseResponse(Network $network)
// Apply per-field transformations
$this->transform([$this->responseObj]);
- if (isset($this->responseObj->status)) {
+ if (isset($this->responseObj->status) && is_string($this->responseObj->status)) {
$state = new Constants\Transaction\States($this->responseObj->status);
if (!$state->isValid()) {
- throw new \Genesis\Exceptions\InvalidArgument(
+ throw new InvalidArgument(
'Unknown transaction status',
isset($this->responseObj->code) ? $this->responseObj->code : 0
);
}
if ($state->isError() && !$this->suppressReconciliationException()) {
- throw new \Genesis\Exceptions\ErrorAPI(
+ throw new ErrorAPI(
$this->responseObj->message,
isset($this->responseObj->code) ? $this->responseObj->code : 0
);
@@ -193,9 +200,9 @@ public function isPartiallyApproved()
public function suppressReconciliationException()
{
$instances = [
- new \Genesis\API\Request\NonFinancial\Reconcile\DateRange(),
- new \Genesis\API\Request\NonFinancial\Reconcile\Transaction(),
- new \Genesis\API\Request\WPF\Reconcile()
+ new DateRange(),
+ new Transaction(),
+ new Reconcile()
];
if (isset($this->requestCtx) && isset($this->responseObj->unique_id)) {
@@ -355,7 +362,7 @@ public static function transformFilterTimestamp($transaction)
{
if (isset($transaction->timestamp)) {
try {
- $transaction->timestamp = new \DateTime($transaction->timestamp);
+ $transaction->timestamp = new DateTime($transaction->timestamp);
} catch (\Exception $e) {
// Just log the attempt
error_log($e->getMessage());
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/MagicAccessors.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/MagicAccessors.php
index 194cbab..c344339 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/MagicAccessors.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/MagicAccessors.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/AddressInfoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/AddressInfoAttributes.php
index 7cbad41..e31812c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/AddressInfoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/AddressInfoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/BaseAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/BaseAttributes.php
index a8d3e49..6897456 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/BaseAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/BaseAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CreditCardAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CreditCardAttributes.php
index bcc4010..83b5b3d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CreditCardAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CreditCardAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/BillingInfoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/BillingInfoAttributes.php
index fc345f5..22c82c2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/BillingInfoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/BillingInfoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -36,6 +36,7 @@
* @method $this setBillingZipCode($value) Set Customer's Billing Address: ZIP
* @method $this setBillingCity($value) Set Customer's Billing Address: City
* @method $this setBillingState($value) Set Customer's Billing Address: State
+ * @method $this setBillingNeighborhood($value) Set Customer's Billing Address: Neighborhood
* @method $this setBillingCountry($value) Set Customer's Billing Address: Country
*/
trait BillingInfoAttributes
@@ -90,6 +91,13 @@ trait BillingInfoAttributes
*/
protected $billing_state;
+ /**
+ * Customer's Billing Address: Neighborhood
+ *
+ * @var string
+ */
+ protected $billing_neighborhood;
+
/**
* Customer's Billing Address: Country
*
@@ -107,14 +115,15 @@ trait BillingInfoAttributes
protected function getBillingAddressParamsStructure()
{
return [
- 'first_name' => $this->billing_first_name,
- 'last_name' => $this->billing_last_name,
- 'address1' => $this->billing_address1,
- 'address2' => $this->billing_address2,
- 'zip_code' => $this->billing_zip_code,
- 'city' => $this->billing_city,
- 'state' => $this->billing_state,
- 'country' => $this->billing_country
+ 'first_name' => $this->billing_first_name,
+ 'last_name' => $this->billing_last_name,
+ 'address1' => $this->billing_address1,
+ 'address2' => $this->billing_address2,
+ 'zip_code' => $this->billing_zip_code,
+ 'city' => $this->billing_city,
+ 'state' => $this->billing_state,
+ 'neighborhood' => $this->billing_neighborhood,
+ 'country' => $this->billing_country
];
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/CustomerInfoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/CustomerInfoAttributes.php
index 70b0249..f4f6064 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/CustomerInfoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/CustomerInfoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/ShippingInfoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/ShippingInfoAttributes.php
index 1e59ccc..becc085 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/ShippingInfoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/CustomerAddress/ShippingInfoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -36,6 +36,7 @@
* @method $this setShippingZipCode($value) Set Customer's Shipping Address: ZIP
* @method $this setShippingCity($value) Set Customer's Shipping Address: City
* @method $this setShippingState($value) Set Customer's Shipping Address: State
+ * @method $this setShippingNeighborhood($value) Set Customer's Shipping Address: Neighborhood
* @method $this setShippingCountry($value) Set Customer's Shipping Address: Country
*/
trait ShippingInfoAttributes
@@ -91,6 +92,13 @@ trait ShippingInfoAttributes
*/
protected $shipping_state;
+ /**
+ * Customer's Shipping Address: Neighborhood
+ *
+ * @var string
+ */
+ protected $shipping_neighborhood;
+
/**
* Customer's Shipping Address
*
@@ -108,14 +116,15 @@ trait ShippingInfoAttributes
protected function getShippingAddressParamsStructure()
{
return [
- 'first_name' => $this->shipping_first_name,
- 'last_name' => $this->shipping_last_name,
- 'address1' => $this->shipping_address1,
- 'address2' => $this->shipping_address2,
- 'zip_code' => $this->shipping_zip_code,
- 'city' => $this->shipping_city,
- 'state' => $this->shipping_state,
- 'country' => $this->shipping_country
+ 'first_name' => $this->shipping_first_name,
+ 'last_name' => $this->shipping_last_name,
+ 'address1' => $this->shipping_address1,
+ 'address2' => $this->shipping_address2,
+ 'zip_code' => $this->shipping_zip_code,
+ 'city' => $this->shipping_city,
+ 'state' => $this->shipping_state,
+ 'neighborhood' => $this->shipping_neighborhood,
+ 'country' => $this->shipping_country
];
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/DocumentAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/DocumentAttributes.php
index 42ae54f..24704e3 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/DocumentAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/DocumentAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AccountOwnerAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AccountOwnerAttributes.php
index 42fddf6..d7c91ed 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AccountOwnerAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AccountOwnerAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AsyncAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AsyncAttributes.php
index 74e3470..7e752c0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AsyncAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/AsyncAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BankAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BankAttributes.php
index 1c654aa..01910d7 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BankAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BankAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BeneficiaryAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BeneficiaryAttributes.php
index 9397cde..8209c28 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BeneficiaryAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BeneficiaryAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BirthDateAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BirthDateAttributes.php
index 7e3162e..9b80c62 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BirthDateAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/BirthDateAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/AirlinesAirCarriersAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/AirlinesAirCarriersAttributes.php
index f22719f..2e82744 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/AirlinesAirCarriersAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/AirlinesAirCarriersAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/BusinessAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/BusinessAttributes.php
index 2265064..240866e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/BusinessAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/BusinessAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CarPlaneAndBoatRentalsAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CarPlaneAndBoatRentalsAttributes.php
index a7a6cb1..c2fc8ef 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CarPlaneAndBoatRentalsAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CarPlaneAndBoatRentalsAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CruiseLinesAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CruiseLinesAttributes.php
index 9490564..5b4fe91 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CruiseLinesAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/CruiseLinesAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/EventManagementAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/EventManagementAttributes.php
index d72e263..e12387c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/EventManagementAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/EventManagementAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/FurnitureAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/FurnitureAttributes.php
index 0b758b7..1bb9a96 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/FurnitureAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/FurnitureAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/HotelsAndRealEstateRentalsAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/HotelsAndRealEstateRentalsAttributes.php
index b26a4ca..df9b963 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/HotelsAndRealEstateRentalsAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/HotelsAndRealEstateRentalsAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/TravelAgenciesAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/TravelAgenciesAttributes.php
index e5e9caa..cdb0c2d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/TravelAgenciesAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Business/TravelAgenciesAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringAttributes.php
index 0bf1fa9..a1aea88 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringIndianCardAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringIndianCardAttributes.php
index 9d951d7..6b6c0ed 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringIndianCardAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/ManagedRecurringIndianCardAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringCategoryAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringCategoryAttributes.php
index df27e1c..7461064 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringCategoryAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringCategoryAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringTypeAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringTypeAttributes.php
index e9201ca..9053678 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringTypeAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/RecurringTypeAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -79,22 +79,6 @@ protected function requiredRecurringAllTypesFieldValuesConditional()
];
}
- /**
- * Returns Conditional Fields validation applicable for Subsequent Recurring Type
- *
- * @return array[]
- */
- protected function requiredRecurringSubsequentTypeFieldConditional()
- {
- return [
- 'recurring_type' => [
- Types::SUBSEQUENT => [
- 'reference_id'
- ]
- ]
- ];
- }
-
/**
* Returns Conditional Fields validation applicable for Managed Recurring Type. Managed Recurring attributes are
* required in this case.
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/SubsequentRecurringTypeAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/SubsequentRecurringTypeAttributes.php
new file mode 100644
index 0000000..ae6db5f
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/Cards/Recurring/SubsequentRecurringTypeAttributes.php
@@ -0,0 +1,86 @@
+recurring_type == Types::SUBSEQUENT && empty($currency)) {
+ return $amount;
+ }
+
+ return parent::transformAmount($amount, $currency);
+ }
+
+ /**
+ * Extend the Request Validations for Subsequent recurring type
+ *
+ * @return void
+ * @throws \Genesis\Exceptions\ErrorParameter
+ * @throws \Genesis\Exceptions\InvalidArgument
+ * @throws \Genesis\Exceptions\InvalidClassMethod
+ */
+ protected function checkRequirementsSubsequent()
+ {
+ $requiredFields = [
+ 'transaction_id',
+ 'amount'
+ ];
+
+ $this->requiredFields = CommonUtils::createArrayObject($requiredFields);
+
+ unset($this->requiredFieldsOR);
+
+ unset($this->requiredFieldValues);
+
+ $requiredFieldValuesConditional = $this->requiredRecurringAllTypesFieldValuesConditional();
+
+ $this->requiredFieldValuesConditional = CommonUtils::createArrayObject(
+ $requiredFieldValuesConditional
+ );
+
+ $this->validate();
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CredentialOnFileAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CredentialOnFileAttributes.php
index 1cb225c..d58e8be 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CredentialOnFileAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CredentialOnFileAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CryptoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CryptoAttributes.php
index 4600c64..1a30923 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CryptoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CryptoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/CustomerAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerAttributes.php
similarity index 89%
rename from system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/CustomerAttributes.php
rename to system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerAttributes.php
index 1b57317..2eba5fb 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/CustomerAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerAttributes.php
@@ -19,11 +19,11 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
-namespace Genesis\API\Traits\Request\Financial\OnlineBankingPayments;
+namespace Genesis\API\Traits\Request\Financial;
use Genesis\API\Constants\DateTimeFormat;
use Genesis\Exceptions\InvalidArgument;
@@ -35,11 +35,9 @@
* @method $this setCompanyType($value)
* @method $this setCompanyActivity($value)
* @method $this setMothersName($value)
- * @method $this setPixKey($value)
* @method string getCompanyType()
* @method string getCompanyActivity()
* @method string getMothersName()
- * @method string getPixKey()
*/
trait CustomerAttributes
{
@@ -71,13 +69,6 @@ trait CustomerAttributes
*/
protected $mothers_name;
- /**
- * PIX key of the customer.
- *
- * @var string $pix_key
- */
- protected $pix_key;
-
/**
* Get incorporation date of the customer
*
@@ -124,8 +115,7 @@ protected function getCustomerParamsStructure()
'company_type' => $this->company_type,
'company_activity' => $this->company_activity,
'incorporation_date' => $this->getIncorporationDate(),
- 'mothers_name' => $this->mothers_name,
- 'pix_key' => $this->pix_key
+ 'mothers_name' => $this->mothers_name
];
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerIdentificationData.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerIdentificationData.php
index 5f267a5..2ac4c12 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerIdentificationData.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/CustomerIdentificationData.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/DescriptorAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/DescriptorAttributes.php
index e07e238..1a64f24 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/DescriptorAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/DescriptorAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FundingAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FundingAttributes.php
index 5dbcbc0..5d85ca6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FundingAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FundingAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FxRateAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FxRateAttributes.php
index 1a510c8..c2b5f16 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FxRateAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/FxRateAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/GamingAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/GamingAttributes.php
index 7298475..6c15819 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/GamingAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/GamingAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/MpiAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/MpiAttributes.php
index b07faba..c11b835 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/MpiAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/MpiAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/NotificationAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/NotificationAttributes.php
index f762704..02d9175 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/NotificationAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/NotificationAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Traits\Request\Financial;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/UserCategoryAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/UserCategoryAttributes.php
index 4984a32..8644c73 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/UserCategoryAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/UserCategoryAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/VirtualPaymentAddressAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/VirtualPaymentAddressAttributes.php
index 46fb2c0..cf74a51 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/VirtualPaymentAddressAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/OnlineBankingPayments/VirtualPaymentAddressAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PaymentAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PaymentAttributes.php
index ec6e57e..cc7bf94 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PaymentAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PaymentAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PendingPaymentAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PendingPaymentAttributes.php
index 5e3e399..762d005 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PendingPaymentAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PendingPaymentAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PproAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PproAttributes.php
index 3c32648..e136f5a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PproAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PproAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PreauthorizationAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PreauthorizationAttributes.php
index da3021e..5af70ea 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PreauthorizationAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PreauthorizationAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PurposeOfPaymentAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PurposeOfPaymentAttributes.php
new file mode 100644
index 0000000..d53a8b3
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Financial/PurposeOfPaymentAttributes.php
@@ -0,0 +1,44 @@
+ [
'version' => $this->token_version,
'data' => $this->token_data,
@@ -163,6 +166,9 @@ public function getPaymentTokenStructure()
'type' => $this->token_type
],
'transactionIdentifier' => $this->token_transaction_identifier
- ], JSON_UNESCAPED_UNICODE);
+ ]
+ );
+
+ return json_encode($structure, JSON_UNESCAPED_UNICODE);
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Mobile/GooglePayAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Mobile/GooglePayAttributes.php
index 59af8c5..b9fa7fc 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Mobile/GooglePayAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Mobile/GooglePayAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/MotoAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/MotoAttributes.php
index 5616904..127fee2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/MotoAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/MotoAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/BillingApi/OrderByDirection.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/BillingApi/OrderByDirection.php
new file mode 100644
index 0000000..20fcc18
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/BillingApi/OrderByDirection.php
@@ -0,0 +1,73 @@
+allowedOptionsSetter(
+ 'order_by_direction',
+ $this->getOrderByDirectionAllowedValues(),
+ strtolower($value),
+ 'Invalid value given for orderByDirection. Allowed values: ' .
+ implode(', ', $this->getOrderByDirectionAllowedValues())
+ );
+ }
+
+ /**
+ * List of allowed response ordering directions
+ *
+ * @return string[]
+ */
+ protected function getOrderByDirectionAllowedValues()
+ {
+ return ['asc', 'desc'];
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/CustomerInformation.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/CustomerInformation.php
index 6a508c6..d3b1688 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/CustomerInformation.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/CustomerInformation.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DateAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DateAttributes.php
new file mode 100644
index 0000000..3d0fec4
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DateAttributes.php
@@ -0,0 +1,135 @@
+start_date = null;
+
+ return $this;
+ }
+
+ if (preg_match(RegexValidator::PATTERN_TIMESTAMP, $date) === 1) {
+ $this->start_date_has_time = true;
+ }
+
+ return $this->parseDate(
+ 'start_date',
+ DateTimeFormat::getAll(),
+ $date,
+ 'Invalid value given for Start date.'
+ );
+ }
+
+ /**
+ * @return string|null
+ */
+ public function getStartDate()
+ {
+ $format = $this->start_date_has_time ? DateTimeFormat::YYYY_MM_DD_H_I_S :
+ DateTimeFormat::YYYY_MM_DD_ISO_8601;
+
+ return (empty($this->start_date)) ? null : $this->start_date->format($format);
+ }
+
+ /**
+ * @param string $date
+ * @return $this
+ * @throws \Genesis\Exceptions\InvalidArgument
+ */
+ public function setEndDate($date)
+ {
+ if (empty($date)) {
+ $this->end_date = null;
+
+ return $this;
+ }
+
+ if (preg_match(RegexValidator::PATTERN_TIMESTAMP, $date) === 1) {
+ $this->end_date_has_time = true;
+ }
+
+ return $this->parseDate(
+ 'end_date',
+ DateTimeFormat::getAll(),
+ $date,
+ 'Invalid value given for End date.'
+ );
+ }
+
+ /**
+ * @return string|null
+ */
+ public function getEndDate()
+ {
+ $format = $this->end_date_has_time ? DateTimeFormat::YYYY_MM_DD_H_I_S :
+ DateTimeFormat::YYYY_MM_DD_ISO_8601;
+
+ return (empty($this->end_date)) ? null : $this->end_date->format($format);
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DepositLimits.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DepositLimits.php
index 555e29d..4ad094d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DepositLimits.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/DepositLimits.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ExternallyProcessed.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ExternallyProcessed.php
index 2aeb92e..ed5d564 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ExternallyProcessed.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ExternallyProcessed.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/IdentityDocuments.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/IdentityDocuments.php
index 1efd774..d922cc4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/IdentityDocuments.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/IdentityDocuments.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycBackgroundChecksVerifications.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycBackgroundChecksVerifications.php
index 44bed5a..4375b9a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycBackgroundChecksVerifications.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycBackgroundChecksVerifications.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycDocumentVerifications.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycDocumentVerifications.php
index 29f280b..e3fc303 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycDocumentVerifications.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycDocumentVerifications.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycFaceVerifications.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycFaceVerifications.php
index 5c0dc43..7103bad 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycFaceVerifications.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycFaceVerifications.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycVerifications.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycVerifications.php
index ec82779..7c29307 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycVerifications.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KYC/KycVerifications.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycBillingInformation.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycBillingInformation.php
index d4fd7a9..f59468f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycBillingInformation.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycBillingInformation.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycShippingInformation.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycShippingInformation.php
index c589108..867cf05 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycShippingInformation.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/KycShippingInformation.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PagingAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PagingAttributes.php
new file mode 100644
index 0000000..bc178c9
--- /dev/null
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PagingAttributes.php
@@ -0,0 +1,93 @@
+page = (int) $value;
+
+ return $this;
+ }
+
+ /**
+ * Set the number of elements per page
+ *
+ * @param $value
+ * @return $this
+ */
+ public function setPerPage($value)
+ {
+ $this->per_page = (int) $value;
+
+ return $this;
+ }
+
+ /**
+ * GraphQL code to request paging information
+ *
+ * @return string
+ */
+ protected function pagingGraphQlFields()
+ {
+ return 'paging {
+ page
+ perPage
+ pagesCount
+ totalCount
+ }';
+ }
+}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PaymentDetails.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PaymentDetails.php
index d9014f6..98a1dfb 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PaymentDetails.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/PaymentDetails.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ProcessingType.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ProcessingType.php
index 7b9846a..5c05bb5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ProcessingType.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/ProcessingType.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiAttributes.php
index 1298d62..922788d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiCardAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiCardAttributes.php
index 225f4d3..f2405e9 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiCardAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiCardAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiTokenAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiTokenAttributes.php
index 2b205f9..6531253 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiTokenAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/NonFinancial/TokenizationApiTokenAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Payout/MoneyTransferPayoutAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Payout/MoneyTransferPayoutAttributes.php
index f2715f2..39a8f8f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Payout/MoneyTransferPayoutAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/Payout/MoneyTransferPayoutAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/RiskAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/RiskAttributes.php
index a114a0f..de39504 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/RiskAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/RiskAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/TokenizationAttributes.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/TokenizationAttributes.php
index ebab2fe..3eb0387 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/TokenizationAttributes.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Request/TokenizationAttributes.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/RestrictedSetter.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/RestrictedSetter.php
index 4019df2..52a790f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/RestrictedSetter.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/RestrictedSetter.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Validations/Request/Validations.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Validations/Request/Validations.php
index c075411..faff445 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Validations/Request/Validations.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Traits/Validations/Request/Validations.php
@@ -2,13 +2,15 @@
namespace Genesis\API\Traits\Validations\Request;
+use \RecursiveIteratorIterator;
use Genesis\API\Request\Base\Financial\Cards\CreditCard;
use Genesis\API\Validators\Request\Base\Validator as RequestValidator;
+use Genesis\Exceptions\ErrorParameter;
+use Genesis\Exceptions\InvalidClassMethod;
use Genesis\Utils\Common as CommonUtils;
trait Validations
{
-
/**
* Store the names of the fields that are Required
*
@@ -73,7 +75,7 @@ protected function validate()
foreach ($this->validations as $property => $method) {
if (!empty($this->{$property})) {
if (!method_exists($this, $method)) {
- throw new \Genesis\Exceptions\InvalidClassMethod();
+ throw new InvalidClassMethod();
}
$this->{$method}();
}
@@ -89,7 +91,7 @@ protected function validateFieldRequirements()
{
$this->requiredFields->setIteratorClass('RecursiveArrayIterator');
- $iterator = new \RecursiveIteratorIterator($this->requiredFields->getIterator());
+ $iterator = new RecursiveIteratorIterator($this->requiredFields->getIterator());
foreach ($iterator as $fieldName) {
if ($this->isNotNullAndEmptyValueAllowed($fieldName, $this->$fieldName)) {
@@ -98,7 +100,7 @@ protected function validateFieldRequirements()
}
if (empty($this->$fieldName)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf('Empty (null) required parameter: %s', $fieldName)
);
}
@@ -124,7 +126,7 @@ protected function validateFieldValuesRequirements()
if (CommonUtils::isValidArray($validator)) {
if (!in_array($this->$fieldName, $validator)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Required parameter %s is set to %s, but expected to be one of (%s)',
$fieldName,
@@ -141,7 +143,7 @@ protected function validateFieldValuesRequirements()
}
if ($this->$fieldName !== $validator) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'Required parameter %s is set to %s, but expected to be %s',
$fieldName,
@@ -180,7 +182,7 @@ protected function validateGroupRequirements()
}
if (!$emptyFlag) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'One of the following group/s of field/s must be filled in: %s%s',
PHP_EOL,
@@ -229,7 +231,7 @@ protected function validateConditionalRequirements()
? var_export($this->$fieldName, true)
: $this->$fieldName;
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'%s with value %s is depending on: %s, which is empty (null)!',
$fieldName,
@@ -240,7 +242,7 @@ protected function validateConditionalRequirements()
}
}
} elseif (empty($this->$fieldDependency)) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'%s is depending on: %s, which is empty (null)!',
$fieldName,
@@ -269,7 +271,7 @@ protected function validateConditionalFieldsOr()
}
if ($definedFieldsCount > 1) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
'Only one of following parameters: ' .
implode(', ', array_values($fields)) .
' is allowed.'
@@ -278,7 +280,7 @@ protected function validateConditionalFieldsOr()
}
if ($definedFieldsCount === 0) {
- throw new \Genesis\Exceptions\ErrorParameter(implode(', ', array_values($fields)));
+ throw new ErrorParameter(implode(', ', array_values($fields)));
}
}
@@ -346,7 +348,7 @@ protected function validateConditionalValuesRequirements()
}
if (!$childFieldGroupValuesValidated) {
- throw new \Genesis\Exceptions\ErrorParameter(
+ throw new ErrorParameter(
sprintf(
'%s with value %s is depending on group of params with specific values. ' .
'Please, refer to the official API documentation for %s transaction type.',
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/Base/Validator.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/Base/Validator.php
index cf30330..6171969 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/Base/Validator.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/Base/Validator.php
@@ -19,12 +19,14 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\API\Validators\Request\Base;
+use Genesis\Exceptions\ErrorParameter;
+use Genesis\Exceptions\InvalidArgument;
use Genesis\Utils\Common as CommonUtils;
/**
@@ -98,7 +100,7 @@ protected function throwInvalidArgument()
? sprintf($this->message, $this->field)
: "Please check input data for errors. '{$this->field}' has invalid format";
- throw new \Genesis\Exceptions\InvalidArgument($exceptionMessage);
+ throw new InvalidArgument($exceptionMessage);
}
/**
@@ -108,7 +110,7 @@ protected function throwInvalidArgument()
protected function getRequestValue()
{
if (!property_exists($this->request, $this->field)) {
- throw new \Genesis\Exceptions\ErrorParameter("Property {$this->field} not found in API Request");
+ throw new ErrorParameter("Property {$this->field} not found in API Request");
}
$method = CommonUtils::snakeCaseToCamelCase($this->field);
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/RegexValidator.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/RegexValidator.php
index d2e4697..11d0686 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/RegexValidator.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/API/Validators/Request/RegexValidator.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builder.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builder.php
index 1344e03..a16ce0d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builder.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builder.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/FORM.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/FORM.php
index d600e39..0150d8d 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/FORM.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/FORM.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/JSON.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/JSON.php
index 6b51188..98fce85 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/JSON.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/JSON.php
@@ -19,11 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Builders;
+use Genesis\Exceptions\InvalidArgument;
+
/**
* Class JSON
*
@@ -64,7 +66,7 @@ public function populateNodes($structure)
try {
$this->output = json_encode($structure);
} catch (\Exception $e) {
- throw new \Genesis\Exceptions\InvalidArgument('Invalid data/tree');
+ throw new InvalidArgument('Invalid data/tree');
}
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/XML.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/XML.php
index c4b4da9..46fd16e 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/XML.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Builders/XML.php
@@ -19,11 +19,14 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Builders;
+use \XMLWriter;
+use Genesis\Exceptions\InvalidArgument;
+
/**
* XMLWriter Builder Interface
* Note: requires libxml2 support (either built-in or as extension)
@@ -52,7 +55,7 @@ final class XML implements \Genesis\Interfaces\Builder
*/
public function __construct()
{
- $this->context = new \XMLWriter();
+ $this->context = new XMLWriter();
$this->context->openMemory();
$this->context->startDocument('1.0', 'UTF-8');
@@ -73,7 +76,7 @@ public function __construct()
public function populateNodes($data)
{
if (!\Genesis\Utils\Common::isValidArray($data)) {
- throw new \Genesis\Exceptions\InvalidArgument('Invalid data structure');
+ throw new InvalidArgument('Invalid data structure');
}
// Ensure that the Array position is 0
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Config.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Config.php
index a1bec82..4824c4a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Config.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Config.php
@@ -19,12 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis;
use Genesis\Utils\Common as CommonUtils;
+use Genesis\Exceptions\InvalidArgument;
/**
* Class Config
@@ -37,17 +38,19 @@
* @method static string getPassword() Get the Password, set in the configuration
* @method static string getToken() Get the Terminal Token, set in configuration
* @method static bool getForceSmartRouting() Get whether Smart Routing endpoint will be used for Financial types
+ * @method static string getBillingApiToken() Get the Billing API Token, set in configuration
*
- * @method static null setUsername($value) Set the Username
- * @method static null setPassword($value) Set the Password
- * @method static null setToken($value) Set the Terminal
+ * @method static null setUsername($value) Set the Username
+ * @method static null setPassword($value) Set the Password
+ * @method static null setToken($value) Set the Terminal
+ * @method static null setBillingApiToken($value) Set the Billing API Token
*/
final class Config
{
/**
* Library Version
*/
- const VERSION = '1.24.2';
+ const VERSION = '1.24.6';
/**
* Core configuration settings
@@ -60,7 +63,8 @@ final class Config
'password' => null,
'token' => null,
'environment' => \Genesis\API\Constants\Environments::STAGING,
- 'force_smart_routing' => false
+ 'force_smart_routing' => false,
+ 'billing_api_token' => null
];
/**
@@ -93,7 +97,7 @@ final class Config
'production' => 'kyc.',
'sandbox' => 'staging.kyc.'
],
- 'smart_router' => [
+ 'api_service' => [
'production' => 'prod.api.',
'sandbox' => 'staging.api.'
]
@@ -176,7 +180,7 @@ public static function getEnvironment()
* @param string $environmentArg
* @return string
*
- * @throws \Genesis\Exceptions\InvalidArgument
+ * @throws InvalidArgument
*/
public static function setEnvironment($environmentArg)
{
@@ -205,7 +209,7 @@ public static function setEnvironment($environmentArg)
}
}
- throw new \Genesis\Exceptions\InvalidArgument(
+ throw new InvalidArgument(
'Invalid Environment'
);
}
@@ -226,7 +230,7 @@ public static function getEndpoint()
* @param string $endpointArg
* @return string
*
- * @throws \Genesis\Exceptions\InvalidArgument
+ * @throws InvalidArgument
*/
public static function setEndpoint($endpointArg)
{
@@ -254,7 +258,7 @@ public static function setEndpoint($endpointArg)
}
}
- throw new \Genesis\Exceptions\InvalidArgument(
+ throw new InvalidArgument(
'Invalid Endpoint'
);
}
@@ -316,12 +320,12 @@ public static function setForceSmartRouting($value)
*
* @param string $iniFile Path to an ini file containing the settings
*
- * @throws \Genesis\Exceptions\InvalidArgument()
+ * @throws InvalidArgument()
*/
public static function loadSettings($iniFile)
{
if (!file_exists($iniFile)) {
- throw new \Genesis\Exceptions\InvalidArgument(
+ throw new InvalidArgument(
'The provided configuration file is invalid or inaccessible!'
);
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/DeprecatedMethod.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/DeprecatedMethod.php
index 718ed17..b1791f4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/DeprecatedMethod.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/DeprecatedMethod.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/EnvironmentNotSet.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/EnvironmentNotSet.php
index d1a7d51..69bac72 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/EnvironmentNotSet.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/EnvironmentNotSet.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorAPI.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorAPI.php
index e42408e..44cd882 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorAPI.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorAPI.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorNetwork.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorNetwork.php
index fc0799f..807727a 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorNetwork.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorNetwork.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorParameter.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorParameter.php
index 04ffb94..fde3edc 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorParameter.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/ErrorParameter.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/Exception.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/Exception.php
index 6d655ec..f3abb36 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/Exception.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/Exception.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidArgument.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidArgument.php
index dae0d26..42edab5 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidArgument.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidArgument.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidMethod.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidMethod.php
index 028032f..69415e6 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidMethod.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidMethod.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
@@ -36,7 +36,8 @@ class InvalidMethod extends Exception
*/
protected function getCustomMessage()
{
- return 'You\'re trying to call a non-existent method!' . PHP_EOL .
+ return ($this->getMessage()) ?
+ $this->getMessage() : 'You\'re trying to call a non-existent method!' . PHP_EOL .
'For proper usage, please refer to the documentation!';
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidResponse.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidResponse.php
index f654b0d..19a80c0 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidResponse.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/InvalidResponse.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/NotImplemented.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/NotImplemented.php
index 85fc46b..65b5263 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/NotImplemented.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Exceptions/NotImplemented.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Exceptions;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Genesis.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Genesis.php
index 8db77e4..b247c7c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Genesis.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Genesis.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Builder.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Builder.php
index 291a473..f125a1f 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Builder.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Builder.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Interfaces;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Parser.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Parser.php
index 87f030e..6c8d694 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Parser.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Interfaces/Parser.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Interfaces;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network.php
index 5dedf9c..092f492 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis;
@@ -100,17 +100,20 @@ public function getResponseHeaders()
public function setApiCtxData($apiContext)
{
$this->context->prepareRequestBody(
- [
- 'body' => $apiContext->getDocument(),
- 'url' => $apiContext->getApiConfig('url'),
- 'type' => $apiContext->getApiConfig('type'),
- 'port' => $apiContext->getApiConfig('port'),
- 'protocol' => $apiContext->getApiConfig('protocol'),
- 'format' => $apiContext->getApiConfig('format'),
- 'timeout' => \Genesis\Config::getNetworkTimeout(),
- 'user_agent' => sprintf('Genesis PHP Client v%s', \Genesis\Config::getVersion()),
- 'user_login' => sprintf('%s:%s', \Genesis\Config::getUsername(), \Genesis\Config::getPassword())
- ]
+ array_merge(
+ [
+ 'body' => $apiContext->getDocument(),
+ 'url' => $apiContext->getApiConfig('url'),
+ 'type' => $apiContext->getApiConfig('type'),
+ 'port' => $apiContext->getApiConfig('port'),
+ 'protocol' => $apiContext->getApiConfig('protocol'),
+ 'format' => $apiContext->getApiConfig('format'),
+ 'timeout' => \Genesis\Config::getNetworkTimeout(),
+ 'user_agent' => sprintf('Genesis PHP Client v%s', \Genesis\Config::getVersion()),
+ 'authorization' => $apiContext->getApiConfig('authorization')
+ ],
+ $this->setAuthCredentials($apiContext)
+ )
);
}
@@ -121,4 +124,29 @@ public function sendRequest()
{
$this->context->execute();
}
+
+ /**
+ * Determine the appropriate credentials based on the authorization type
+ *
+ * @param \Genesis\API\Request $apiContext
+ * @return array
+ */
+ protected function setAuthCredentials($apiContext)
+ {
+ switch ($apiContext->getApiConfig('authorization')) {
+ case \Genesis\API\Request::AUTH_TYPE_TOKEN:
+ return [
+ 'token' => $apiContext->getApiConfig('bearer_token')
+ ];
+ break;
+ default:
+ return [
+ 'user_login' => sprintf(
+ '%s:%s',
+ \Genesis\Config::getUsername(),
+ \Genesis\Config::getPassword()
+ )
+ ];
+ }
+ }
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Base.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Base.php
index bafeac0..ff92d67 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Base.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Base.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -127,4 +127,9 @@ abstract public function prepareRequestBody($requestData);
* @return mixed
*/
abstract public function execute();
+
+ /**
+ * @return mixed
+ */
+ abstract protected function authorization($requestData);
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Stream.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Stream.php
index f0880f8..dcb4eb2 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Stream.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/Stream.php
@@ -19,11 +19,14 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Network;
+use Genesis\API\Request;
+use Genesis\Exceptions\ErrorNetwork;
+
/**
* Stream Context Network Interface
*
@@ -69,7 +72,7 @@ public function prepareRequestBody($requestData)
$headers = [
'Content-Type: ' . $this->getRequestContentType($requestData['format']),
- sprintf('Authorization: Basic %s', base64_encode($requestData['user_login'])),
+ $this->authorization($requestData),
sprintf('Content-Length: %s', strlen($requestData['body'])),
sprintf('User-Agent: %s', $requestData['user_agent']),
];
@@ -150,7 +153,7 @@ public static function processErrors($errNo, $errStr)
// the handler.
restore_error_handler();
- throw new \Genesis\Exceptions\ErrorNetwork($errStr, $errNo);
+ throw new ErrorNetwork($errStr, $errNo);
}
/**
@@ -194,4 +197,19 @@ public static function getCiphers()
'!SSLv3'
];
}
+
+ /**
+ * @param $requestData
+ * @return string
+ */
+ protected function authorization($requestData)
+ {
+ switch ($requestData['authorization']) {
+ case Request::AUTH_TYPE_TOKEN:
+ return sprintf('Authorization: Bearer %s', base64_encode($requestData['token']));
+ break;
+ default:
+ return sprintf('Authorization: Basic %s', base64_encode($requestData['user_login']));
+ }
+ }
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/cURL.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/cURL.php
index b3af6aa..24b6d0c 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/cURL.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Network/cURL.php
@@ -19,12 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Network;
use Genesis\API\Request;
+use Genesis\Exceptions\ErrorNetwork;
/**
* cURL Network Interface
@@ -76,11 +77,10 @@ public function prepareRequestBody($requestData)
CURLOPT_URL => $requestData['url'],
CURLOPT_TIMEOUT => $requestData['timeout'],
CURLOPT_USERAGENT => $requestData['user_agent'],
- CURLOPT_USERPWD => $requestData['user_login'],
- CURLOPT_HTTPAUTH => CURLAUTH_BASIC,
CURLOPT_ENCODING => 'gzip',
CURLOPT_HTTPHEADER => [
'Content-Type: ' . $this->getRequestContentType($requestData['format']),
+ $this->authorization($requestData),
// Workaround to prevent cURL from parsing HTTP 100 as separate request
'Expect:'
],
@@ -134,7 +134,7 @@ public function checkForErrors()
$errStr = curl_error($this->curlHandle);
if ($errNo > 0) {
- throw new \Genesis\Exceptions\ErrorNetwork($errStr, $errNo);
+ throw new ErrorNetwork($errStr, $errNo);
}
}
@@ -160,4 +160,18 @@ public function getMethodOptionByType($type)
return [];
}
}
+
+ /**
+ * @param $requestData
+ * @return string
+ */
+ protected function authorization($requestData)
+ {
+ switch ($requestData['authorization']) {
+ case Request::AUTH_TYPE_TOKEN:
+ return 'Authorization: Bearer ' . $requestData['token'];
+ default:
+ return 'Authorization: Basic ' . base64_encode($requestData['user_login']);
+ }
+ }
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parser.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parser.php
index 4df1179..c361d64 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parser.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parser.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/JSON.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/JSON.php
index dab83fb..afc8078 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/JSON.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/JSON.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Parsers;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/XML.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/XML.php
index 702ca58..a4818f1 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/XML.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Parsers/XML.php
@@ -19,11 +19,14 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Parsers;
+use \ArrayObject;
+use \stdClass;
+use \XMLReader;
use Genesis\Parser;
/**
@@ -88,7 +91,7 @@ public function parseDocument($xmlDocument)
{
$hasAttributes = false;
- $reader = new \XMLReader();
+ $reader = new XMLReader();
$reader->XML($xmlDocument);
if ($this->skipRootNode) {
@@ -109,7 +112,7 @@ public function parseDocument($xmlDocument)
*/
public function readerLoop($reader, $processRootAttributes = false)
{
- $tree = new \stdClass();
+ $tree = new stdClass();
if ($processRootAttributes === true) {
$this->processNodeAttributes($reader, $tree);
@@ -155,7 +158,7 @@ public function processElement(&$reader, &$tree)
if (is_a($tree->$name, 'stdClass')) {
$currentEl = $tree->$name;
- $tree->$name = new \ArrayObject();
+ $tree->$name = new ArrayObject();
$tree->$name->append($currentEl);
}
@@ -180,9 +183,9 @@ public function processAttributes(&$reader, &$tree)
{
$name = $reader->name;
- $node = new \stdClass();
+ $node = new stdClass();
- $node->attr = new \stdClass();
+ $node->attr = new stdClass();
while ($reader->moveToNextAttribute()) {
$node->attr->{$reader->name} = $reader->value;
@@ -209,7 +212,7 @@ public function processAttributes(&$reader, &$tree)
*/
public function processNodeAttributes(&$reader, &$tree)
{
- $node = new \stdClass();
+ $node = new stdClass();
while ($reader->moveToNextAttribute()) {
$node->{$reader->name} = $reader->value;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Common.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Common.php
index 0f05df3..757ef1d 100755
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Common.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Common.php
@@ -19,11 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Utils;
+use \ArrayObject;
+use \ReflectionClass;
use Genesis\Exceptions\Exception;
use Genesis\Exceptions\InvalidArgument;
@@ -32,6 +34,8 @@
*
* @package Genesis
* @subpackage Utils
+ *
+ * @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
*/
final class Common
{
@@ -168,7 +172,7 @@ public static function emptyValueRecursiveRemoval($haystack, $skipEmptyKeys = ar
*/
public static function createArrayObject($srcArray)
{
- return new \ArrayObject($srcArray, \ArrayObject::ARRAY_AS_PROPS);
+ return new ArrayObject($srcArray, ArrayObject::ARRAY_AS_PROPS);
}
/**
@@ -344,7 +348,10 @@ public static function booleanToString($bool)
*/
public static function isBase64Encoded($input)
{
- if ($input && @base64_encode(@base64_decode($input, true)) === $input) {
+ if ($input
+ && base64_decode($input, true)
+ && base64_encode(base64_decode($input)) === $input
+ ) {
return true;
}
@@ -384,7 +391,7 @@ public static function isClassAbstract($className)
return false;
}
- $reflectionClass = new \ReflectionClass($className);
+ $reflectionClass = new ReflectionClass($className);
return $reflectionClass->isAbstract();
}
@@ -400,7 +407,7 @@ public static function getClassConstants($className)
return [];
}
- $reflection = new \ReflectionClass($className);
+ $reflection = new ReflectionClass($className);
return $reflection->getConstants();
}
@@ -471,7 +478,7 @@ public static function toBoolean($string)
*/
public static function removeMultipleKeys($arrayKeys, $arrayObject)
{
- if (!self::isValidArray($arrayKeys) || !$arrayObject instanceof \ArrayObject) {
+ if (!self::isValidArray($arrayKeys) || !$arrayObject instanceof ArrayObject) {
throw new Exception();
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Country.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Country.php
index 656bbcd..2669931 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Country.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Country.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Utils;
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Requirements.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Requirements.php
index b7e35c1..6529f6b 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Requirements.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Requirements.php
@@ -19,11 +19,13 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
namespace Genesis\Utils;
+use \Exception;
+
/**
* Check the system for dependencies
*
@@ -80,7 +82,7 @@ public static function verify()
public static function checkSystemVersion()
{
if (\Genesis\Utils\Common::compareVersions(self::$minPHPVersion, '<')) {
- throw new \Exception(self::getErrorMessage('system'));
+ throw new Exception(self::getErrorMessage('system'));
}
}
@@ -94,7 +96,7 @@ public static function checkSystemVersion()
public static function isFunctionExists($function, $error)
{
if (!function_exists($function)) {
- throw new \Exception($error);
+ throw new Exception($error);
}
}
@@ -109,7 +111,7 @@ public static function isFunctionExists($function, $error)
public static function isMethodExists($method, $class, $error)
{
if (!method_exists($method, $class)) {
- throw new \Exception($error);
+ throw new Exception($error);
}
}
@@ -123,7 +125,7 @@ public static function isMethodExists($method, $class, $error)
public static function isClassExists($class, $error)
{
if (!class_exists($class)) {
- throw new \Exception($error);
+ throw new Exception($error);
}
}
diff --git a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Threeds/V2.php b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Threeds/V2.php
index 577e7fd..c77d1d4 100644
--- a/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Threeds/V2.php
+++ b/system/storage/vendor/genesisgateway/genesis_php/src/Genesis/Utils/Threeds/V2.php
@@ -19,7 +19,7 @@
* THE SOFTWARE.
*
* @author emerchantpay
- * @copyright Copyright (C) 2015-2023 emerchantpay Ltd.
+ * @copyright Copyright (C) 2015-2024 emerchantpay Ltd.
* @license http://opensource.org/licenses/MIT The MIT License
*/
@@ -30,6 +30,8 @@
*
* Class V2
* @package Genesis\Utils\Threeds
+ *
+ * @SuppressWarnings(PHPMD.ShortClassName)
*/
final class V2
{