Plugin Directory

Changeset 1414374


Ignore:
Timestamp:
05/11/2016 04:47:42 AM (10 years ago)
Author:
rossdev
Message:

Fixed a PHP Error Notice for $user_id that could cause orders updates to fail for guest checkout after payment has been received

Location:
wpf-woocommerce/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wpf-woocommerce/trunk/README.txt

    r1404169 r1414374  
    44Donate link: https://wpfortify.com
    55Requires at least: 3.9
    6 Tested up to: 4.5
    7 Stable tag: 2.6.5
     6Tested up to: 4.5.2
     7Stable tag: 2.6.6
    88License: GPLv2+
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 2.6.6 =
     82* Fixed a PHP Error Notice for $user_id that could cause orders updates to fail for guest checkout after payment has been received.
     83
    8184= 2.6.5 =
    8285* Changed the order description to use get_order_number() instead of the actual order ID
  • wpf-woocommerce/trunk/includes/class-wpf-woocommerce.php

    r1404169 r1414374  
    546546        $order = new WC_Order( $response->metadata->order_id );
    547547
    548         if ( $response->metadata->user_id && $response->card->customer ) {
     548        if ( isset( $response->metadata->user_id ) && $response->card->customer ) {
    549549            if ( $response->livemode ){
    550550                add_user_meta( $response->metadata->user_id, '_wpf_woocommerce_customer_id_live', $response->card->customer, true );
  • wpf-woocommerce/trunk/wpf-woocommerce.php

    r1404169 r1414374  
    44Plugin URI: http://wordpress.org/plugins/wpf-woocommerce/
    55Description: 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.5
     6Version: 2.6.6
    77Author: wpFortify
    88Author URI: https://wpfortify.com
     
    3030
    3131        // Define
    32         define( 'WPF_WC_GATEWAY_VERSION', '2.6.5' );
     32        define( 'WPF_WC_GATEWAY_VERSION', '2.6.6' );
    3333        define( 'WPF_WC_GATEWAY_TEMPLATE_PATH', untrailingslashit( plugin_dir_path( __FILE__ ) ) . '/templates/' );
    3434        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.