Plugin Directory

Changeset 3460559


Ignore:
Timestamp:
02/13/2026 07:51:50 AM (5 days ago)
Author:
knitpay
Message:

v1.5.7.0:
BA Book Everything: Added Support in Knit Pay Pro

Location:
knit-pay-pro/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • knit-pay-pro/trunk/knit-pay-pro.php

    r3446459 r3460559  
    55 * Description: Add support of many Knit Pay Premium addons on Pay as you go basis.
    66 *
    7  * Version: 1.5.6.1
     7 * Version: 1.5.7.0
    88 * Requires at least: 6.2
    99 * Requires PHP: 8.1
     
    2121 * @license   GPL-3.0-or-later
    2222 * @package   KnitPay
    23  * @copyright 2020-2024 Knit Pay
     23 * @copyright 2020-2026 Knit Pay
    2424 */
    2525
     
    312312        $gateways[] = new \KnitPay\Gateways\MercadoPago\Integration();
    313313
    314         if ( version_compare( KNITPAY_VERSION, '8.91', '>' ) ) {
    315             $gateways[] = new \KnitPay\Gateways\SumUp\Integration();
    316         }
    317 
    318         if ( version_compare( KNITPAY_VERSION, '8.93', '>' ) ) {
    319             $gateways[] = new \KnitPay\Gateways\HdfcSmartGateway\Integration();
    320         }
     314        $gateways[] = new \KnitPay\Gateways\SumUp\Integration();
     315
     316        $gateways[] = new \KnitPay\Gateways\HdfcSmartGateway\Integration();
    321317
    322318        if ( version_compare( KNITPAY_VERSION, '8.94.1', '>' ) ) {
     
    346342                        'order_id' => '{transaction_id}',
    347343                    ],
    348                     'omnipay_transaction_id_callback' => function( $response, $transaction_data ) {
     344                    'omnipay_transaction_id_callback' => function ( $response, $transaction_data ) {
    349345                        return $transaction_data['transactionId'];
    350346                    },
     
    369365                        'checkoutUrl' => '{payment_pay_redirect_url}',
    370366                    ],
    371                     'omnipay_transaction_id_callback' => function( $response ) {
     367                    'omnipay_transaction_id_callback' => function ( $response ) {
    372368                        return $response->getData()['data']['id'];
    373369                    },
    374                     'iframe_output_form'              => function( $payment, $config ) {
     370                    'iframe_output_form'              => function ( $payment, $config ) {
    375371                        $script = "<script src='https://cdn.paddle.com/paddle/v2/paddle.js'></script>" .
    376372                        "<script type='text/javascript'>" .
     
    410406        $integrations[] = new \KnitPay\Extensions\BooklyPro\Extension();
    411407        $integrations[] = new \KnitPay\Extensions\EventsManagerPro\Extension();
     408        $integrations[] = new \KnitPay\Extensions\FluentForms\Extension();
    412409        $integrations[] = new \Pronamic\WordPress\Pay\Extensions\FormidableForms\Extension();
    413410        $integrations[] = new \Pronamic\WordPress\Pay\Extensions\GravityForms\Extension();
     
    426423        $integrations[] = new \KnitPay\Extensions\WPForms\Extension();
    427424
    428         if ( version_compare( KNITPAY_VERSION, '8.92', '>' ) ) {
    429             $integrations[] = new \KnitPay\Extensions\FluentForms\Extension();
    430         }
    431 
    432         if (version_compare( KNITPAY_VERSION, '9.0', '>' ) ){
     425        if ( version_compare( KNITPAY_VERSION, '9.0', '>' ) ) {
    433426            $integrations[] = new \Pronamic\WordPress\Pay\Extensions\RestrictContent\Extension();
    434427        } else {
     
    436429        }
    437430
     431        if ( version_compare( KNITPAY_VERSION, '9.1', '>' ) ) {
     432            $integrations['ba-book-everything'] = new \KnitPay\Extensions\BaBookEverything\Extension();
     433        }
     434
    438435        return $integrations;
    439436    }
  • knit-pay-pro/trunk/readme.txt

    r3446459 r3460559  
    55Tested up to: 6.9
    66Requires PHP: 8.1
    7 Stable tag: 1.5.6.1
     7Stable tag: 1.5.7.0
    88License: GPL-3.0-or-later
    99
     
    3131* Flutterwave/Rave
    3232* Fygaro
    33 * GoUrl
    3433* HDFC Smart Gateway
    3534* ICICI Eazypay Payment Gateway
     
    7776
    7877* AWP Classifieds Plugin (AWPCP)
     78* BA Book Everything
    7979* BookingPress
    8080* Bookly Pro
Note: See TracChangeset for help on using the changeset viewer.