Plugin Directory

Changeset 2805886


Ignore:
Timestamp:
10/27/2022 01:47:47 PM (3 years ago)
Author:
squadco
Message:

fix: handle success

Location:
squad-payment-gateway/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • squad-payment-gateway/trunk/includes/class-wc-payment-gateway-squad.php

    r2803417 r2805886  
    541541
    542542                $transStatus = $squad_response->data->transaction_status;
    543                 $success = $transStatus == "Success" ? true : false;
     543                $success = strtolower($transStatus) == "success" ? true : false;
    544544
    545545                if ($success) {
     
    881881
    882882
    883         $this->logToFile('dsdsdsd');
    884883        if (!($this->public_key && $this->secret_key)) {
    885884            return false;
  • squad-payment-gateway/trunk/readme.txt

    r2803417 r2805886  
    88Tags: squad, woocommerce, payment, payment gateway, bank account, credit card, debit card, nigeria, international, mastercard, visa
    99Tested up to: 6.0.2
    10 Stable tag: 1.0.7
     10Stable tag: 1.0.8
    1111Requires PHP: 5.6
    1212License: MIT - see below
  • squad-payment-gateway/trunk/squad-payment-gateway.php

    r2803417 r2805886  
    77 * Author URI: http://squadco.com/
    88 * Description: Provides Seamless Payments with Multiple payment options.
    9  * Version: 1.0.7
     9 * Version: 1.0.8
    1010 * Tested up to: 6.0.2
    1111 * License: GPL2
Note: See TracChangeset for help on using the changeset viewer.