Plugin Directory

Changeset 3206788


Ignore:
Timestamp:
12/12/2024 08:27:52 AM (16 months ago)
Author:
bayarcash
Message:

Fix bug

Location:
bayarcash-for-fluent-forms
Files:
469 added
3 edited

Legend:

Unmodified
Added
Removed
  • bayarcash-for-fluent-forms/trunk/bayarcash-for-fluent-forms.php

    r3206770 r3206788  
    44 * Plugin URI: https://bayarcash.com
    55 * Description: Bayarcash is a local Malaysia payment gateway that support FPX, Direct Debit, DuitNow QR, DuitNow Online Banking/Wallets, BNPL (SPayLater & Boost PayFlex) as well cross-border payment (Indonesia, Singapore & Thailand).
    6  * Version: 2.0.1
     6 * Version: 2.0.2
    77 * Author: Web Impian
    88 * Author URI: https://webimpian.com
  • bayarcash-for-fluent-forms/trunk/includes/class-purchase.php

    r3203750 r3206788  
    173173        ]);
    174174
    175         $bayarcash = new Bayarcash($option['personal_access_token']);
     175        $bayarcash = new Bayarcash(trim($option['personal_access_token']));
    176176
    177177        // Set sandbox mode if enabled
     
    646646
    647647        return array(
    648             // Credentials
     648            // Credentials - with trimming added
    649649            'sandbox_mode' => empty($options['enable-sandbox' . $postfix]) ? false : $options['enable-sandbox' . $postfix],
    650             'personal_access_token' => $options['personal-access-token' . $postfix],
    651             'portal_key' => $options['portal-key' . $postfix],
    652             'secret_key' => $options['api-secret-key' . $postfix],
     650            'personal_access_token' => trim($options['personal-access-token' . $postfix]),
     651            'portal_key' => trim($options['portal-key' . $postfix]),
     652            'secret_key' => trim($options['api-secret-key' . $postfix]),
    653653
    654654            // Payment Settings
    655             'payment_title' => empty($options['payment-title' . $postfix]) ? 'Bayarcash' : $options['payment-title' . $postfix]
     655            'payment_title' => empty($options['payment-title' . $postfix]) ? 'Bayarcash' : trim($options['payment-title' . $postfix])
    656656        );
    657657    }
  • bayarcash-for-fluent-forms/trunk/readme.txt

    r3206770 r3206788  
    55Tested up to: 6.7
    66Requires PHP: 7.4
    7 Stable tag: 2.0.1
     7Stable tag: 2.0.2
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8686== Changelog ==
    8787
     88= 2.0.2 =
     89* Resolved an issue causing errors when saving data with empty spaces
     90
     91= 2.0.1 =
     92* Added support for PHP 7.4
     93
     94
    8895= 2.0.0 =
    8996* Add multichannel support for each form
Note: See TracChangeset for help on using the changeset viewer.