Changeset 1407340
- Timestamp:
- 04/29/2016 11:17:33 AM (10 years ago)
- Location:
- nimblepayments/trunk
- Files:
-
- 6 edited
-
includes/class-wc-gateway-nimble.php (modified) (5 diffs)
-
lang/woocommerce-nimble-payments-es_ES.mo (modified) (previous)
-
lang/woocommerce-nimble-payments-es_ES.po (modified) (9 diffs)
-
lang/woocommerce-nimble-payments.pot (modified) (4 diffs)
-
nimblepayments.php (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nimblepayments/trunk/includes/class-wc-gateway-nimble.php
r1365565 r1407340 50 50 add_action('before_woocommerce_pay', array($this, 'payment_error')); 51 51 52 add_action('before_woocommerce_pay', array($this, 'payment_redirect')); 53 52 54 add_filter('woocommerce_thankyou_order_key', array($this, 'success_url_nonce')); 53 55 … … 83 85 84 86 function process_payment($order_id) { 85 global $woocommerce;86 87 $order = new WC_Order($order_id); 87 88 // Mark as nimble-pending (we're awaiting the payment) 89 $order->update_status('nimble-pending', __('Awaiting payment via Nimble Payments.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE PENDING 90 91 try{ 92 $nimbleApi = $this->inicialize_nimble_api(); 93 94 $payment = $this->set_payment_info($order); 95 96 $response = Payments::SendPaymentClient($nimbleApi, $payment); 97 } 98 catch (Exception $e) { 99 $order->update_status('nimble-failed', __('An error has occurred. Code ERR_PAG.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE ERROR 100 throw new Exception(__('Unable to process payment. An error has occurred. ERR_PAG code. Please try later.', 'woocommerce-nimble-payments')); //LANG: SDK ERROR MESSAGE 101 } 102 103 if (!isset($response["data"]) || !isset($response["data"]["paymentUrl"])){ 104 $order->update_status('nimble-failed', __('Could not connect to the bank. Code ERR_PAG.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE 404 105 throw new Exception(__('Unable to process payment. An error has occurred. ERR_CONEX code. Please try later.', 'woocommerce-nimble-payments')); //LANG: SDK RETURN 404 106 } 107 108 // Return thankyou redirect 88 89 //Intermediate reload URL Checkout to prevent invalid nonce generation 90 $payment_url = $order->get_checkout_payment_url(); 91 $checkout_redirect_url = add_query_arg( 'payment_redirect', $this->id, $payment_url ); 92 109 93 return array( 110 94 'result' => 'success', 111 'redirect' => $ response["data"]["paymentUrl"]95 'redirect' => $checkout_redirect_url 112 96 ); 113 97 } … … 185 169 $order = wc_get_order( $order_id ); 186 170 $order->payment_complete(); 171 172 //Email sending 173 WC_Emails::instance(); 174 $email_actions = apply_filters( 'woocommerce_email_actions', array( 175 'woocommerce_order_status_pending_to_processing', 176 ) ); 177 if (in_array('woocommerce_order_status_pending_to_processing', $email_actions)){ 178 do_action('woocommerce_order_status_pending_to_processing_notification', $order_id); 179 } 180 187 181 return $order->order_key; 188 182 } … … 192 186 193 187 function payment_error(){ 194 195 188 if ( isset($_GET['payment_status']) ){ 196 189 switch ($_GET['payment_status']){ … … 200 193 break; 201 194 } 195 } 196 } 197 198 function payment_redirect(){ 199 global $wp; 200 201 $redirect_input = filter_input(INPUT_GET, 'payment_redirect'); 202 if ( $this->id == $redirect_input ){ 203 204 $order_id = $wp->query_vars['order-pay']; 205 $order = wc_get_order( $order_id ); 206 // Mark as nimble-pending (we're awaiting the payment) 207 $order->update_status('nimble-pending', __('Awaiting payment via Nimble Payments.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE PENDING 208 209 try{ 210 $nimbleApi = $this->inicialize_nimble_api(); 211 //ADD HEADER SOURCE CALLER 212 $oWoocommerceNimblePayments = Woocommerce_Nimble_Payments::getInstance(); 213 $version = $oWoocommerceNimblePayments->get_plugin_version(); 214 $nimbleApi->authorization->addHeader('source-caller', 'WOOCOMMERCE_'.$version); 215 216 $payment = $this->set_payment_info($order); 217 218 $response = Payments::SendPaymentClient($nimbleApi, $payment); 219 //Save transaction_id to this order 220 if ( isset($response["data"]) && isset($response["data"]["id"])){ 221 update_post_meta( $order_id, '_transaction_id', $response["data"]["id"] ); 222 } 223 224 if (!isset($response["data"]) || !isset($response["data"]["paymentUrl"])){ 225 $order->update_status('nimble-failed', __('Could not connect to the bank. Code ERR_CONEX.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE 404 226 $message = __('Unable to process payment. An error has occurred. ERR_CONEX code. Please try later.', 'woocommerce-nimble-payments'); //LANG: SDK RETURN 404 227 } else{ 228 wp_redirect( $response["data"]["paymentUrl"] ); 229 exit(); 230 } 231 232 } 233 catch (Exception $e) { 234 $order->update_status('nimble-failed', __('An error has occurred. Code ERR_PAG.', 'woocommerce-nimble-payments')); //LANG: ORDER NOTE ERROR 235 $message = __('Unable to process payment. An error has occurred. ERR_PAG code. Please try later.', 'woocommerce-nimble-payments'); //LANG: SDK ERROR MESSAGE 236 } 237 echo '<div class="woocommerce-error">' . $message . '</div>'; 202 238 } 203 239 } -
nimblepayments/trunk/lang/woocommerce-nimble-payments-es_ES.po
r1365565 r1407340 2 2 msgstr "" 3 3 "Project-Id-Version: WooCommerce Nimble Payments\n" 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-" 5 "nimble-payments\n" 6 "POT-Creation-Date: 2016-03-02 17:10:40+00:00\n" 7 "PO-Revision-Date: 2016-03-02 18:11+0100\n" 4 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nimblepayments\n" 5 "POT-Creation-Date: 2016-04-29 10:23:02+00:00\n" 6 "PO-Revision-Date: 2016-04-29 12:27+0100\n" 8 7 "Last-Translator: Carlos Mendoza <cmendoza@opensistemas.com>\n" 9 8 "Language-Team: Opensistemas <acasado@opensistemas.com>\n" … … 30 29 msgstr "Paga de manera segura con tarjeta con la garantía de BBVA." 31 30 32 #: includes/class-wc-gateway-nimble.php:89 31 #: includes/class-wc-gateway-nimble.php:132 32 msgid "Enable/Disable" 33 msgstr "Habilitar/Deshabilitar" 34 35 #: includes/class-wc-gateway-nimble.php:133 36 msgid "Enable Nimble Payments" 37 msgstr "Habilitar Nimble Payments" 38 39 #: includes/class-wc-gateway-nimble.php:139 40 msgid "API Client ID" 41 msgstr "API Client ID" 42 43 #: includes/class-wc-gateway-nimble.php:141 44 #: includes/class-wc-gateway-nimble.php:148 45 msgid "Obtained from https://www.nimblepayments.com" 46 msgstr "Cópialo de tu pasarela en https://www.nimblepayments.com" 47 48 #: includes/class-wc-gateway-nimble.php:146 49 msgid "Client Secret" 50 msgstr "Client Secret" 51 52 #: includes/class-wc-gateway-nimble.php:191 53 msgid "Card payment was rejected. Please try again." 54 msgstr "Se ha rechazado el pago. Por favor, inténtalo de nuevo." 55 56 #: includes/class-wc-gateway-nimble.php:207 33 57 msgid "Awaiting payment via Nimble Payments." 34 58 msgstr "Esperando pago via Nimble Payments." 35 59 36 #: includes/class-wc-gateway-nimble.php:99 60 #: includes/class-wc-gateway-nimble.php:225 61 msgid "Could not connect to the bank. Code ERR_CONEX." 62 msgstr "Error al conectar a Nimbe Payments. Código ERR_CONEX." 63 64 #: includes/class-wc-gateway-nimble.php:226 65 msgid "" 66 "Unable to process payment. An error has occurred. ERR_CONEX code. Please try " 67 "later." 68 msgstr "" 69 "No se ha podido procesar el pago. Se ha producido un error. Código " 70 "ERR_CONEX. Por favor, inténtalo mas tarde." 71 72 #: includes/class-wc-gateway-nimble.php:234 37 73 msgid "An error has occurred. Code ERR_PAG." 38 74 msgstr "Error en el pago. Código ERR_PAG." 39 75 40 #: includes/class-wc-gateway-nimble.php: 10076 #: includes/class-wc-gateway-nimble.php:235 41 77 msgid "" 42 78 "Unable to process payment. An error has occurred. ERR_PAG code. Please try " … … 46 82 "Por favor, inténtalo mas tarde." 47 83 48 #: includes/class-wc-gateway-nimble.php:104 49 msgid "Could not connect to the bank. Code ERR_PAG." 50 msgstr "Error al conectar a Nimbe Payments. Código ERR_CONEX." 51 52 #: includes/class-wc-gateway-nimble.php:105 53 msgid "" 54 "Unable to process payment. An error has occurred. ERR_CONEX code. Please try " 55 "later." 56 msgstr "" 57 "No se ha podido procesar el pago. Se ha producido un error. Código " 58 "ERR_CONEX. Por favor, inténtalo mas tarde." 59 60 #: includes/class-wc-gateway-nimble.php:148 61 msgid "Enable/Disable" 62 msgstr "Habilitar/Deshabilitar" 63 64 #: includes/class-wc-gateway-nimble.php:149 65 msgid "Enable Nimble Payments" 66 msgstr "Habilitar Nimble Payments" 67 68 #: includes/class-wc-gateway-nimble.php:155 69 msgid "API Client ID" 70 msgstr "API Client ID" 71 72 #: includes/class-wc-gateway-nimble.php:157 73 #: includes/class-wc-gateway-nimble.php:164 74 msgid "Obtained from https://www.nimblepayments.com" 75 msgstr "Cópialo de tu pasarela en https://www.nimblepayments.com" 76 77 #: includes/class-wc-gateway-nimble.php:162 78 msgid "Client Secret" 79 msgstr "Client Secret" 80 81 #: includes/class-wc-gateway-nimble.php:198 82 msgid "Card payment was rejected. Please try again." 83 msgstr "Se ha rechazado el pago. Por favor, inténtalo de nuevo." 84 85 #: includes/class-wc-gateway-nimble.php:215 84 #: includes/class-wc-gateway-nimble.php:251 86 85 msgid "Need an Nimble Payments account?" 87 86 msgstr "" … … 89 88 "de forma completamente online." 90 89 91 #: includes/class-wc-gateway-nimble.php:2 1790 #: includes/class-wc-gateway-nimble.php:253 92 91 msgid "Signup now" 93 92 msgstr "Regístrate" 94 93 95 #: includes/class-wc-gateway-nimble.php:2 2494 #: includes/class-wc-gateway-nimble.php:260 96 95 msgid "Data invalid gateway to accept payments." 97 96 msgstr "" … … 99 98 "una pasarela de Test." 100 99 101 #: includes/class-wc-gateway-nimble.php:2 39100 #: includes/class-wc-gateway-nimble.php:275 102 101 #: templates/nimble-checkout-payment-method.php:26 103 102 #: templates/nimble-checkout-thankyou.php:55 … … 105 104 msgstr "Pago con tarjeta" 106 105 107 #: templates/nimble-checkout-thankyou.php:26 108 msgid "" 109 "Unfortunately your order cannot be processed as the originating bank/" 110 "merchant has declined your transaction. Please attempt your purchase again." 111 msgstr "" 112 113 #: templates/nimble-checkout-thankyou.php:29 114 msgid "Pay" 115 msgstr "" 116 117 #: templates/nimble-checkout-thankyou.php:31 118 msgid "My Account" 119 msgstr "" 120 121 #: templates/nimble-checkout-thankyou.php:37 122 #: templates/nimble-checkout-thankyou.php:68 123 msgid "Thank you. Your order has been received." 124 msgstr "" 125 126 #: templates/nimble-checkout-thankyou.php:41 127 msgid "Order Number:" 128 msgstr "" 129 130 #: templates/nimble-checkout-thankyou.php:45 131 msgid "Date:" 132 msgstr "" 133 134 #: templates/nimble-checkout-thankyou.php:49 135 msgid "Total:" 136 msgstr "" 137 138 #: templates/nimble-checkout-thankyou.php:54 139 msgid "Payment Method:" 140 msgstr "" 141 142 #: woocommerce-nimble-payments.php:121 woocommerce-nimble-payments.php:129 106 #: nimblepayments.php:137 nimblepayments.php:145 143 107 msgctxt "Order status" 144 108 msgid "Pending Payment (Nimble Payments)" 145 109 msgstr "Pago Pendiente (Nimble Payments)" 146 110 147 #: woocommerce-nimble-payments.php:122 woocommerce-nimble-payments.php:137111 #: nimblepayments.php:138 nimblepayments.php:153 148 112 msgctxt "Order status" 149 113 msgid "Failed (Nimble Payments)" 150 114 msgstr "Fallido (Nimble Payments)" 151 115 152 #: woocommerce-nimble-payments.php:134116 #: nimblepayments.php:150 153 117 msgid "Pending Payment (Nimble Payments) <span class=\"count\">(%s)</span>" 154 118 msgid_plural "" … … 158 122 "Pagos Pendientes (Nimble Payments) <span class=\"count\">(%s)</span>" 159 123 160 #: woocommerce-nimble-payments.php:142124 #: nimblepayments.php:158 161 125 msgid "Failed (Nimble Payments) <span class=\"count\">(%s)</span>" 162 126 msgid_plural "Failed (Nimble Payments) <span class=\"count\">(%s)</span>" … … 164 128 msgstr[1] "Fallidos (Nimble Payments) <span class=\"count\">(%s)</span>" 165 129 130 #: templates/nimble-checkout-thankyou.php:26 131 msgid "" 132 "Unfortunately your order cannot be processed as the originating bank/" 133 "merchant has declined your transaction. Please attempt your purchase again." 134 msgstr "" 135 136 #: templates/nimble-checkout-thankyou.php:29 137 msgid "Pay" 138 msgstr "" 139 140 #: templates/nimble-checkout-thankyou.php:31 141 msgid "My Account" 142 msgstr "" 143 144 #: templates/nimble-checkout-thankyou.php:37 145 #: templates/nimble-checkout-thankyou.php:68 146 msgid "Thank you. Your order has been received." 147 msgstr "" 148 149 #: templates/nimble-checkout-thankyou.php:41 150 msgid "Order Number:" 151 msgstr "" 152 153 #: templates/nimble-checkout-thankyou.php:45 154 msgid "Date:" 155 msgstr "" 156 157 #: templates/nimble-checkout-thankyou.php:49 158 msgid "Total:" 159 msgstr "" 160 161 #: templates/nimble-checkout-thankyou.php:54 162 msgid "Payment Method:" 163 msgstr "" 164 166 165 #. Plugin Name of the plugin/theme 167 msgid " WooCommerce NimblePayments"168 msgstr " WooCommerceNimble Payments"166 msgid "NimblePayments" 167 msgstr "Nimble Payments" 169 168 170 169 #. Plugin URI of the plugin/theme … … 183 182 msgid "BBVA" 184 183 msgstr "BBVA" 184 185 #~ msgid "WooCommerce Nimble Payments" 186 #~ msgstr "WooCommerce Nimble Payments" 185 187 186 188 #~ msgctxt "Order status" -
nimblepayments/trunk/lang/woocommerce-nimble-payments.pot
r1365565 r1407340 1 # Copyright (C) 2016 WooCommerce NimblePayments2 # This file is distributed under the same license as the WooCommerce NimblePayments package.1 # Copyright (C) 2016 NimblePayments 2 # This file is distributed under the same license as the NimblePayments package. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WooCommerce Nimble Payments 1.0.1\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-" 7 "nimble-payments\n" 8 "POT-Creation-Date: 2016-03-02 17:10:40+00:00\n" 5 "Project-Id-Version: NimblePayments 1.0.6\n" 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/nimblepayments\n" 7 "POT-Creation-Date: 2016-04-29 10:23:02+00:00\n" 9 8 "MIME-Version: 1.0\n" 10 9 "Content-Type: text/plain; charset=UTF-8\n" … … 26 25 msgstr "" 27 26 28 #: includes/class-wc-gateway-nimble.php:89 27 #: includes/class-wc-gateway-nimble.php:132 28 msgid "Enable/Disable" 29 msgstr "" 30 31 #: includes/class-wc-gateway-nimble.php:133 32 msgid "Enable Nimble Payments" 33 msgstr "" 34 35 #: includes/class-wc-gateway-nimble.php:139 36 msgid "API Client ID" 37 msgstr "" 38 39 #: includes/class-wc-gateway-nimble.php:141 40 #: includes/class-wc-gateway-nimble.php:148 41 msgid "Obtained from https://www.nimblepayments.com" 42 msgstr "" 43 44 #: includes/class-wc-gateway-nimble.php:146 45 msgid "Client Secret" 46 msgstr "" 47 48 #: includes/class-wc-gateway-nimble.php:191 49 msgid "Card payment was rejected. Please try again." 50 msgstr "" 51 52 #: includes/class-wc-gateway-nimble.php:207 29 53 msgid "Awaiting payment via Nimble Payments." 30 54 msgstr "" 31 55 32 #: includes/class-wc-gateway-nimble.php:99 56 #: includes/class-wc-gateway-nimble.php:225 57 msgid "Could not connect to the bank. Code ERR_CONEX." 58 msgstr "" 59 60 #: includes/class-wc-gateway-nimble.php:226 61 msgid "" 62 "Unable to process payment. An error has occurred. ERR_CONEX code. Please try " 63 "later." 64 msgstr "" 65 66 #: includes/class-wc-gateway-nimble.php:234 33 67 msgid "An error has occurred. Code ERR_PAG." 34 68 msgstr "" 35 69 36 #: includes/class-wc-gateway-nimble.php: 10070 #: includes/class-wc-gateway-nimble.php:235 37 71 msgid "" 38 72 "Unable to process payment. An error has occurred. ERR_PAG code. Please try " … … 40 74 msgstr "" 41 75 42 #: includes/class-wc-gateway-nimble.php:104 43 msgid "Could not connect to the bank. Code ERR_PAG." 44 msgstr "" 45 46 #: includes/class-wc-gateway-nimble.php:105 47 msgid "" 48 "Unable to process payment. An error has occurred. ERR_CONEX code. Please try " 49 "later." 50 msgstr "" 51 52 #: includes/class-wc-gateway-nimble.php:148 53 msgid "Enable/Disable" 54 msgstr "" 55 56 #: includes/class-wc-gateway-nimble.php:149 57 msgid "Enable Nimble Payments" 58 msgstr "" 59 60 #: includes/class-wc-gateway-nimble.php:155 61 msgid "API Client ID" 62 msgstr "" 63 64 #: includes/class-wc-gateway-nimble.php:157 65 #: includes/class-wc-gateway-nimble.php:164 66 msgid "Obtained from https://www.nimblepayments.com" 67 msgstr "" 68 69 #: includes/class-wc-gateway-nimble.php:162 70 msgid "Client Secret" 71 msgstr "" 72 73 #: includes/class-wc-gateway-nimble.php:198 74 msgid "Card payment was rejected. Please try again." 75 msgstr "" 76 77 #: includes/class-wc-gateway-nimble.php:215 76 #: includes/class-wc-gateway-nimble.php:251 78 77 msgid "Need an Nimble Payments account?" 79 78 msgstr "" 80 79 81 #: includes/class-wc-gateway-nimble.php:2 1780 #: includes/class-wc-gateway-nimble.php:253 82 81 msgid "Signup now" 83 82 msgstr "" 84 83 85 #: includes/class-wc-gateway-nimble.php:2 2484 #: includes/class-wc-gateway-nimble.php:260 86 85 msgid "Data invalid gateway to accept payments." 87 86 msgstr "" 88 87 89 #: includes/class-wc-gateway-nimble.php:2 3988 #: includes/class-wc-gateway-nimble.php:275 90 89 #: templates/nimble-checkout-payment-method.php:26 91 90 #: templates/nimble-checkout-thankyou.php:55 92 91 msgid "Card payment" 93 92 msgstr "" 93 94 #: nimblepayments.php:137 nimblepayments.php:145 95 msgctxt "Order status" 96 msgid "Pending Payment (Nimble Payments)" 97 msgstr "" 98 99 #: nimblepayments.php:138 nimblepayments.php:153 100 msgctxt "Order status" 101 msgid "Failed (Nimble Payments)" 102 msgstr "" 103 104 #: nimblepayments.php:150 105 msgid "Pending Payment (Nimble Payments) <span class=\"count\">(%s)</span>" 106 msgid_plural "" 107 "Pending Payment (Nimble Payments) <span class=\"count\">(%s)</span>" 108 msgstr[0] "" 109 msgstr[1] "" 110 111 #: nimblepayments.php:158 112 msgid "Failed (Nimble Payments) <span class=\"count\">(%s)</span>" 113 msgid_plural "Failed (Nimble Payments) <span class=\"count\">(%s)</span>" 114 msgstr[0] "" 115 msgstr[1] "" 94 116 95 117 #: templates/nimble-checkout-thankyou.php:26 … … 128 150 msgstr "" 129 151 130 #: woocommerce-nimble-payments.php:121 woocommerce-nimble-payments.php:129131 msgctxt "Order status"132 msgid "Pending Payment (Nimble Payments)"133 msgstr ""134 135 #: woocommerce-nimble-payments.php:122 woocommerce-nimble-payments.php:137136 msgctxt "Order status"137 msgid "Failed (Nimble Payments)"138 msgstr ""139 140 #: woocommerce-nimble-payments.php:134141 msgid "Pending Payment (Nimble Payments) <span class=\"count\">(%s)</span>"142 msgid_plural ""143 "Pending Payment (Nimble Payments) <span class=\"count\">(%s)</span>"144 msgstr[0] ""145 msgstr[1] ""146 147 #: woocommerce-nimble-payments.php:142148 msgid "Failed (Nimble Payments) <span class=\"count\">(%s)</span>"149 msgid_plural "Failed (Nimble Payments) <span class=\"count\">(%s)</span>"150 msgstr[0] ""151 msgstr[1] ""152 153 152 #. Plugin Name of the plugin/theme 154 msgid " WooCommerce NimblePayments"153 msgid "NimblePayments" 155 154 msgstr "" 156 155 -
nimblepayments/trunk/nimblepayments.php
r1365565 r1407340 5 5 Plugin URI: https://www.nimblepayments.com 6 6 Description: Nimble Payments is an online payment gateway supported by BBVA that enables you to accept online payments flexibly and safely. 7 Version: 1.0. 57 Version: 1.0.6 8 8 Author: BBVA 9 9 Author URI: … … 68 68 add_filter( 'wc_get_template', array( $this, 'filter_templates_checkout' ), 10, 3); 69 69 70 $this->load_options(); 70 71 } 72 } 73 74 function load_options(){ 75 $this->options = get_file_data(__FILE__, array('Version' => 'Version'), 'plugin' ); 76 } 77 78 function get_options(){ 79 return $this->options; 80 } 81 82 function get_plugin_version(){ 83 if ( isset($this->options['Version']) ){ 84 return $this->options['Version']; 85 } 86 return ''; 71 87 } 72 88 … … 146 162 function valid_order_statuses_for_payment($order_statuses){ 147 163 $order_statuses[]='nimble-pending'; 164 $order_statuses[]='nimble-failed'; 148 165 return $order_statuses; 149 166 } … … 168 185 if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) { 169 186 $oWoocommerceNimblePayments = Woocommerce_Nimble_Payments::getInstance(); 187 register_activation_hook(__FILE__, array($oWoocommerceNimblePayments, 'activar_plugin')); 188 register_deactivation_hook(__FILE__, array( $oWoocommerceNimblePayments, 'desactivar_plugin')); 170 189 } 171 register_activation_hook(__FILE__, array($oWoocommerceNimblePayments, 'activar_plugin'));172 register_deactivation_hook(__FILE__, array( $oWoocommerceNimblePayments, 'desactivar_plugin')); -
nimblepayments/trunk/readme.txt
r1365565 r1407340 1 1 === NimblePayments === 2 2 Contributors: nimblepayments 3 Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, payment, gateway, tienda, pagos 3 Tags: ecommerce, e-commerce, store, sales, sell, shop, cart, checkout, payment, gateway, tienda, pagos, woo, woocommerce 4 4 Requires at least: 4.0 5 5 Tested up to: 4.4.2 … … 39 39 3. Activar el plugin en la ventana de 'Plugins' dentro de WordPress. 40 40 4. Habilita la pasarela de pago Nimble Payments en la ruta WooCommerce > Ajustes > Finalizar compra > Nimble Payments. 41 5. Introduce el *API Client ID* y *Client Secret* que podrás obtener al registrarte en(https://www.nimblepayments.com).41 5. Introduce las credenciales *API Client ID* y *Client Secret* que podrás obtener al registrarte en [https://www.nimblepayments.com](https://www.nimblepayments.com). 42 42 43 43 == Screenshots == … … 46 46 2. Método de pago que verán los clientes. 47 47 3. Ventana del TPV. 48 49 == Changelog == 50 51 = 1.0.6 = 52 * Corregido el error que impedía la actualización del estado del pedido para clientes registrados durante el proceso de compra. 53 * Añadida funcionalidad para enviar notificación por email. 54 * Otras correcciones menores. 55 56 == Upgrade Notice == 57 58 = 1.0.6 = 59 Actualización importante. La versión 1.0.6 contiene nuevas funcionalidades y corrige errores que afectan a la visualización de datos.
Note: See TracChangeset
for help on using the changeset viewer.