diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e9b83e0 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,73 @@ +# Release Notes - CS-Cart4 1.3.0 (Aug 24, 2018) # + +## Added ## ++ PLGCSCS-60: Add Afterpay as payment method ++ PLGCSCS-61: Add EPS as payment method ++ PLGCSCS-62: Add iDEALQR as payment method ++ PLGCSCS-63: Add TrustPay as payment method ++ PLGCSCS-40: Add Trustly as direct payment method to plugin ++ PLGCSCS-43: Add Alipay as payment method ++ PLGCSCS-54: Add Santander as payment method ++ PLGCSCS-23: Add payment logo's ++ PLGCSCS-5: Add support for partial_refunded status + +## Changed ## ++ PLGCSCS-59: Make logical sequence of displaying order statuses in the backend ++ PLGCSCS-53: Support direct transactions for PayPal ++ PLGCSCS-46: Support direct transactions for ING'HomePay / Alipay ++ PLGCSCS-30: Support direct transactions for KBC ++ PLGCSCS-39: Added disclaimer to new PHP files ++ PLGCSCS-77: Change defaults for order statuses ++ PLGCSCS-80: Status update on refund and partial refund + +## Fixed ## ++ PLGCSCS-47: Refactor checkout_data when taxes are not set ++ PLGCSCS-44: Change gatewaycode for ING'HomePay to INGHOME ++ PLGCSCS-42: Make user notifications depend on status parameters instead of fixed ++ PLGCSCS-37: Surcharge title was not used in transaction requests ++ PLGCSCS-45: Rename KBC/CBC to KBC ++ PLGCSCS-38: Locale has wrong format within the transaction request + +# Release Notes - CS-Cart4 1.2.0 (Jan 17, 2018) # + +## Changes ## ++ Add Belfius & KBC/CBC & ING Direct to plugin ++ Send shopping cart data for all payment methods when creating transaction ++ Add PaySafeCard as payment method to plugin ++ Update header information ++ Code formatting ++ When selecting another currency then default the wrong values were added to the transaction ++ Install script did not update existing records ++ Correct Wallet gateway code ++ Empty Betaal na ontvangst Fee is added for every transaction ++ Fix checkout_data prices when taxes are used ++ Set correct payment fee id, the same for the shipping method + +# Release Notes - CS-Cart4 1.1.0 (Jan 27, 2017) # + +## Improvements ## ++ Add support for PHP-7 + +## Bugfix ## ++ Added missing templates for manual order creation using the backend + +# Release Notes - CS-Cart4 1.0.2 (Dec 30, 2014) # + +## Improvements ## ++ Better support for updating the orderstatus + +# Release Notes - CS-Cart4 1.0.1 (Mar 24, 2014) # + +## Improvements ## ++ Support for American Express + +## Bugfix ## ++ Fixed bug with wiretransfer on returning. ++ Added billing country check for BnO. If billing country is not 'NL' then don't show gateway. ++ changed locale, use order language if available. + +# Release Notes - CS-Cart4 1.0.0 (Nov 15, 2013) # + +## New plug-in ## ++ Supports all payment methodes including Pay After Delivery ++ Support minimum and maximum value-restricions for showing a gateway. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e1ec68 --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# MultiSafepay extension for CS-Cart + +The MultiSafepay extension for CS-Cart allows you to integrate add all paymentmethods offered by MultiSafepay into your CS-Cart webshop. + +The MultiSafepay extension for CS-Cart has support for: + +Paymentmethods: +1. AfterPay +2. Alipay +3. American Express +4. Bancontact +5. Banktransfer +6. Belfius +7. Direct Debit +8. Dotpay +9. E-Invoice +10. EPS +11. Ferbuy +12. Giropay +13. iDEAL +14. iDEALQR +15. ING HomePay +16. KBC +17. Klarna +18. Maestro +19. MasterCard +20. Pay After Delivery +21. PayPal +22. PaySafeCard +23. Santander Betaalplan +24. SOFORT Banking +25. Trustly +26. Trustpay +27. Visa + +For support you can contact MultiSafepay by e-mail using techsupport@multisafepay.com + +# Installation +For installation instructions please visit our site at +https://www.multisafepay.com/nl_nl/oplossingen/shop-plugins/detail/plugins/cs-cart/ \ No newline at end of file diff --git a/app/lib/other/smarty/plugins/block.msp_issuers.php b/app/lib/other/smarty/plugins/block.msp_issuers.php index 56f42db..a2c4e16 100644 --- a/app/lib/other/smarty/plugins/block.msp_issuers.php +++ b/app/lib/other/smarty/plugins/block.msp_issuers.php @@ -1,64 +1,64 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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']); - - 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 = '
'; - - - - return $idealselect; -} - + + * @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']); + + 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 = '
'; + + + + return $idealselect; +} + ?> \ No newline at end of file diff --git a/app/lib/other/templater/plugins/block.msp_issuers.php b/app/lib/other/templater/plugins/block.msp_issuers.php index 601f461..702f66e 100644 --- a/app/lib/other/templater/plugins/block.msp_issuers.php +++ b/app/lib/other/templater/plugins/block.msp_issuers.php @@ -1,62 +1,62 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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']); - - 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 = '
'; - - - - return $idealselect; -} - + + * @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']); + + 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 = '
'; + + + + return $idealselect; +} + ?> \ No newline at end of file diff --git a/app/lib/vendor/smarty/smarty/libs/plugins/block.msp_issuers.php b/app/lib/vendor/smarty/smarty/libs/plugins/block.msp_issuers.php index 56f42db..a2c4e16 100644 --- a/app/lib/vendor/smarty/smarty/libs/plugins/block.msp_issuers.php +++ b/app/lib/vendor/smarty/smarty/libs/plugins/block.msp_issuers.php @@ -1,64 +1,64 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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']); - - 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 = '
'; - - - - return $idealselect; -} - + + * @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']); + + 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 = '
'; + + + + return $idealselect; +} + ?> \ No newline at end of file diff --git a/app/payments/MultiSafepay.combined.php b/app/payments/MultiSafepay.combined.php index 7495429..d76856e 100644 --- a/app/payments/MultiSafepay.combined.php +++ b/app/payments/MultiSafepay.combined.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 diff --git a/app/payments/multisafepay.php b/app/payments/multisafepay.php index 72b59fa..4b3e5ad 100644 --- a/app/payments/multisafepay.php +++ b/app/payments/multisafepay.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 @@ -21,13 +21,6 @@ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/** - * MultiSafepay - * Date: 17-1-2018 - * Version: 1.2.0 - * Author: Ruud Jonk - * Email: ruud@multisafepay.com - */ use Tygh\Http; use Tygh\Registry; @@ -87,7 +80,7 @@ $msp_statuses = $processor_data['processor_params']['statuses']; - if ($order_info['status'] != 'P' && $order_info['status'] != 'C') { + if ($order_info['status'] != 'P' && $order_info['status'] != 'C' || $status == "refunded" || $status == "partial_refunded") { switch ($status) { case "initialized": @@ -123,6 +116,10 @@ $pp_response['order_status'] = $msp_statuses['refunded']; $pp_response['reason_text'] = 'Transaction refunded'; break; + case "partial_refunded": + $pp_response['order_status'] = $msp_statuses['partial_refunded']; + $pp_response['reason_text'] = 'Transaction partial refunded'; + break; case "expired": $pp_response['order_status'] = $msp_statuses['expired']; $pp_response['reason_text'] = 'Transaction expired'; @@ -138,18 +135,18 @@ if ($details['ewallet']['id'] != '' && $details['paymentdetails']['type'] != 'BANKTRANS') { if ($status == 'initialized' || $status == 'expired') { - fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], '', false); - //fn_order_placement_routines($_REQUEST['transactionid'], false); + fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], ''); + //fn_order_placement_routines($_REQUEST['transactionid'], false); } else { - fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], '', true); - fn_finish_payment($order_id, $pp_response, true); + fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], ''); + fn_finish_payment($order_id, $pp_response); } } elseif ($details['ewallet']['id'] != '' && $details['paymentdetails']['type'] == 'BANKTRANS' && $mode != 'return') { if ($status == 'initialized') { - fn_change_order_status($_REQUEST['transactionid'], $msp_statuses['initialized'], '', false); + fn_change_order_status($_REQUEST['transactionid'], $msp_statuses['initialized'], ''); } else { - fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], '', true); - fn_finish_payment($order_id, $pp_response, true); + fn_change_order_status($_REQUEST['transactionid'], $pp_response['order_status'], ''); + fn_finish_payment($order_id, $pp_response); } } } @@ -167,11 +164,11 @@ $order_info = fn_get_order_info($_REQUEST['transactionid'], true); //if ($order_info['status'] == 'N' || $order_info['status'] == $msp_statuses['initialized'] ) { - fn_change_order_status($_REQUEST['transactionid'], 'O', '', false); + fn_change_order_status($_REQUEST['transactionid'], 'O', ''); //} - fn_order_placement_routines('route', $_REQUEST['transactionid'], true); + fn_order_placement_routines('route', $_REQUEST['transactionid']); exit; } else { @@ -182,10 +179,10 @@ $msp_statuses = $processor_data['processor_params']['statuses']; if ($order_info['status'] == 'N') { - fn_change_order_status($_REQUEST['transactionid'], $msp_statuses['initialized'], '', false); + fn_change_order_status($_REQUEST['transactionid'], $msp_statuses['initialized'], ''); } - fn_order_placement_routines('route', $_REQUEST['transactionid'], true); + fn_order_placement_routines('route', $_REQUEST['transactionid']); exit; } } @@ -209,7 +206,7 @@ $pp_response['order_status'] = $msp_statuses['cancelled']; $pp_response["reason_text"] = fn_get_lang_var('text_transaction_cancelled'); - fn_finish_payment($_REQUEST['transactionid'], $pp_response, false); + fn_finish_payment($_REQUEST['transactionid'], $pp_response); fn_order_placement_routines('route', $_REQUEST['transactionid']); exit; } elseif ($mode == 'process') { @@ -245,13 +242,15 @@ $msp->merchant['site_code'] = $processor_data['processor_params']['securitycode']; //$msp->merchant['notification_url'] = Registry::get('config.current_location') . "/$index_script?dispatch=payment_notification.notify&payment=multisafepay_".strtolower($processor_data['processor_params']['gateway'])."&type=initial"; //$msp->merchant['cancel_url'] = Registry::get('config.current_location') . "/$index_script?dispatch=payment_notification.cancel&payment=multisafepay_".strtolower($processor_data['processor_params']['gateway'])."&transactionid=".$order_id; - //$msp->merchant['redirect_url'] = Registry::get('config.current_location') . "/$index_script?dispatch=payment_notification.return&payment=multisafepay_".strtolower($processor_data['processor_params']['gateway']); + //$msp->merchant['redirect_url'] = Registry::get('config.current_location') . "/$index_script?dispatch=payment_notification.return&payment=multisafepay_".strtolower($processor_data['processor_params']['gateway']); $gateway_url_postfix = strtolower($processor_data['processor_params']['gateway']); if ($gateway_url_postfix == "mistercash") { //hotfix for bancontact/mistercash url $gateway_url_postfix = "bancontact"; } elseif ($gateway_url_postfix == "psafecard") { //hotfix for psafecard $gateway_url_postfix = "paysafecard"; + } elseif ($gateway_url_postfix == "inghome") { //hotfix for INGHome + $gateway_url_postfix = "ing"; } $url = 'payment_notification.notify&payment=multisafepay_' . $gateway_url_postfix . '&type=initial'; @@ -271,6 +270,8 @@ $msp->merchant['close_window'] = true; //$msp->customer['locale'] = $processor_data['processor_params']['language']; $msp->customer['locale'] = isset($order_info['lang_code']) ? strtolower($order_info['lang_code']) : $processor_data['processor_params']['language']; + $msp->customer['locale'] .= '_' . $order_info['b_country']; + $msp->customer['firstname'] = $order_info['b_firstname']; $msp->customer['lastname'] = $order_info['b_lastname']; @@ -284,6 +285,15 @@ $msp->customer['forwardedip'] = $ip['proxy']; $msp->parseCustomerAddress($order_info['b_address']); + $msp->delivery['firstname'] = $order_info['s_firstname']; + $msp->delivery['lastname'] = $order_info['s_lastname']; + $msp->delivery['zipcode'] = $order_info['s_zipcode']; + $msp->delivery['city'] = $order_info['s_city']; + $msp->delivery['state'] = $order_info['s_state']; + $msp->delivery['phone'] = $order_info['s_phone']; + $msp->delivery['country'] = $order_info['s_country']; + $msp->parseDeliveryAddress($order_info['s_address']); + $msp->transaction['id'] = $order_id; $msp->transaction['currency'] = ($order_info['secondary_currency'] ? $order_info['secondary_currency'] : $processor_data['processor_params']['currency']); $msp->cart->currency = $msp->transaction['currency']; @@ -292,144 +302,139 @@ $msp->transaction['items'] = $cart_items; $msp->transaction['gateway'] = getGateway($processor_data['processor_params']['gateway']); $msp->plugin_name = 'CS-Cart 4.x'; - $msp->version = '1.2.0'; + $msp->version = '1.3.0'; $msp->plugin['shop'] = 'CS-Cart'; $msp->plugin['shop_version'] = '4'; - $msp->plugin['plugin_version'] = '1.2.0'; + $msp->plugin['plugin_version'] = '1.3.0'; $msp->plugin['partner'] = ''; $msp->plugin['shop_root_url'] = Registry::get('config.current_location'); $taxes = array(); - - $items = $order_info['products']; + $taxes['no-tax'] = 0; //Add the products - foreach ($items as $item) { + foreach ($order_info['products'] as $item) { $product_data = fn_get_product_data($item['product_id'], $_SESSION['auth'], $order_info['lang_code'], '', true, true, true, true, false, true, true); - $taxid = 'BTW0'; - foreach ($product_data['tax_ids'] as $key => $value) { - $taxid = $value; - $taxed = $order_info['taxes'][$product_data[$value]]['price_includes_tax']; + // Get (first) Product tax + if (!empty($product_data['tax_ids'])){ + $product_tax_id = reset ($product_data['tax_ids']); } - if ($taxed == 'N') { - $product_price = $item['price']; - } else { - $btw = $item['price'] / (100 + $order_info['taxes'][$taxid]['rate_value']) * $order_info['taxes'][$taxid]['rate_value']; - $product_price = $item['price'] - $btw; - } + $product_price = $item['price']; - $cart_item_msp = new MspItem($item['product'], '', $item['amount'], fn_format_price_by_currency($product_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); - $cart_item_msp->SetMerchantItemId($item['product_code']); - //$cart_item_msp->SetTaxTableSelector('P_'.$item['item_id']); - $cart_item_msp->SetTaxTableSelector($taxid); - $msp->cart->AddItem($cart_item_msp); - } + if (empty ($product_tax_id)) { + $taxid = 'no-tax'; + }else{ + $rate = $order_info['taxes'][$product_tax_id]['rate_value']; + $taxid = $order_info['taxes'][$product_tax_id]['description'] . '-' . $rate;; + $taxes[$taxid] = $rate; + if ( $order_info['taxes'][$product_tax_id]['price_includes_tax'] == 'Y'){ + $tax = ($product_price / (100 + $rate)) * $rate; + $product_price = $product_price - $tax; + } + } + $c_item = new MspItem($item['product'], '', $item['amount'], fn_format_price_by_currency($product_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); + $c_item->SetMerchantItemId($item['product_code']); + $c_item->SetTaxTableSelector($taxid); + $msp->cart->AddItem($c_item); + } //add shipping line item + $shipping_cost = $order_info['shipping_cost']; + if ($shipping_cost >0) { - foreach ($order_info['shipping'] as $key => $shipper) { - if ($shipper['shipping_id'] == $_SESSION['cart']['chosen_shipping'][0]) { - if ($shipper['rate'] != 0) { - foreach ($order_info['taxes'] as $key => $value) { - if ($value['applies']['S'] != '0') - $shiptaxselector = $key; - } - - $taxed = $order_info['taxes'][$shiptaxselector]['price_includes_tax']; + // Get (first) Shipping method + $shipping = reset ($order_info['shipping']); - if ($taxed == 'N') { - $shiping_price = $shipper['rate']; - } elseif ($shiptaxselector) { - $btw = $shipper['rate'] / (100 + $order_info['taxes'][$shiptaxselector]['rate_value']) * $order_info['taxes'][$shiptaxselector]['rate_value']; - $shiping_price = $shipper['rate'] - $btw; - } else { - $shiping_price = $shipper['rate']; - } + // Get (first) Shipping tax + if (!empty($shipping['taxes'])) { + $shipping_tax = reset($shipping['taxes']); + } - $c_item = new MspItem($shipper['shipping'], 'Verzending', 1, fn_format_price_by_currency($shiping_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); - $c_item->SetMerchantItemId('msp-shipping'); - //$c_item->SetTaxTableSelector('S_'.$key.'_0'); + if (empty ($shipping_tax)) { + $taxid = 'no-tax'; + }else{ + $rate = $shipping_tax['rate_value']; + $taxid = $shipping_tax['description'] . '-' . $rate; + $taxes[$taxid] = $rate; - if ($shiptaxselector) { - $c_item->SetTaxTableSelector($shiptaxselector); - } else { - $c_item->SetTaxTableSelector('BTW0'); - } - - $msp->cart->AddItem($c_item); + if ( $shipping_tax['price_includes_tax'] == 'Y'){ + $shipping_cost = $shipping_cost - $shipping_tax['tax_subtotal']; } } - } - //Add payment surcharge - $taxes_payment_method = $order_info['payment_method']['tax_ids']; - if (empty($taxes_payment_method)) { - $surcharge_price = $order_info['payment_method']['a_surcharge'] + $order_info['payment_method']['p_surcharge'] * $order_info['subtotal'] / 100; - } else { - $total_surcharge = $order_info['payment_method']['a_surcharge'] + $order_info['payment_method']['p_surcharge'] * $order_info['subtotal'] / 100; - $btw = $total_surcharge / (100 + $order_info['taxes'][$order_info['payment_method']['tax_ids'][0]]['rate_value']) * $order_info['taxes'][$order_info['payment_method']['tax_ids'][0]]['rate_value']; - $surcharge_price = $total_surcharge - $btw; + $c_item = new MspItem($shipping['shipping'], __('Shipping'), 1, fn_format_price_by_currency($shipping_cost, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); + $c_item->SetMerchantItemId('msp-shipping'); + $c_item->SetTaxTableSelector($taxid); + $msp->cart->AddItem($c_item); } - if ($surcharge_price > 0) { - $c_item = new MspItem($order_info['payment_method']['payment'], 'Payment Fee', 1, fn_format_price_by_currency($surcharge_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); - $c_item->SetMerchantItemId('payment-fee'); - $ptax = $order_info['payment_method']['tax_ids']; - foreach ($ptax as $key => $value) { - $taxselector = $value; - } + //Add payment surcharge + $total_surcharge = $order_info['payment_surcharge']; + if ($total_surcharge >0) { - if ($taxselector) { - $c_item->SetTaxTableSelector($taxselector); - } else { - $c_item->SetTaxTableSelector('BTW0'); + // Get (first) Surcharge tax + if (!empty($order_info['payment_method']['tax_ids'])) { + $surcharge_tax_id = reset($order_info['payment_method']['tax_ids']); } - $msp->cart->AddItem($c_item); - //add available tax rates - $taxes = array(); - foreach ($order_info['taxes'] as $key => $tax) { - - if (!in_array($key, $taxes)) { - $taxes[] = $key; - $percentage = $tax['rate_value'] / 100; - $taxname = $key; - $taxtable = new MspAlternateTaxTable($taxname, 'true'); - $taxrule = new MspAlternateTaxRule($percentage); - $taxtable->AddAlternateTaxRules($taxrule); - $msp->cart->AddAlternateTaxTables($taxtable); + if (empty ($surcharge_tax_id)) { + $taxid = 'no-tax'; + }else{ + $rate = $order_info['taxes'][$surcharge_tax_id]['rate_value']; + $taxid = $order_info['taxes'][$surcharge_tax_id]['description'] . '-' . $rate;; + $taxes[$taxid] = $rate; + + if ( $order_info['taxes'][$surcharge_tax_id]['price_includes_tax'] == 'Y'){ + $tax = ($total_surcharge / (100 + $rate)) * $rate; + $total_surcharge = $total_surcharge - $tax; } } + + $surcharge_title = $order_info['payment_method']['surcharge_title'] ?: __('payment_surcharge'); + $c_item = new MspItem($surcharge_title,'Surcharge', 1, fn_format_price_by_currency($total_surcharge, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY), 'KG', 0); + $c_item->SetMerchantItemId('Surcharge'); + $c_item->SetTaxTableSelector($taxid); + $msp->cart->AddItem($c_item); } - //If there are coupons applied add coupon as a product with negative price + if (isset($order_info['promotions'])) { foreach ($order_info['promotions'] as $key => $value) { if ($order_info['subtotal_discount'] != '0.00') { $discount_price = $order_info['subtotal_discount']; - $coupon = new MspItem($value['name'], 'Discount Price', 1, ('-' . fn_format_price_by_currency($discount_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY))); - $coupon->SetTaxTableSelector('BTW0'); - $msp->cart->AddItem($coupon); + $c_item = new MspItem($value['name'], 'Discount Price', 1, ('-' . fn_format_price_by_currency($discount_price, CART_PRIMARY_CURRENCY, CART_SECONDARY_CURRENCY))); + $c_item->SetTaxTableSelector('no-tax'); + $msp->cart->AddItem($c_item); } } } - $percentage = '0.00'; - $taxname = 'BTW0'; - $taxtable = new MspAlternateTaxTable($taxname, 'true'); - $taxrule = new MspAlternateTaxRule($percentage); - $taxtable->AddAlternateTaxRules($taxrule); - $msp->cart->AddAlternateTaxTables($taxtable); + + $taxrule = new MspDefaultTaxRule( $taxes['no-tax'], false); + $msp->cart->AddDefaultTaxRules($taxrule); + + //add available tax rates .. + foreach ($taxes as $taxname => $percentage) { + $taxtable = new MspAlternateTaxTable($taxname, 'true'); + $taxrule = new MspAlternateTaxRule($percentage/100); + $taxtable->AddAlternateTaxRules($taxrule); + $msp->cart->AddAlternateTaxTables($taxtable); + } + + if ($processor_data['processor_params']['gateway'] == 'IDEAL' && isset($order_info['payment_info']['issuer'])) { $msp->extravars = $order_info['payment_info']['issuer']; + } + + if (in_array ($processor_data['processor_params']['gateway'], array ('IDEAL', 'KBC', 'INGHOME', 'ALIPAY', 'PAYPAL'))) { $url = $msp->startDirectXMLTransaction(); } else { $url = $msp->startCheckout(); diff --git a/app/payments/multisafepay/multisafepay_fastcheckout.functions.php b/app/payments/multisafepay/multisafepay_fastcheckout.functions.php index f1df34a..214c5f2 100644 --- a/app/payments/multisafepay/multisafepay_fastcheckout.functions.php +++ b/app/payments/multisafepay/multisafepay_fastcheckout.functions.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 @@ -88,11 +88,11 @@ function fn_multisafepay_set_fastcheckout($payment_id, $order_id = 0, $order_inf $msp->transaction['description'] = 'Order #' . $msp->transaction['id']; $msp->transaction['items'] = $cart_items; $msp->plugin_name = 'CS-Cart 4.x'; - $msp->version = '1.2.0'; + $msp->version = '1.3.0'; $msp->plugin['shop'] = 'CS-Cart'; $msp->plugin['shop_version'] = '4'; - $msp->plugin['plugin_version'] = '1.2.0'; + $msp->plugin['plugin_version'] = '1.3.0'; $msp->plugin['partner'] = ''; $msp->plugin['shop_root_url'] = Registry::get('config.current_location'); diff --git a/app/payments/multisafepay_afterpay.php b/app/payments/multisafepay_afterpay.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_afterpay.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_alipay.php b/app/payments/multisafepay_alipay.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_alipay.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_amex.php b/app/payments/multisafepay_amex.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_amex.php +++ b/app/payments/multisafepay_amex.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_bancontact.php b/app/payments/multisafepay_bancontact.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_bancontact.php +++ b/app/payments/multisafepay_bancontact.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_banktrans.php b/app/payments/multisafepay_banktrans.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_banktrans.php +++ b/app/payments/multisafepay_banktrans.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_belfius.php b/app/payments/multisafepay_belfius.php index 3c1fa10..cd43642 100644 --- a/app/payments/multisafepay_belfius.php +++ b/app/payments/multisafepay_belfius.php @@ -1,4 +1,24 @@ - + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_dirdeb.php b/app/payments/multisafepay_dirdeb.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_dirdeb.php +++ b/app/payments/multisafepay_dirdeb.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_directbank.php b/app/payments/multisafepay_directbank.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_directbank.php +++ b/app/payments/multisafepay_directbank.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_dotpay.php b/app/payments/multisafepay_dotpay.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_dotpay.php +++ b/app/payments/multisafepay_dotpay.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_einvoice.php b/app/payments/multisafepay_einvoice.php index 97bec20..cd43642 100644 --- a/app/payments/multisafepay_einvoice.php +++ b/app/payments/multisafepay_einvoice.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 diff --git a/app/payments/multisafepay_eps.php b/app/payments/multisafepay_eps.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_eps.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_ferbuy.php b/app/payments/multisafepay_ferbuy.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_ferbuy.php +++ b/app/payments/multisafepay_ferbuy.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_giropay.php b/app/payments/multisafepay_giropay.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_giropay.php +++ b/app/payments/multisafepay_giropay.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_ideal.php b/app/payments/multisafepay_ideal.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_ideal.php +++ b/app/payments/multisafepay_ideal.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_idealqr.php b/app/payments/multisafepay_idealqr.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_idealqr.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_ing.php b/app/payments/multisafepay_ing.php index 3c1fa10..cd43642 100644 --- a/app/payments/multisafepay_ing.php +++ b/app/payments/multisafepay_ing.php @@ -1,4 +1,24 @@ - + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_kbc.php b/app/payments/multisafepay_kbc.php index 3c1fa10..cd43642 100644 --- a/app/payments/multisafepay_kbc.php +++ b/app/payments/multisafepay_kbc.php @@ -1,4 +1,24 @@ - + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_klarna.php b/app/payments/multisafepay_klarna.php index 97bec20..cd43642 100644 --- a/app/payments/multisafepay_klarna.php +++ b/app/payments/multisafepay_klarna.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 diff --git a/app/payments/multisafepay_maestro.php b/app/payments/multisafepay_maestro.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_maestro.php +++ b/app/payments/multisafepay_maestro.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_mastercard.php b/app/payments/multisafepay_mastercard.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_mastercard.php +++ b/app/payments/multisafepay_mastercard.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_payafter.php b/app/payments/multisafepay_payafter.php index 97bec20..cd43642 100644 --- a/app/payments/multisafepay_payafter.php +++ b/app/payments/multisafepay_payafter.php @@ -11,7 +11,7 @@ * @category MultiSafepay * @package Connect * @author TechSupport - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://www.multisafepay.com) + * @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 diff --git a/app/payments/multisafepay_paypal.php b/app/payments/multisafepay_paypal.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_paypal.php +++ b/app/payments/multisafepay_paypal.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_paysafecard.php b/app/payments/multisafepay_paysafecard.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_paysafecard.php +++ b/app/payments/multisafepay_paysafecard.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_santander.php b/app/payments/multisafepay_santander.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_santander.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_trustly.php b/app/payments/multisafepay_trustly.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_trustly.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_trustpay.php b/app/payments/multisafepay_trustpay.php new file mode 100644 index 0000000..cd43642 --- /dev/null +++ b/app/payments/multisafepay_trustpay.php @@ -0,0 +1,24 @@ + + * @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. + */ +require_once('multisafepay.php'); +?> \ No newline at end of file diff --git a/app/payments/multisafepay_visa.php b/app/payments/multisafepay_visa.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_visa.php +++ b/app/payments/multisafepay_visa.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/app/payments/multisafepay_wallet.php b/app/payments/multisafepay_wallet.php index fa34533..cd43642 100644 --- a/app/payments/multisafepay_wallet.php +++ b/app/payments/multisafepay_wallet.php @@ -1,24 +1,24 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -require_once('multisafepay.php'); + + * @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. + */ +require_once('multisafepay.php'); ?> \ No newline at end of file diff --git a/design/backend/templates/views/orders/components/payments/msp_afterpay.tpl b/design/backend/templates/views/orders/components/payments/msp_afterpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_alipay.tpl b/design/backend/templates/views/orders/components/payments/msp_alipay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_eps.tpl b/design/backend/templates/views/orders/components/payments/msp_eps.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_idealqr.tpl b/design/backend/templates/views/orders/components/payments/msp_idealqr.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_santander.tpl b/design/backend/templates/views/orders/components/payments/msp_santander.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_trustly.tpl b/design/backend/templates/views/orders/components/payments/msp_trustly.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/orders/components/payments/msp_trustpay.tpl b/design/backend/templates/views/orders/components/payments/msp_trustpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_afterpay.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_afterpay.tpl new file mode 100644 index 0000000..e936bad --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_afterpay.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_afterpay"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_afterpay"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_alipay.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_alipay.tpl new file mode 100644 index 0000000..f455959 --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_alipay.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_alipay"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_alipay"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_amex.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_amex.tpl index 1874b35..fb7aef5 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_amex.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_amex.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,85 +59,95 @@
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_bancontact.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_bancontact.tpl index b11da87..ac8ba76 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_bancontact.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_bancontact.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_banktrans.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_banktrans.tpl index cf3862f..708f55c 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_banktrans.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_banktrans.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_belfius.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_belfius.tpl index c448b54..a904211 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_belfius.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_belfius.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,85 +59,95 @@
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_dirdeb.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_dirdeb.tpl index 0de7273..68d0b65 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_dirdeb.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_dirdeb.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -97,49 +89,65 @@ {/foreach} +
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_directbank.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_directbank.tpl index a95f52a..25cb6e3 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_directbank.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_directbank.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_dotpay.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_dotpay.tpl index e727af8..82e3802 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_dotpay.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_dotpay.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_einvoice.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_einvoice.tpl index e5aaee7..6d6dc26 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_einvoice.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_einvoice.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -42,7 +41,6 @@
- {* Currency *}
@@ -51,7 +49,6 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
@@ -74,26 +71,16 @@
-
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
-
- - - -
- -
@@ -117,56 +104,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} -
+ \ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_eps.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_eps.tpl new file mode 100644 index 0000000..16b3fde --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_eps.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_eps"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_eps"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_ferbuy.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_ferbuy.tpl index 50c8f73..a28ae9e 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_ferbuy.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_ferbuy.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -97,49 +89,65 @@ {/foreach} +
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_giropay.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_giropay.tpl index 7e968f7..427b5e6 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_giropay.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_giropay.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_ideal.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_ideal.tpl index 2641f5d..4a0659a 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_ideal.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_ideal.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_idealqr.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_idealqr.tpl new file mode 100644 index 0000000..cdf7b66 --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_idealqr.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_idealqr"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_idealqr"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_ing.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_ing.tpl index 84a70a8..2f19e14 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_ing.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_ing.tpl @@ -13,7 +13,7 @@ - + {* account id *}
@@ -28,7 +28,6 @@
{* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,85 +59,95 @@
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_kbc.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_kbc.tpl index 839465c..236eba9 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_kbc.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_kbc.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,85 +59,95 @@
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_klarna.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_klarna.tpl index 5592eb9..2425b0a 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_klarna.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_klarna.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -42,7 +41,6 @@
- {* Currency *}
@@ -51,7 +49,6 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
@@ -74,26 +71,16 @@
-
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
-
- - - -
- -
@@ -117,56 +104,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} -
+ \ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_maestro.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_maestro.tpl index 9e055dd..a908dc9 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_maestro.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_maestro.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_mastercard.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_mastercard.tpl index f045059..e15c825 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_mastercard.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_mastercard.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_payafter.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_payafter.tpl index bc0c468..1e68dc1 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_payafter.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_payafter.tpl @@ -51,7 +51,6 @@ -{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
@@ -74,26 +73,16 @@
-
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
-
- - - -
- -
@@ -117,56 +106,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} -
+ \ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_paypal.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_paypal.tpl index f5407b9..7c9d565 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_paypal.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_paypal.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_paysafecard.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_paysafecard.tpl index 293ecec..85b5239 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_paysafecard.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_paysafecard.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,22 +59,15 @@
-
- - -
+{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
@@ -99,48 +91,63 @@
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+
+ +
-
- - {foreach from=$statuses item="s" key="k"} - + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_santander.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_santander.tpl new file mode 100644 index 0000000..df32219 --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_santander.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_santander"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_santander"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_trustly.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_trustly.tpl new file mode 100644 index 0000000..4a7150b --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_trustly.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_trustly"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_trustly"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_trustpay.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_trustpay.tpl new file mode 100644 index 0000000..86d46df --- /dev/null +++ b/design/backend/templates/views/payments/components/cc_processors/msp_trustpay.tpl @@ -0,0 +1,153 @@ +{* $Id: cc_multisafepay.tpl,v 1.0 2008/04/20 letun Exp $ *} +{assign var="r_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification.notify&payment=multisafepay_trustpay"} +{assign var="e_url" value="`$config.http_location`/`$config.customer_index`?dispatch=payment_notification&payment_notification.result=multisafepay_trustpay"} +

MultiSafepay

+

+ +{* Test/Live mode *} +

+ + +
+ + + +{* account id *} +
+ + +
+ +{* site id *} +
+ + +
+ +{* Security Code *} +
+ + +
+ +{* Notificatie URL *} +
+ + {$r_url} + +
+ + +{* Currency *} +
+ + +
+ + +
+ + +
+ +
+ + +
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_visa.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_visa.tpl index 0771343..b1bb06f 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_visa.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_visa.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -60,85 +59,95 @@
+ + +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - + {foreach from=$statuses item="s" key="k"} + + {/foreach} + +
+ +
+ +
\ No newline at end of file diff --git a/design/backend/templates/views/payments/components/cc_processors/msp_wallet.tpl b/design/backend/templates/views/payments/components/cc_processors/msp_wallet.tpl index f88c990..4cf29bd 100644 --- a/design/backend/templates/views/payments/components/cc_processors/msp_wallet.tpl +++ b/design/backend/templates/views/payments/components/cc_processors/msp_wallet.tpl @@ -28,7 +28,6 @@ {* Security Code *} -
@@ -50,7 +49,7 @@
-{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
@@ -61,84 +60,94 @@
+ +{assign var="statuses" value=$smarty.const.STATUSES_ORDER|fn_get_simple_statuses} +
- -
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
-
- - {foreach from=$statuses item="s" key="k"} - + {/foreach}
+ +
+ + +
\ No newline at end of file diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_afterpay.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_afterpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_alipay.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_alipay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_eps.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_eps.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_ideal.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_ideal.tpl index ea57d3e..00b3813 100644 --- a/design/themes/basic/templates/views/orders/components/payments/msp_ideal.tpl +++ b/design/themes/basic/templates/views/orders/components/payments/msp_ideal.tpl @@ -1,8 +1 @@ -iDEAL -Betaal met iDEAL -
-{msp_issuers}{/msp_issuers} - -
-
-
\ No newline at end of file +{msp_issuers}{/msp_issuers} \ No newline at end of file diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_idealqr.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_idealqr.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_santander.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_santander.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_trustly.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_trustly.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/basic/templates/views/orders/components/payments/msp_trustpay.tpl b/design/themes/basic/templates/views/orders/components/payments/msp_trustpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_afterpay.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_afterpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_alipay.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_alipay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_eps.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_eps.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_ideal.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_ideal.tpl index ea57d3e..00b3813 100644 --- a/design/themes/responsive/templates/views/orders/components/payments/msp_ideal.tpl +++ b/design/themes/responsive/templates/views/orders/components/payments/msp_ideal.tpl @@ -1,8 +1 @@ -iDEAL -Betaal met iDEAL -
-{msp_issuers}{/msp_issuers} - -
-
-
\ No newline at end of file +{msp_issuers}{/msp_issuers} \ No newline at end of file diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_idealqr.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_idealqr.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_santander.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_santander.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_trustly.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_trustly.tpl new file mode 100644 index 0000000..e69de29 diff --git a/design/themes/responsive/templates/views/orders/components/payments/msp_trustpay.tpl b/design/themes/responsive/templates/views/orders/components/payments/msp_trustpay.tpl new file mode 100644 index 0000000..e69de29 diff --git a/images/msp/afterpay.png b/images/msp/afterpay.png new file mode 100644 index 0000000..0ab7e55 Binary files /dev/null and b/images/msp/afterpay.png differ diff --git a/images/msp/alipay.png b/images/msp/alipay.png new file mode 100644 index 0000000..4263545 Binary files /dev/null and b/images/msp/alipay.png differ diff --git a/images/msp/amex.png b/images/msp/amex.png new file mode 100644 index 0000000..c591c9f Binary files /dev/null and b/images/msp/amex.png differ diff --git a/images/msp/bancontact.png b/images/msp/bancontact.png new file mode 100644 index 0000000..884d49d Binary files /dev/null and b/images/msp/bancontact.png differ diff --git a/images/msp/banktransfer.png b/images/msp/banktransfer.png new file mode 100644 index 0000000..e99ae57 Binary files /dev/null and b/images/msp/banktransfer.png differ diff --git a/images/msp/belfius.png b/images/msp/belfius.png new file mode 100644 index 0000000..c224cdf Binary files /dev/null and b/images/msp/belfius.png differ diff --git a/images/msp/betaalplan.png b/images/msp/betaalplan.png new file mode 100644 index 0000000..f621c54 Binary files /dev/null and b/images/msp/betaalplan.png differ diff --git a/images/msp/directdebit.png b/images/msp/directdebit.png new file mode 100644 index 0000000..f9cee9e Binary files /dev/null and b/images/msp/directdebit.png differ diff --git a/images/msp/dotpay.png b/images/msp/dotpay.png new file mode 100644 index 0000000..84d0a2c Binary files /dev/null and b/images/msp/dotpay.png differ diff --git a/images/msp/e-invoicing.png b/images/msp/e-invoicing.png new file mode 100644 index 0000000..a158441 Binary files /dev/null and b/images/msp/e-invoicing.png differ diff --git a/images/msp/eps.png b/images/msp/eps.png new file mode 100644 index 0000000..e876672 Binary files /dev/null and b/images/msp/eps.png differ diff --git a/images/msp/ferbuy.png b/images/msp/ferbuy.png new file mode 100644 index 0000000..b4e39cc Binary files /dev/null and b/images/msp/ferbuy.png differ diff --git a/images/msp/giropay.png b/images/msp/giropay.png new file mode 100644 index 0000000..49989fb Binary files /dev/null and b/images/msp/giropay.png differ diff --git a/images/msp/ideal-qr.png b/images/msp/ideal-qr.png new file mode 100644 index 0000000..2069c65 Binary files /dev/null and b/images/msp/ideal-qr.png differ diff --git a/images/msp/ideal.jpg b/images/msp/ideal.jpg deleted file mode 100644 index dfd6a4f..0000000 Binary files a/images/msp/ideal.jpg and /dev/null differ diff --git a/images/msp/ideal.png b/images/msp/ideal.png new file mode 100644 index 0000000..8c409a1 Binary files /dev/null and b/images/msp/ideal.png differ diff --git a/images/msp/ing-homepay.png b/images/msp/ing-homepay.png new file mode 100644 index 0000000..71019a0 Binary files /dev/null and b/images/msp/ing-homepay.png differ diff --git a/images/msp/kbc.png b/images/msp/kbc.png new file mode 100644 index 0000000..9ecbeed Binary files /dev/null and b/images/msp/kbc.png differ diff --git a/images/msp/klarna.png b/images/msp/klarna.png new file mode 100644 index 0000000..23bced4 Binary files /dev/null and b/images/msp/klarna.png differ diff --git a/images/msp/maestro.png b/images/msp/maestro.png new file mode 100644 index 0000000..3d5f06c Binary files /dev/null and b/images/msp/maestro.png differ diff --git a/images/msp/mastercard.png b/images/msp/mastercard.png new file mode 100644 index 0000000..1aceaaf Binary files /dev/null and b/images/msp/mastercard.png differ diff --git a/images/msp/payafter.png b/images/msp/payafter.png new file mode 100644 index 0000000..ab80f2c Binary files /dev/null and b/images/msp/payafter.png differ diff --git a/images/msp/paypal.png b/images/msp/paypal.png new file mode 100644 index 0000000..e2c7732 Binary files /dev/null and b/images/msp/paypal.png differ diff --git a/images/msp/paysafecard.png b/images/msp/paysafecard.png new file mode 100644 index 0000000..1151b96 Binary files /dev/null and b/images/msp/paysafecard.png differ diff --git a/images/msp/sofort.png b/images/msp/sofort.png new file mode 100644 index 0000000..d091071 Binary files /dev/null and b/images/msp/sofort.png differ diff --git a/images/msp/trustly.png b/images/msp/trustly.png new file mode 100644 index 0000000..0d1d09c Binary files /dev/null and b/images/msp/trustly.png differ diff --git a/images/msp/trustpay.png b/images/msp/trustpay.png new file mode 100644 index 0000000..af8a73b Binary files /dev/null and b/images/msp/trustpay.png differ diff --git a/images/msp/visa.png b/images/msp/visa.png new file mode 100644 index 0000000..1a44b0c Binary files /dev/null and b/images/msp/visa.png differ diff --git a/msp_installer.php b/msp_installer.php index a4e4214..010e5ee 100644 --- a/msp_installer.php +++ b/msp_installer.php @@ -1,108 +1,115 @@ - - * @copyright Copyright (c) 2017 MultiSafepay, Inc. (http://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. - */ -define('BOOTSTRAP', ''); -if (function_exists('date_default_timezone_set')) { - date_default_timezone_set('Europe/Amsterdam'); -} - -// Load user configuration -define('AREA', true); -define('DIR_ROOT', dirname(__FILE__)); - -require_once(dirname(__FILE__) . '/config.php'); - -$payments = array( - 'BANKTRANS' => 'Bank Transfer', - 'DIRDEB' => 'Direct Debit', - 'DIRECTBANK' => 'Direct Ebanking', - 'GIROPAY' => 'GiroPay', - 'IDEAL' => 'iDeal', - 'MAESTRO' => 'Maestro', - 'MASTERCARD' => 'Mastercard', - 'BANCONTACT' => 'Bancontact', - 'WALLET' => 'Multisafepay Wallet', - 'VISA' => 'Visa', - 'PAYPAL' => 'PayPal', - 'FERBUY' => 'Ferbuy', - 'DOTPAY' => 'Dotpay', - 'PAYSAFECARD' => 'Paysafecard', - 'PAYAFTER' => 'Betaal na Ontvangst', - 'EINVOICE' => 'Einvoice', - 'KLARNA' => 'Klarna Invoice', - 'AMEX' => 'American Express', - 'ING' => 'ING-Homepay', - 'KBC' => 'KBC/CBC', - 'BELFIUS' => 'Belfius', -); - - -foreach ($payments as $paymentcode => $naam) { - upd($naam, "`" . $config['table_prefix'] . "payment_processors` SET `processor` = 'MultiSafepay " . $naam . "', `processor_script` = 'multisafepay_" . strtolower($paymentcode) . ".php', `admin_template` = 'msp_" . strtolower($paymentcode) . ".tpl', `processor_template` = 'views/orders/components/payments/msp_" . strtolower($paymentcode) . ".tpl', `callback` = 'Y', `type` = 'P'", $config); -} - -$html = ''; -$html .= ''; -$html .= ''; -$html .= ''; -$html .= ''; -$html .= ''; -$html .= ''; -$html .= ''; -$html .= '
'; -$html .= '

'; -$html .= '

CS-Cart MultiSafepay Gateway Installation

'; -$html .= '
'; -$html .= '
'; -$html .= '

Please remove this file after installation!


'; -foreach ($payments as $paymentcode => $naam) { - $html .= 'Gateway: ' . $naam . ' added
'; -} - -$html .= '
Copyright © ' . date("Y") . ' MultiSafepay. Alle rechten voorbehouden.
'; -$html .= '
'; -$html .= ''; -$html .= ''; -echo $html; - -function upd($naam, $query, $config) -{ - $mysqli = new mysqli($config['db_host'], $config['db_user'], $config['db_password'], $config['db_name']); - - if ($mysqli->connect_errno) { - printf("Connect failed: %s\n", $mysqli->connect_error); - exit(); - } - - $q = $mysqli->query("SELECT * FROM `" . $config['table_prefix'] . "payment_processors` WHERE `processor` = 'MultiSafepay " . $naam . "'"); - - if (!$q || ($n = mysqli_num_rows($q)) == 0) { - $ex = $mysqli->query("INSERT INTO " . $query); - echo 'insert ' . $ex . '
'; - } else { - $r = mysqli_fetch_assoc($q); - $ex = $mysqli->query("UPDATE " . $query . " WHERE `processor_id` = '" . $r['processor_id'] . "'"); - echo 'update ' . $ex . '
'; - } -} - + + * @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. + */ +define('BOOTSTRAP', ''); +if (function_exists('date_default_timezone_set')) { + date_default_timezone_set('Europe/Amsterdam'); +} + +// Load user configuration +define('AREA', true); +define('DIR_ROOT', dirname(__FILE__)); + +require_once(dirname(__FILE__) . '/config.php'); + +$payments = array( + 'BANKTRANS' => 'Bank Transfer', + 'DIRDEB' => 'Direct Debit', + 'DIRECTBANK' => 'Direct Ebanking', + 'GIROPAY' => 'GiroPay', + 'IDEAL' => 'iDeal', + 'MAESTRO' => 'Maestro', + 'MASTERCARD' => 'Mastercard', + 'BANCONTACT' => 'Bancontact', + 'WALLET' => 'Multisafepay Wallet', + 'VISA' => 'Visa', + 'PAYPAL' => 'PayPal', + 'FERBUY' => 'Ferbuy', + 'DOTPAY' => 'Dotpay', + 'PAYSAFECARD' => 'Paysafecard', + 'PAYAFTER' => 'Betaal na Ontvangst', + 'EINVOICE' => 'Einvoice', + 'KLARNA' => 'Klarna Invoice', + 'AMEX' => 'American Express', + 'ING' => 'ING-Homepay', + 'KBC' => 'KBC', + 'BELFIUS' => 'Belfius', + 'SANTANDER' => 'Santander Betaalplan', + 'ALIPAY' => 'Alipay', + 'TRUSTLY' => 'Trustly', + 'TRUSTPAY' => 'TrustPay', + 'EPS' => 'EPS', + 'IDEALQR' => 'iDEAL QR', + 'AFTERPAY' => 'AfterPay', +); + + +foreach ($payments as $paymentcode => $naam) { + upd($naam, "`" . $config['table_prefix'] . "payment_processors` SET `processor` = 'MultiSafepay " . $naam . "', `processor_script` = 'multisafepay_" . strtolower($paymentcode) . ".php', `admin_template` = 'msp_" . strtolower($paymentcode) . ".tpl', `processor_template` = 'views/orders/components/payments/msp_" . strtolower($paymentcode) . ".tpl', `callback` = 'Y', `type` = 'P'", $config); +} + +$html = ''; +$html .= ''; +$html .= ''; +$html .= ''; +$html .= ''; +$html .= ''; +$html .= ''; +$html .= ''; +$html .= '
'; +$html .= '

'; +$html .= '

CS-Cart MultiSafepay Gateway Installation

'; +$html .= '
'; +$html .= '
'; +$html .= '

Please remove this file after installation!


'; +foreach ($payments as $paymentcode => $naam) { + $html .= 'Gateway: ' . $naam . ' added
'; +} + +$html .= '
Copyright © ' . date("Y") . ' MultiSafepay. Alle rechten voorbehouden.
'; +$html .= '
'; +$html .= ''; +$html .= ''; +echo $html; + +function upd($naam, $query, $config) +{ + $mysqli = new mysqli($config['db_host'], $config['db_user'], $config['db_password'], $config['db_name']); + + if ($mysqli->connect_errno) { + printf("Connect failed: %s\n", $mysqli->connect_error); + exit(); + } + + $q = $mysqli->query("SELECT * FROM `" . $config['table_prefix'] . "payment_processors` WHERE `processor` = 'MultiSafepay " . $naam . "'"); + + if (!$q || ($n = mysqli_num_rows($q)) == 0) { + $ex = $mysqli->query("INSERT INTO " . $query); + echo 'insert ' . $ex . '
'; + } else { + $r = mysqli_fetch_assoc($q); + $ex = $mysqli->query("UPDATE " . $query . " WHERE `processor_id` = '" . $r['processor_id'] . "'"); + echo 'update ' . $ex . '
'; + } +} + ?> \ No newline at end of file