Plugin Directory

Changeset 3385147


Ignore:
Timestamp:
10/27/2025 10:35:05 AM (5 months ago)
Author:
neebplugins
Message:

Release 4.3.0

Location:
wc-thanks-redirect
Files:
281 added
3 edited

Legend:

Unmodified
Added
Removed
  • wc-thanks-redirect/trunk/readme.txt

    r3370228 r3385147  
    77Requires at least: 6.2
    88Tested up to: 6.8
    9 Stable tag: 4.2.9
    10 Version: 4.2.9
     9Stable tag: 4.3.0
     10Version: 4.3.0
    1111Requires PHP: 7.4
    1212License: GPLv2 or later
     
    8585
    86867- URL Personalization **[order_number]**,**[billing_first_name]**,**[billing_last_name]**,**[billing_email]**
    87 In the “Thank You URL” field in the product? put like this https://site.com/thanks?client_email=[billing_email]
     87In the **“Thank You URL”** field in the product? put like this https://site.com/thanks?client_email=[billing_email]
    8888
    89898- Thank you page based on Payment Gateway
     
    200200== Changelog ==
    201201
     202**V 4.3.0**
     203Fix Missing File issue
     204WC Tested upto 10.3
     205
    202206**V 4.2.9**
    203207Package update
     
    302306== Upgrade Notice ==
    303307
    304 = 4.2.9 =
    305 Package update
     308= 4.3.0 =
     309Fix Missing File issue
  • wc-thanks-redirect/trunk/src/Modules/SandBoxPayment.php

    r3350251 r3385147  
    44 * @package     Thank You Page
    55 * @since       4.2.7
    6 */
     6 */
    77
    88namespace NeeBPlugins\Wctr\Modules;
     
    1919    public $instructions;
    2020
    21     /**
    22     * Init
    23     *
    24     * @since 4.2.7
    25     */
     21    /**
     22    * Init
     23    *
     24    * @since 4.2.7
     25    */
    2626    public function __construct() {
    2727        $this->id                 = 'sandboxpaymentgateway-wctr';
     
    5151    }
    5252
    53     /**
    54     * Init Form Fields
    55      *
    56     *  * @since 4.2.7
    57     */
     53    /**
     54    * Init Form Fields
     55     *
     56    *  * @since 4.2.7
     57    */
    5858    public function init_form_fields() {
    5959        $this->form_fields = array(
     
    9292    }
    9393
    94     /**
    95     * Output for the payment gateway.
    96     *
    97     * @access public
    98     */
     94    /**
     95    * Output for the payment gateway.
     96    *
     97    * @access public
     98    */
    9999    public function thankyou_page() {
    100100        if ( $this->instructions ) {
     
    103103    }
    104104
    105     /**
    106     * Add content to the WC emails.
    107     *
    108     * @access public
    109     * @param WC_Order $order
    110      * @param bool $sent_to_admin
    111      * @param bool $plain_text
    112     */
     105    /**
     106    * Add content to the WC emails.
     107    *
     108    * @access public
     109    * @param WC_Order $order
     110     * @param bool    $sent_to_admin
     111     * @param bool    $plain_text
     112    */
    113113    public function email_instructions( $order, $sent_to_admin, $plain_text = false ) { // phpcs:ignore
    114114        if ( $this->instructions && ! $sent_to_admin && $this->id === $order->get_payment_method() ) {
     
    117117    }
    118118
    119     /**
    120     * Process payment
    121     *
    122     * @since 4.2.7
    123     */
     119    /**
     120    * Process payment
     121    *
     122    * @since 4.2.7
     123    */
    124124    public function process_payment( $order_id ) {
    125125        if ( absint( $order_id ) > 0 ) {
     
    142142    }
    143143
    144     /**
    145     * Init Blocks integration
    146     *
    147     * @since 4.2.7
    148     */
     144    /**
     145    * Init Blocks integration
     146    *
     147    * @since 4.2.7
     148    */
    149149    public function init_blocks_integration() {
    150150        if ( ! class_exists( 'Automattic\WooCommerce\Blocks\Payments\Integrations\AbstractPaymentMethodType' ) ) {
     
    155155            'woocommerce_blocks_payment_method_type_registration',
    156156            function ( $registry ) {
    157                 if ( ! class_exists( __NAMESPACE__ . '\SandBoxPaymentBlocksSupport.php' ) ) {
    158                     require_once __DIR__ . '/SandBoxPaymentBlocksSupport.php';
     157                if ( ! class_exists( 'NeeBPlugins\\Wctr\\Compatibility\\SandBoxPaymentBlocksSupport' ) ) {
     158                    require_once WCTR_PLUGIN_DIR . 'src/Compatibility/SandBoxPaymentBlocksSupport.php';
    159159                }
    160160                $registry->register( new SandBoxPaymentBlocksSupport() );
  • wc-thanks-redirect/trunk/wc-thanks-redirect.php

    r3370216 r3385147  
    1111 * Plugin URI:        https://nitin247.com/plugin/wc-thanks-redirect/
    1212 * Description:       Thank You Page for WooCommerce allows adding Thank You Page or Thank You URL for WooCommerce Products for your Customers, now supports Order Details on Thank You Page. This plugin does not support Multisite.
    13  * Version:           4.2.9
     13 * Version:           4.3.0
    1414 * Author:            Nitin Prakash
    1515 * Author URI:        http://www.nitin247.com/
     
    2121 * Requires at least: 6.2
    2222 * WC requires at least: 8.2
    23  * WC tested up to: 10.2
     23 * WC tested up to: 10.3
    2424 */
    2525
Note: See TracChangeset for help on using the changeset viewer.