Changeset 1184927
- Timestamp:
- 06/21/2015 06:35:20 AM (11 years ago)
- Location:
- wpf-woocommerce/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (2 diffs)
-
includes/class-wpf-woocommerce.php (modified) (5 diffs)
-
wpf-woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpf-woocommerce/trunk/README.txt
r1092082 r1184927 4 4 Donate link: https://wpfortify.com 5 5 Requires at least: 3.9 6 Tested up to: 4. 17 Stable tag: 2.6. 16 Tested up to: 4.2.2 7 Stable tag: 2.6.2 8 8 License: GPLv2+ 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 79 79 == Changelog == 80 80 81 = 2.6.2 = 82 * Fixed missing function error for WC()->wc_add_notice() 83 81 84 = 2.6.1 = 82 85 * Added MM / YY placeholder -
wpf-woocommerce/trunk/includes/class-wpf-woocommerce.php
r1092082 r1184927 361 361 $card_id = $card_ids[ $_POST['wpfortify_card'] ]['card_id']; 362 362 } else { 363 WC()->wc_add_notice( __( 'Invalid card.', 'wpf-woocommerce' ), 'error' );363 wc_add_notice( __( 'Invalid card.', 'wpf-woocommerce' ), 'error' ); 364 364 return; 365 365 } … … 436 436 437 437 if ( is_wp_error( $response ) ) { 438 WC()->wc_add_notice( $response->get_error_message(), 'error' );438 wc_add_notice( $response->get_error_message(), 'error' ); 439 439 return; 440 440 } … … 451 451 ); 452 452 } else { 453 WC()->wc_add_notice( __( 'There was a problem updating the order.', 'wpf-woocommerce' ), 'error' );453 wc_add_notice( __( 'There was a problem updating the order.', 'wpf-woocommerce' ), 'error' ); 454 454 return; 455 455 } … … 459 459 460 460 if ( is_wp_error( $response ) ) { 461 WC()->wc_add_notice( $response->get_error_message(), 'error' );461 wc_add_notice( $response->get_error_message(), 'error' ); 462 462 return; 463 463 } … … 587 587 echo $this->wpf_mask( array( 'status' => 'order_updated' ) ); 588 588 exit; 589 } else {590 echo $this->wpf_mask( array( 'error' => 'no order id' ) );591 exit;592 589 } 593 590 } -
wpf-woocommerce/trunk/wpf-woocommerce.php
r1092082 r1184927 4 4 Plugin URI: http://wordpress.org/plugins/wpf-woocommerce/ 5 5 Description: wpFortify provides a hosted SSL checkout page for Stripe payments. A free wpFortify account is required for this plugin to work. 6 Version: 2.6. 16 Version: 2.6.2 7 7 Author: wpFortify 8 8 Author URI: https://wpfortify.com … … 30 30 31 31 // Define 32 define( 'WPF_WC_GATEWAY_VERSION', '2.6. 1' );32 define( 'WPF_WC_GATEWAY_VERSION', '2.6.2' ); 33 33 define( 'WPF_WC_GATEWAY_TEMPLATE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) . '/templates/' ); 34 34 define( 'WPF_WC_GATEWAY_PLUGIN_URL', untrailingslashit( plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) ) );
Note: See TracChangeset
for help on using the changeset viewer.