Changeset 3042950
- Timestamp:
- 02/29/2024 08:30:20 AM (2 years ago)
- Location:
- wc-smartpay/trunk
- Files:
-
- 3 edited
-
README.md (modified) (1 diff)
-
includes/class-smartpay-payment-gateway.php (modified) (3 diffs)
-
smartpay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-smartpay/trunk/README.md
r3040769 r3042950 1 1 === SmartPay for WooCommerce === 2 Stable tag: 1.0. 72 Stable tag: 1.0.8 3 3 Tested up to: 6.4 4 4 License: GPLv2 or later -
wc-smartpay/trunk/includes/class-smartpay-payment-gateway.php
r3040769 r3042950 65 65 add_action( 'woocommerce_thankyou_' . self::METHOD_CODE, array( SmartPay_Iframe_Redirect_Renderer::class, 'render' ), 1, 1 ); 66 66 67 if ( class_exists( 'WC_Subscriptions_Order' ) ) { 67 if ( class_exists( 'WC_Subscriptions_Order' ) 68 && !defined( 'SMARTPAY_SUBSCRIPTION_HANDLER_DEFINED' ) 69 ) { 68 70 add_action( 69 71 'woocommerce_scheduled_subscription_payment_' . $this->id, … … 72 74 2 73 75 ); 76 define( 'SMARTPAY_SUBSCRIPTION_HANDLER_DEFINED', true ); 74 77 } 75 78 } … … 372 375 */ 373 376 public function process_subscription( $amount_to_charge, $renewal_order ) { 377 378 SmartPay_Logger::instance()->log( 379 $renewal_order->get_id(), 380 'RENEWAL START', 381 'Starting renewal creation' 382 ); 383 374 384 $this->payment_processor()->capture( $renewal_order, $amount_to_charge ); 375 385 } -
wc-smartpay/trunk/smartpay.php
r3040769 r3042950 4 4 * Plugin URI: https://smartpay.co.il/ 5 5 * Description: SmartPay payment plugin for WooCommerce 6 * Version: 1.0. 76 * Version: 1.0.8 7 7 * Author: SmartPay 8 8 * License: GPLv2 or later … … 15 15 defined( 'ABSPATH' ) || exit; 16 16 17 define( 'SMARTPAY_VERSION', '1.0. 7' );17 define( 'SMARTPAY_VERSION', '1.0.8' ); 18 18 19 19 if ( ! defined( 'SMARTPAY_PLUGIN_FILE' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.