Changeset 2780662
- Timestamp:
- 09/06/2022 11:56:25 AM (4 years ago)
- Location:
- cryptocurrency-payment-gateway/trunk
- Files:
-
- 7 edited
-
admin/class-cw-setup-wizard.php (modified) (2 diffs)
-
changelog (modified) (1 diff)
-
cryptocurrency-payment-gateway.php (modified) (3 diffs)
-
includes/processing/blockexplorerapis/class-cw-block-explorer-api-blockchair.php (modified) (1 diff)
-
includes/processing/class-cw-block-explorer-processing.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cryptocurrency-payment-gateway/trunk/admin/class-cw-setup-wizard.php
r2765711 r2780662 442 442 $template_path_filter = 'cw_setup_wizard_head_template_path'; 443 443 444 c w_get_template( $template_path, $template_path_filter );444 cryptowoo_get_template( $template_path, $template_path_filter ); 445 445 } 446 446 … … 453 453 $template_path_filter = 'cw_setup_wizard_content_template_path'; 454 454 455 c w_get_template( $template_path, $template_path_filter );455 cryptowoo_get_template( $template_path, $template_path_filter ); 456 456 } 457 457 } -
cryptocurrency-payment-gateway/trunk/changelog
r2765711 r2780662 1 = 1.4.2 2022-09-06 = 2 WordPress tested up to 6.0.2 3 WooCommerce tested up to 6.8.2 4 Fix error on uninstall 5 Add currency name to fatal payment processing api error for better debugging 6 Improved blockchair processing api payment detection 7 Rename cw_get_template to fix possible function name conflicts 8 1 9 = 1.4.1 2022-08-03 = 2 10 Do not redirect to Setup Wizard for existing users -
cryptocurrency-payment-gateway/trunk/cryptocurrency-payment-gateway.php
r2765711 r2780662 7 7 * Plugin URI: https://www.cryptowoo.com/ 8 8 * Description: Digital Currency Payment Gateway for WooCommerce 9 * Version: 1.4. 19 * Version: 1.4.2 10 10 * Author: CryptoWoo AS 11 11 * Author URI: https://www.cryptowoo.com … … 45 45 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 46 46 */ 47 define( 'CWOO_VERSION', '1.4. 1' );47 define( 'CWOO_VERSION', '1.4.2' ); 48 48 define( 'CWOO_FILE', 'cryptocurrency-payment-gateway/cryptocurrency-payment-gateway.php' ); 49 49 define( 'CWOO_PLUGIN_PATH', plugins_url( basename( plugin_dir_path( __FILE__ ) ), basename( __FILE__ ) ) . '/' ); … … 2006 2006 * @return void 2007 2007 */ 2008 function c w_get_template( $template_path, $filter ) {2008 function cryptowoo_get_template( $template_path, $filter ) { 2009 2009 $base_path = '/cryptocurrency-payment-gateway/'; 2010 2010 $templates_path = 'templates/'; -
cryptocurrency-payment-gateway/trunk/includes/processing/blockexplorerapis/class-cw-block-explorer-api-blockchair.php
r2703842 r2780662 196 196 protected function format_result_from_block_explorer( $block_explorer_data ) { 197 197 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} ) ) { 200 201 // 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 ) { 202 203 $tx->{$this->get_tx_address_key_name()} = $this->get_current_address(); 203 204 } 204 return $block_explorer_data->{$ this->get_current_address()};205 return $block_explorer_data->{$current_address_lowercase}; 205 206 } 206 207 return $block_explorer_data; -
cryptocurrency-payment-gateway/trunk/includes/processing/class-cw-block-explorer-processing.php
r2744382 r2780662 156 156 157 157 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. 159 159 We could not retrieve information about incoming transactions from any of the block explorer APIs. 160 160 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"; 162 162 do_action( 'cryptowoo_api_error', $email_body ); 163 163 CW_AdminMain::cryptowoo_log_data( 0, __FUNCTION__, $status, 'error' ); -
cryptocurrency-payment-gateway/trunk/readme.txt
r2765711 r2780662 3 3 Tags: bitcoin, bitcoincash, litecoin, dogecoin, cryptocurrency, gateway, woocommerce 4 4 Requires at least: 4.7 5 Tested up to: 6.0. 16 Stable tag: 1.4. 15 Tested up to: 6.0.2 6 Stable tag: 1.4.2 7 7 Requires PHP: 7.1 8 8 License: GPLv2 or later … … 92 92 == Changelog == 93 93 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 94 102 = 1.4.1 = 95 103 * Do not redirect to Setup Wizard for existing users -
cryptocurrency-payment-gateway/trunk/uninstall.php
r2634120 r2780662 7 7 8 8 // Must be required for the cw_get_option function to exist. 9 require_once plugin_dir_path( __FILE__ ) . '/crypto woo.php';9 require_once plugin_dir_path( __FILE__ ) . '/cryptocurrency-payment-gateway.php'; 10 10 11 11 global $wpdb;
Note: See TracChangeset
for help on using the changeset viewer.