Plugin Directory

Changeset 2780662


Ignore:
Timestamp:
09/06/2022 11:56:25 AM (4 years ago)
Author:
CryptoWoo
Message:

Updating to version 1.4.2

Location:
cryptocurrency-payment-gateway/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cryptocurrency-payment-gateway/trunk/admin/class-cw-setup-wizard.php

    r2765711 r2780662  
    442442        $template_path_filter = 'cw_setup_wizard_head_template_path';
    443443
    444         cw_get_template( $template_path, $template_path_filter );
     444        cryptowoo_get_template( $template_path, $template_path_filter );
    445445    }
    446446
     
    453453        $template_path_filter = 'cw_setup_wizard_content_template_path';
    454454
    455         cw_get_template( $template_path, $template_path_filter );
     455        cryptowoo_get_template( $template_path, $template_path_filter );
    456456    }
    457457}
  • cryptocurrency-payment-gateway/trunk/changelog

    r2765711 r2780662  
     1= 1.4.2 2022-09-06 =
     2WordPress tested up to 6.0.2
     3WooCommerce tested up to 6.8.2
     4Fix error on uninstall
     5Add currency name to fatal payment processing api error for better debugging
     6Improved blockchair processing api payment detection
     7Rename cw_get_template to fix possible function name conflicts
     8
    19= 1.4.1 2022-08-03 =
    210Do not redirect to Setup Wizard for existing users
  • cryptocurrency-payment-gateway/trunk/cryptocurrency-payment-gateway.php

    r2765711 r2780662  
    77 * Plugin URI: https://www.cryptowoo.com/
    88 * Description: Digital Currency Payment Gateway for WooCommerce
    9  * Version: 1.4.1
     9 * Version: 1.4.2
    1010 * Author: CryptoWoo AS
    1111 * Author URI: https://www.cryptowoo.com
     
    4545OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    4646 */
    47 define( 'CWOO_VERSION', '1.4.1' );
     47define( 'CWOO_VERSION', '1.4.2' );
    4848define( 'CWOO_FILE', 'cryptocurrency-payment-gateway/cryptocurrency-payment-gateway.php' );
    4949define( 'CWOO_PLUGIN_PATH', plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) . '/' );
     
    20062006 * @return void
    20072007 */
    2008 function cw_get_template( $template_path, $filter ) {
     2008function cryptowoo_get_template( $template_path, $filter ) {
    20092009    $base_path      = '/cryptocurrency-payment-gateway/';
    20102010    $templates_path = 'templates/';
  • cryptocurrency-payment-gateway/trunk/includes/processing/blockexplorerapis/class-cw-block-explorer-api-blockchair.php

    r2703842 r2780662  
    196196    protected function format_result_from_block_explorer( $block_explorer_data ) {
    197197        if ( isset( $block_explorer_data->{$this->get_getinfo_key_name()} ) ) {
    198             $block_explorer_data = $block_explorer_data->{$this->get_getinfo_key_name()};
    199             if ( isset( $block_explorer_data->{$this->get_current_address()} ) ) {
     198            $block_explorer_data       = $block_explorer_data->{$this->get_getinfo_key_name()};
     199            $current_address_lowercase = strtolower( $this->get_current_address() );
     200            if ( isset( $block_explorer_data->{$current_address_lowercase} ) ) {
    200201                // Add address to all txs data.
    201                 foreach ( $block_explorer_data->{$this->get_current_address()}->{$this->get_txs_key_name()} as & $tx ) {
     202                foreach ( $block_explorer_data->{$current_address_lowercase}->{$this->get_txs_key_name()} as & $tx ) {
    202203                    $tx->{$this->get_tx_address_key_name()} = $this->get_current_address();
    203204                }
    204                 return $block_explorer_data->{$this->get_current_address()};
     205                return $block_explorer_data->{$current_address_lowercase};
    205206            }
    206207            return $block_explorer_data;
  • cryptocurrency-payment-gateway/trunk/includes/processing/class-cw-block-explorer-processing.php

    r2744382 r2780662  
    156156
    157157        if ( false === strpos( $status, 'success' ) ) {
    158             $email_body = 'A fatal payment processing api error occurred.
     158            $email_body = "A fatal payment processing api error occurred for currency $batch_currency.
    159159             We could not retrieve information about incoming transactions from any of the block explorer APIs.
    160160             Please check with your hosting provider that your server meets the CryptoWoo requirements.
    161              Contact CryptoWoo support if you need assistance';
     161             Contact CryptoWoo support if you need assistance";
    162162            do_action( 'cryptowoo_api_error', $email_body );
    163163            CW_AdminMain::cryptowoo_log_data( 0, __FUNCTION__, $status, 'error' );
  • cryptocurrency-payment-gateway/trunk/readme.txt

    r2765711 r2780662  
    33Tags: bitcoin, bitcoincash, litecoin, dogecoin, cryptocurrency, gateway, woocommerce
    44Requires at least: 4.7
    5 Tested up to: 6.0.1
    6 Stable tag: 1.4.1
     5Tested up to: 6.0.2
     6Stable tag: 1.4.2
    77Requires PHP: 7.1
    88License: GPLv2 or later
     
    9292== Changelog ==
    9393
     94= 1.4.2 =
     95* WordPress tested up to 6.0.2
     96* WooCommerce tested up to 6.8.2
     97* Fix error on uninstall
     98* Add currency name to fatal payment processing api error for better debugging
     99* Improved blockchair processing api payment detection
     100* Rename cw_get_template to fix possible function name conflicts
     101
    94102= 1.4.1 =
    95103* Do not redirect to Setup Wizard for existing users
  • cryptocurrency-payment-gateway/trunk/uninstall.php

    r2634120 r2780662  
    77
    88// Must be required for the cw_get_option function to exist.
    9 require_once plugin_dir_path( __FILE__ ) . '/cryptowoo.php';
     9require_once plugin_dir_path( __FILE__ ) . '/cryptocurrency-payment-gateway.php';
    1010
    1111global $wpdb;
Note: See TracChangeset for help on using the changeset viewer.