Plugin Directory

Changeset 3196137


Ignore:
Timestamp:
11/25/2024 07:10:15 AM (16 months ago)
Author:
locbt
Message:

fix webhook confirm

Location:
payos/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • payos/trunk/classes/class-payos.php

    r3194865 r3196137  
    786786                throw new Exception(strval($body['desc']), intval($body['code']));
    787787            }
     788            if ($is_test_webhook) {
     789                echo esc_html__('Webhook delivered successfully', 'payos');
     790                die();
     791            }
    788792            $transaction = $body['data'];
    789793            $order_code = $transaction['orderCode'];
     
    802806                }
    803807                throw new Exception(__('Data not integrity', 'payos'));
    804             }
    805             if ($is_test_webhook) {
    806                 echo esc_html__('Webhook delivered successfully', 'payos');
    807                 die();
    808808            }
    809809            // ---------------------------------------------------------
  • payos/trunk/payos.php

    r3194865 r3196137  
    1010 * Requires Plugins: woocommerce
    1111 * Domain Path: /languages
    12  * Version: 1.0.6
     12 * Version: 1.0.61
    1313 * Tested up to: 6.6
    1414 * License: GNU General Public License v3.0
     
    1717
    1818defined('ABSPATH') or exit;
    19 define('PAYOS_GATEWAY_VERSION', '1.0.6');
     19define('PAYOS_GATEWAY_VERSION', '1.0.61');
    2020define('PAYOS_GATEWAY_URL', untrailingslashit(plugins_url(basename(plugin_dir_path(__FILE__)), basename(__FILE__))));
    2121define('PAYOS_GATEWAY_PATH', untrailingslashit(plugin_dir_path(__FILE__)));
  • payos/trunk/readme.txt

    r3194865 r3196137  
    55Requires at least: 4.7
    66Tested up to: 6.6
    7 Stable tag: 1.0.6
    8 Version: 1.0.6
     7Stable tag: 1.0.61
     8Version: 1.0.61
    99Requires PHP: 7.0
    1010License: GNU General Public License v3.0
Note: See TracChangeset for help on using the changeset viewer.