diff --git a/src/app/lib/other/smarty/plugins/block.msp_issuers.php b/src/app/lib/other/smarty/plugins/block.msp_issuers.php deleted file mode 100644 index 652f49f..0000000 --- a/src/app/lib/other/smarty/plugins/block.msp_issuers.php +++ /dev/null @@ -1,70 +0,0 @@ - - * @copyright Copyright (c) 2018 MultiSafepay, Inc. (https://www.multisafepay.com) - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, - * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR - * PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION - * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - */ -function smarty_block_msp_issuers($params, $content, &$smarty, &$repeat) -{ - $repeat = false; - $processor_data = fn_get_processor_data($_SESSION['cart']['payment_id']); - - if(empty($processor_data) && isset($_REQUEST['order_id'])) { - $order_info = fn_get_order_info($_REQUEST['order_id']); - $processor_data = fn_get_processor_data($order_info['payment_id']); - } - - require_once (DIR_ROOT . '/app/payments/MultiSafepay.combined.php'); - - if ($processor_data['processor_params']['mode'] == 'T') { - $test = true; - } else { - $test = false; - } - - $msp = new MultiSafepay(); - $msp->test = $test; - $msp->merchant['account_id'] = $processor_data['processor_params']['account']; - $msp->merchant['site_id'] = $processor_data['processor_params']['site_id']; - $msp->merchant['site_code'] = $processor_data['processor_params']['securitycode']; - - $iDealIssuers = $msp->getIdealIssuers(); - - $idealselect = '
Please remove this file after installation!