Changeset 2183120
- Timestamp:
- 10/30/2019 01:55:25 PM (6 years ago)
- Location:
- ing-psp/trunk
- Files:
-
- 6 edited
-
CHANGELOG.md (modified) (2 diffs)
-
README.md (modified) (1 diff)
-
classes/class-wc-ingpsp-afterpay.php (modified) (1 diff)
-
classes/class-wc-ingpsp-banktransfer.php (modified) (2 diffs)
-
ingpsp.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ing-psp/trunk/CHANGELOG.md
r2173898 r2183120 1 1 # Changelog WooCommerce 2 3 ** 1.3.12 ** 4 * Add banktransfer details to email and make it possible to create banktransfer order from the backend 2 5 3 6 ** 1.3.11 ** … … 7 10 * Fixes for stock reduction 8 11 9 = 1.3.9 = 12 ** 1.3.9 ** 10 13 * Fix for DOB check 11 14 -
ing-psp/trunk/README.md
r2173898 r2183120 15 15 16 16 ## Version number 17 Version 1.3.1 117 Version 1.3.12 18 18 19 19 ## Pre-requisites to install the plug-ins -
ing-psp/trunk/classes/class-wc-ingpsp-afterpay.php
r2170043 r2183120 158 158 'label' => sprintf( 159 159 __("I accept <a href='%s' target='_blank'>Terms and Conditions</a>", WC_Ingpsp_Helper::DOMAIN), 160 (WC()->customer-> billing['country']== 'NL'?static::TERMS_CONDITION_URL_NL:static::TERMS_CONDITION_URL_BE)160 (WC()->customer->get_billing_country() == 'NL'?static::TERMS_CONDITION_URL_NL:static::TERMS_CONDITION_URL_BE) 161 161 ), 162 162 'required' => true -
ing-psp/trunk/classes/class-wc-ingpsp-banktransfer.php
r2170043 r2183120 19 19 20 20 parent::__construct(); 21 22 // Create banktransfer order in ginger system when creating an order from the admin panel 23 add_action('woocommerce_process_shop_order_meta', array($this, 'process_payment'), 41, 1); 24 25 // Sends instructions for payment in the Order email 26 add_action( 'woocommerce_email_after_order_table', array($this, 'add_order_email_instructions'), 10, 1 ); 21 27 } 22 28 … … 58 64 * @param $order_id 59 65 */ 60 public function handle_thankyou($order_id) 61 { 62 WC()->cart->empty_cart(); 66 public function handle_thankyou($order_id) 67 { 68 WC()->cart->empty_cart(); 69 70 echo $this->get_instructions($order_id); 71 } 72 73 /** 74 * Adds instructions for order emails 75 * 76 * @param $order 77 */ 78 public function add_order_email_instructions($order) { 79 echo $this->get_instructions($order->get_id()); 80 } 81 82 /** 83 * @param $order_id 84 * @return string 85 */ 86 public function get_instructions($order_id) { 63 87 64 88 $reference = get_post_custom_values('bank_reference', $order_id); 65 89 66 echo __("Please use the following payment information:", WC_Ingpsp_Helper::DOMAIN);67 echo "<br/>";68 echo __("Bank Reference: ".$reference[0], WC_Ingpsp_Helper::DOMAIN);69 echo "<br/>";70 echo __("IBAN: NL13INGB0005300060", WC_Ingpsp_Helper::DOMAIN);71 echo "<br/>";72 echo __("BIC: INGBNL2A", WC_Ingpsp_Helper::DOMAIN);73 echo "<br/>";74 echo __("Account Holder: ING Bank N.V. PSP", WC_Ingpsp_Helper::DOMAIN);75 echo "<br/>";76 echo __("Residence: Amsterdam", WC_Ingpsp_Helper::DOMAIN);77 echo"<br/><br/>";90 return __("Please use the following payment information:", WC_Ingpsp_Helper::DOMAIN) 91 . "<br/>" 92 . __("Bank Reference: ".$reference[0], WC_Ingpsp_Helper::DOMAIN) 93 . "<br/>" 94 . __("IBAN: NL13INGB0005300060", WC_Ingpsp_Helper::DOMAIN) 95 . "<br/>" 96 . __("BIC: INGBNL2A", WC_Ingpsp_Helper::DOMAIN) 97 . "<br/>" 98 . __("Account Holder: ING Bank N.V. PSP", WC_Ingpsp_Helper::DOMAIN) 99 . "<br/>" 100 . __("Residence: Amsterdam", WC_Ingpsp_Helper::DOMAIN) 101 . "<br/><br/>"; 78 102 } 79 103 } -
ing-psp/trunk/ingpsp.php
r2173898 r2183120 5 5 * Plugin URI: https://www.ing.nl/ 6 6 * Description: ING WooCommerce plugin for ING Kassa Compleet and ING ePay markets. 7 * Version: 1.3.1 17 * Version: 1.3.12 8 8 * Author: Ginger Payments 9 9 * Author URI: https://www.gingerpayments.com/ … … 20 20 * Define ING PSP plugin version 21 21 */ 22 define('INGPSP_PLUGIN_VERSION', 'WooCommerce v1.3.1 1');22 define('INGPSP_PLUGIN_VERSION', 'WooCommerce v1.3.12'); 23 23 24 24 add_action('plugins_loaded', 'woocommerce_ingpsp_init', 0); -
ing-psp/trunk/readme.txt
r2173898 r2183120 5 5 Requires at least: 4.0 6 6 Tested up to: 5.1.1 7 Stable tag: 1.3.1 17 Stable tag: 1.3.12 8 8 License: The MIT License (MIT) 9 9 License URI: https://opensource.org/licenses/MIT … … 101 101 = Which version of PHP does ING PSP WooCommerce plugin require = 102 102 ING PSP WooCommerce plugin works with PHP versions 5.4 or above. 103 104 == Changelog ==105 106 = 1.3.11 =107 * Fix for stock reduction108 109 = 1.3.9 =110 * Fix for DOB check111 112 = 1.3.6 =113 * Remove DOB check114 115 = 1.3.5 =116 * Use dropdowns for DOB117 118 = 1.3.4 =119 * Handle AfterPay testing. Correct calculation of line item totals. Support different billing address.120 121 = 1.3.3 =122 * Updated translations. Supporting dutch format for DOB123 124 = 1.3.2 =125 * Ads AfterPay126 127 = 1.3.1.2 =128 * Updated the logo's of Sofort en Klarna to the new style129 130 = 1.3.1.1 =131 * Patched ing-psp132 133 = 1.3.1 =134 * Updated ing-php library to version 1.3.4135 * Added dynamic order descriptions136 * Added WooCommerce 3.x support137 138 = 1.3.0 =139 * Updated ing-php library to v1.3.2140 * Implemented Payconiq141 * Added multilingual support for Payconiq142 143 = 1.2.5 =144 * Updated ing-php library to v1.3.1145 * Implemented Klarna automatic order capturing146 * Some other fixes147 148 = 1.2.4 =149 * Added localisation support150 * Added German, French and Dutch languages151 * Added plugin version information to orders152 153 = 1.2.3 =154 * Updated ing-php library to version 1.2.8155 156 = 1.2.2 =157 * Updated ing-php library to version 1.2.7158 159 = 1.2 =160 * Added PayPal payment method161 * Added SOFORT payment method162 * Added Klarna payment method163 * Added HomePay payment method164 165 = 1.1 =166 * Updated ING PSP API bindings library167 * Code re-factoring and cleanup168 169 = 1.0 =170 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.