Changeset 3063373
- Timestamp:
- 04/03/2024 07:51:32 AM (2 years ago)
- Location:
- woo-payping-gateway
- Files:
-
- 15 added
- 1 deleted
- 3 edited
-
tags/4.1.0 (deleted)
-
tags/4.3.0 (added)
-
tags/4.3.0/assets (added)
-
tags/4.3.0/assets/css (added)
-
tags/4.3.0/assets/css/style.css (added)
-
tags/4.3.0/assets/images (added)
-
tags/4.3.0/assets/images/logo.png (added)
-
tags/4.3.0/assets/js (added)
-
tags/4.3.0/assets/js/script-woo-vip.js (added)
-
tags/4.3.0/class-wc-gateway-payping.php (added)
-
tags/4.3.0/index.php (added)
-
tags/4.3.0/readme.txt (added)
-
tags/4.3.0/screenshot-1.png (added)
-
tags/4.3.0/screenshot-2.png (added)
-
trunk/assets/js/checkout.js (added)
-
trunk/class-block.php (added)
-
trunk/class-wc-gateway-payping.php (modified) (1 diff)
-
trunk/index.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-payping-gateway/trunk/class-wc-gateway-payping.php
r2947982 r3063373 162 162 163 163 $CallbackUrl = add_query_arg('wc_order', $order_id, WC()->api_request_url('WC_payping')); 164 165 164 $products = array(); 166 165 $order_items = $order->get_items(); -
woo-payping-gateway/trunk/index.php
r2944873 r3063373 2 2 /* 3 3 Plugin Name: Gateway for PayPing on WooCommerce 4 Version: 4. 3.04 Version: 4.4.0 5 5 Description: افزونه درگاه پرداخت پیپینگ برای ووکامرس 6 6 Plugin URI: https://www.payping.ir/ … … 50 50 } 51 51 require_once( WOO_GPPDIR . 'class-wc-gateway-payping.php' ); 52 //require_once( WOO_GPPDIR . 'block-support.php' ); 52 53 } 53 54 add_action('plugins_loaded', 'load_payping_woo_gateway', 0); 55 56 57 /** 58 * Custom function to declare compatibility with cart_checkout_blocks feature 59 */ 60 function declare_payping_cart_checkout_blocks_compatibility() { 61 // Check if the required class exists 62 if (class_exists('\Automattic\WooCommerce\Utilities\FeaturesUtil')) { 63 // Declare compatibility for 'cart_checkout_blocks' 64 \Automattic\WooCommerce\Utilities\FeaturesUtil::declare_compatibility('cart_checkout_blocks', __FILE__, true); 65 } 66 } 67 // Hook the custom function to the 'before_woocommerce_init' action 68 add_action('before_woocommerce_init', 'declare_payping_cart_checkout_blocks_compatibility'); 69 70 71 // Hook the custom function to the 'woocommerce_blocks_loaded' action 72 add_action( 'woocommerce_blocks_loaded', 'payping_register_order_approval_payment_method_type' ); 73 74 /** 75 * Custom function to register a payment method type 76 77 */ 78 function payping_register_order_approval_payment_method_type() { 79 // Check if the required class exists 80 if ( ! class_exists( 'Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType' ) ) { 81 return; 82 } 83 84 // Include the custom Blocks Checkout class 85 require_once plugin_dir_path(__FILE__) . 'class-block.php'; 86 87 // Hook the registration function to the 'woocommerce_blocks_payment_method_type_registration' action 88 add_action( 89 'woocommerce_blocks_payment_method_type_registration', 90 function( Automattic\WooCommerce\Blocks\Payments\PaymentMethodRegistry $payment_method_registry ) { 91 $payment_method_registry->register( new Payping_Gateway_Blocks ); 92 } 93 ); 94 } -
woo-payping-gateway/trunk/readme.txt
r3063369 r3063373 1 1 === Gateway for PayPing on WooCommerce === 2 Contributors: payping, hadihosseini, mahdisarani2 Contributors: payping, mahdisarani, hadihosseini 3 3 Tags: woocommerce, payment, payping, افزونه پرداخت, ووکامرس, ووکامرس فارسی, درگاه پرداخت, gateway, iran, persian, پی پینگ, pay ping 4 4 Donate link: https://payping.ir 5 5 Requires at least: 4.0.0 6 Tested up to: 6. 2.27 Requires PHP: 7. 0.08 Stable tag: 4. 3.06 Tested up to: 6.5 7 Requires PHP: 7.4.0 8 Stable tag: 4.4.0 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 13 13 14 14 == Description == 15 با استفاده از این افزونه فروشگاه خود را به در وازه آنلاین پرداخت بانکی متصل کنید.15 با استفاده از این افزونه فروشگاه خود را به درگاه آنلاین پرداخت بانکی متصل کنید. 16 16 17 17 == Installation == … … 21 21 22 22 == Changelog == 23 24 == 4.4.0 == 25 سازگاری با نسخه جدید ووکامرس و ویرایشگر بلوک. 23 26 24 27 == 4.3.0 ==
Note: See TracChangeset
for help on using the changeset viewer.