Changeset 3134520
- Timestamp:
- 08/13/2024 12:13:37 AM (19 months ago)
- Location:
- bangladeshi-payment-gateways
- Files:
-
- 12 edited
- 1 copied
-
tags/3.0.1 (copied) (copied from bangladeshi-payment-gateways/trunk)
-
tags/3.0.1/bd-payment-gateways.php (modified) (2 diffs)
-
tags/3.0.1/includes/BDPG_Gateway.php (modified) (4 diffs)
-
tags/3.0.1/readme.txt (modified) (3 diffs)
-
tags/3.0.1/vendor/autoload.php (modified) (1 diff)
-
tags/3.0.1/vendor/composer/autoload_real.php (modified) (5 diffs)
-
tags/3.0.1/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/bd-payment-gateways.php (modified) (2 diffs)
-
trunk/includes/BDPG_Gateway.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bangladeshi-payment-gateways/tags/3.0.1/bd-payment-gateways.php
r3133395 r3134520 10 10 * Plugin URI: https://ultradevs.com/products/wp-plugin/bangladeshi-payment-gateways/ 11 11 * Description: Bangladeshi Payment Gateways for WooCommerce. 12 * Version: 3.0. 012 * Version: 3.0.1 13 13 * Author: ultraDevs 14 14 * Author URI: https://ultradevs.com … … 23 23 24 24 // Constant. 25 define( 'BD_PAYMENT_GATEWAYS_VERSION', '3.0. 0' );25 define( 'BD_PAYMENT_GATEWAYS_VERSION', '3.0.1' ); 26 26 define( 'BD_PAYMENT_GATEWAYS_NAME', 'Bangladeshi Payment Gateways' ); 27 27 define( 'BD_PAYMENT_GATEWAYS_DIR_PATH', plugin_dir_path( __FILE__ ) ); -
bangladeshi-payment-gateways/tags/3.0.1/includes/BDPG_Gateway.php
r3133395 r3134520 123 123 $this->accounts = get_option( 'bdpg_' . $this->gateway . '_accounts', [] ); 124 124 125 125 126 add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) ); 126 127 add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'save_accounts' ) ); … … 133 134 134 135 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '_settings' ); 135 if ( isset( $settings['gateway_charge'] ) && 'yes' === $settings['gateway_charge'] ) { 136 137 if ( isset( $settings[ $this->gateway . '_charge' ] ) && 'yes' === $settings[ $this->gateway . '_charge' ] ) { 136 138 add_action( 'woocommerce_cart_calculate_fees', array( $this, 'charge_settings' ), 20, 1 ); 137 139 } … … 237 239 $symbol = get_woocommerce_currency_symbol(); 238 240 if ( get_woocommerce_currency() === 'USD' ){ 239 $total_payment = $this->dollar Rate * $woocommerce->cart->total;241 $total_payment = $this->dollar_rate * $woocommerce->cart->total; 240 242 $symbol = get_woocommerce_currency_symbol('BDT'); 241 243 } … … 566 568 public function charge_settings( $cart ) { 567 569 global $woocommerce; 568 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '__settings' ); 570 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '_settings' ); 571 569 572 570 573 $av_gateways = $woocommerce->payment_gateways->get_available_payment_gateways(); -
bangladeshi-payment-gateways/tags/3.0.1/readme.txt
r3133395 r3134520 5 5 Requires at least: 4.4 6 6 Tested up to: 6.6.1 7 Stable tag: 3.0. 08 Requires PHP: 5.67 Stable tag: 3.0.1 8 Requires PHP: 7.0.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 [youtube https://www.youtube.com/watch?v=ArJ-zOW1KBU] 33 34 35 ### Our Other Plugins. 36 [Easy Dropbox Integration For WordPress](https://wordpress.org/plugins/easy-dropbox-integration/) 37 [Random Image Block for Block Editor](https://wordpress.org/plugins/random-image-block-for-block-editor/) 38 [UltraEmbed – Advanced Iframe Plugin For WordPress with Gutenberg Block Included](https://wordpress.org/plugins/ultraembed-advanced-iframe/) 39 [TestimonialX – Testimonial Block For Gutenberg Block Editor with 15+ Stunning Styles](https://wordpress.org/plugins/testimonialx-block/) 40 33 41 34 42 ### Need Help? … … 79 87 80 88 == Changelog == 89 90 = 3.0.1 - 13/08/2024 = 91 *Fix: Gateway Fee Issue 92 *Fix: USD to BDT Conversion 81 93 82 94 = 3.0.0 - 10/08/2024 = -
bangladeshi-payment-gateways/tags/3.0.1/vendor/autoload.php
r3133395 r3134520 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7::getLoader();7 return ComposerAutoloaderInit256503202541482709d73def74969d9e::getLoader(); -
bangladeshi-payment-gateways/tags/3.0.1/vendor/composer/autoload_real.php
r3133395 r3134520 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd75 class ComposerAutoloaderInit256503202541482709d73def74969d9e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit256503202541482709d73def74969d9e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit256503202541482709d73def74969d9e', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit256503202541482709d73def74969d9e::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit256503202541482709d73def74969d9e::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire 4ba9b1f665448bbec7f2b4c3f8679bd7($fileIdentifier, $file);61 composerRequire256503202541482709d73def74969d9e($fileIdentifier, $file); 62 62 } 63 63 … … 71 71 * @return void 72 72 */ 73 function composerRequire 4ba9b1f665448bbec7f2b4c3f8679bd7($fileIdentifier, $file)73 function composerRequire256503202541482709d73def74969d9e($fileIdentifier, $file) 74 74 { 75 75 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
bangladeshi-payment-gateways/tags/3.0.1/vendor/composer/autoload_static.php
r3133395 r3134520 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd77 class ComposerStaticInit256503202541482709d73def74969d9e 8 8 { 9 9 public static $files = array ( … … 54 54 { 55 55 return \Closure::bind(function () use ($loader) { 56 $loader->prefixLengthsPsr4 = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$prefixLengthsPsr4;57 $loader->prefixDirsPsr4 = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$prefixDirsPsr4;58 $loader->classMap = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$classMap;56 $loader->prefixLengthsPsr4 = ComposerStaticInit256503202541482709d73def74969d9e::$prefixLengthsPsr4; 57 $loader->prefixDirsPsr4 = ComposerStaticInit256503202541482709d73def74969d9e::$prefixDirsPsr4; 58 $loader->classMap = ComposerStaticInit256503202541482709d73def74969d9e::$classMap; 59 59 60 60 }, null, ClassLoader::class); -
bangladeshi-payment-gateways/trunk/bd-payment-gateways.php
r3133395 r3134520 10 10 * Plugin URI: https://ultradevs.com/products/wp-plugin/bangladeshi-payment-gateways/ 11 11 * Description: Bangladeshi Payment Gateways for WooCommerce. 12 * Version: 3.0. 012 * Version: 3.0.1 13 13 * Author: ultraDevs 14 14 * Author URI: https://ultradevs.com … … 23 23 24 24 // Constant. 25 define( 'BD_PAYMENT_GATEWAYS_VERSION', '3.0. 0' );25 define( 'BD_PAYMENT_GATEWAYS_VERSION', '3.0.1' ); 26 26 define( 'BD_PAYMENT_GATEWAYS_NAME', 'Bangladeshi Payment Gateways' ); 27 27 define( 'BD_PAYMENT_GATEWAYS_DIR_PATH', plugin_dir_path( __FILE__ ) ); -
bangladeshi-payment-gateways/trunk/includes/BDPG_Gateway.php
r3133395 r3134520 123 123 $this->accounts = get_option( 'bdpg_' . $this->gateway . '_accounts', [] ); 124 124 125 125 126 add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'process_admin_options' ) ); 126 127 add_action( 'woocommerce_update_options_payment_gateways_' . $this->id, array( $this, 'save_accounts' ) ); … … 133 134 134 135 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '_settings' ); 135 if ( isset( $settings['gateway_charge'] ) && 'yes' === $settings['gateway_charge'] ) { 136 137 if ( isset( $settings[ $this->gateway . '_charge' ] ) && 'yes' === $settings[ $this->gateway . '_charge' ] ) { 136 138 add_action( 'woocommerce_cart_calculate_fees', array( $this, 'charge_settings' ), 20, 1 ); 137 139 } … … 237 239 $symbol = get_woocommerce_currency_symbol(); 238 240 if ( get_woocommerce_currency() === 'USD' ){ 239 $total_payment = $this->dollar Rate * $woocommerce->cart->total;241 $total_payment = $this->dollar_rate * $woocommerce->cart->total; 240 242 $symbol = get_woocommerce_currency_symbol('BDT'); 241 243 } … … 566 568 public function charge_settings( $cart ) { 567 569 global $woocommerce; 568 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '__settings' ); 570 $settings = get_option( 'woocommerce_woo_' . $this->gateway . '_settings' ); 571 569 572 570 573 $av_gateways = $woocommerce->payment_gateways->get_available_payment_gateways(); -
bangladeshi-payment-gateways/trunk/readme.txt
r3133395 r3134520 5 5 Requires at least: 4.4 6 6 Tested up to: 6.6.1 7 Stable tag: 3.0. 08 Requires PHP: 5.67 Stable tag: 3.0.1 8 Requires PHP: 7.0.0 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 [youtube https://www.youtube.com/watch?v=ArJ-zOW1KBU] 33 34 35 ### Our Other Plugins. 36 [Easy Dropbox Integration For WordPress](https://wordpress.org/plugins/easy-dropbox-integration/) 37 [Random Image Block for Block Editor](https://wordpress.org/plugins/random-image-block-for-block-editor/) 38 [UltraEmbed – Advanced Iframe Plugin For WordPress with Gutenberg Block Included](https://wordpress.org/plugins/ultraembed-advanced-iframe/) 39 [TestimonialX – Testimonial Block For Gutenberg Block Editor with 15+ Stunning Styles](https://wordpress.org/plugins/testimonialx-block/) 40 33 41 34 42 ### Need Help? … … 79 87 80 88 == Changelog == 89 90 = 3.0.1 - 13/08/2024 = 91 *Fix: Gateway Fee Issue 92 *Fix: USD to BDT Conversion 81 93 82 94 = 3.0.0 - 10/08/2024 = -
bangladeshi-payment-gateways/trunk/vendor/autoload.php
r3133395 r3134520 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7::getLoader();7 return ComposerAutoloaderInit256503202541482709d73def74969d9e::getLoader(); -
bangladeshi-payment-gateways/trunk/vendor/composer/autoload_real.php
r3133395 r3134520 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd75 class ComposerAutoloaderInit256503202541482709d73def74969d9e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit256503202541482709d73def74969d9e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 4ba9b1f665448bbec7f2b4c3f8679bd7', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit256503202541482709d73def74969d9e', 'loadClassLoader')); 30 30 31 31 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 33 33 require __DIR__ . '/autoload_static.php'; 34 34 35 call_user_func(\Composer\Autoload\ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::getInitializer($loader));35 call_user_func(\Composer\Autoload\ComposerStaticInit256503202541482709d73def74969d9e::getInitializer($loader)); 36 36 } else { 37 37 $map = require __DIR__ . '/autoload_namespaces.php'; … … 54 54 55 55 if ($useStaticLoader) { 56 $includeFiles = Composer\Autoload\ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$files;56 $includeFiles = Composer\Autoload\ComposerStaticInit256503202541482709d73def74969d9e::$files; 57 57 } else { 58 58 $includeFiles = require __DIR__ . '/autoload_files.php'; 59 59 } 60 60 foreach ($includeFiles as $fileIdentifier => $file) { 61 composerRequire 4ba9b1f665448bbec7f2b4c3f8679bd7($fileIdentifier, $file);61 composerRequire256503202541482709d73def74969d9e($fileIdentifier, $file); 62 62 } 63 63 … … 71 71 * @return void 72 72 */ 73 function composerRequire 4ba9b1f665448bbec7f2b4c3f8679bd7($fileIdentifier, $file)73 function composerRequire256503202541482709d73def74969d9e($fileIdentifier, $file) 74 74 { 75 75 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
bangladeshi-payment-gateways/trunk/vendor/composer/autoload_static.php
r3133395 r3134520 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd77 class ComposerStaticInit256503202541482709d73def74969d9e 8 8 { 9 9 public static $files = array ( … … 54 54 { 55 55 return \Closure::bind(function () use ($loader) { 56 $loader->prefixLengthsPsr4 = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$prefixLengthsPsr4;57 $loader->prefixDirsPsr4 = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$prefixDirsPsr4;58 $loader->classMap = ComposerStaticInit 4ba9b1f665448bbec7f2b4c3f8679bd7::$classMap;56 $loader->prefixLengthsPsr4 = ComposerStaticInit256503202541482709d73def74969d9e::$prefixLengthsPsr4; 57 $loader->prefixDirsPsr4 = ComposerStaticInit256503202541482709d73def74969d9e::$prefixDirsPsr4; 58 $loader->classMap = ComposerStaticInit256503202541482709d73def74969d9e::$classMap; 59 59 60 60 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.