Plugin Directory

Changeset 3003216


Ignore:
Timestamp:
11/29/2023 10:49:51 AM (2 years ago)
Author:
woosms
Message:

3.0.4

Location:
woosms-sms-module-for-woocommerce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • woosms-sms-module-for-woocommerce/trunk/readme.txt

    r2999526 r3003216  
    160160
    161161== Changelog ==
     162= 3.0.4 =
     163* Order Payment Hook fix transaction_id type hint
    162164
    163165= 3.0.3 =
  • woosms-sms-module-for-woocommerce/trunk/src/Event/Helpers.php

    r2999526 r3003216  
    5858        {
    5959            wp_die('', 403);
     60           
     61            return false;
    6062        }
    6163
  • woosms-sms-module-for-woocommerce/trunk/src/Event/Hook.php

    r2995624 r3003216  
    6060
    6161
    62         add_action('woocommerce_payment_complete', Helpers::dispatch('order_payment', fn (Dispatcher $dispatcher, int $order_id, string $transaction_id) =>
     62        add_action('woocommerce_payment_complete', Helpers::dispatch('order_payment', fn (Dispatcher $dispatcher, int $order_id, /*string|int*/ $transaction_id) =>
    6363            $dispatcher->dispatch('order', 'payment', new Variables([
    6464                'order_id' => $order_id,
    65                 'order_payment_transaction_id' => $transaction_id
     65                'order_payment_transaction_id' => (string) $transaction_id
    6666            ]))
    6767        ), 100, 2);
  • woosms-sms-module-for-woocommerce/trunk/woosms-sms-module-for-woocommerce.php

    r2999526 r3003216  
    55 * Plugin URI: https://www.bulkgate.com/en/integrations/sms-plugin-for-woocommerce/
    66 * Description: Notify your customers about order status via SMS notifications.
    7  * Version: 3.0.3
     7 * Version: 3.0.4
    88 * Author: BulkGate
    99 * Author URI: https://www.bulkgate.com/
Note: See TracChangeset for help on using the changeset viewer.