Plugin Directory

Changeset 2921651


Ignore:
Timestamp:
06/05/2023 12:49:06 PM (3 years ago)
Author:
hasanayoub
Message:

Updatee libraries

Location:
paylink/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • paylink/trunk/paylink.php

    r2900368 r2921651  
    33 * Plugin Name: Paylink
    44 * Description: Use this woocommerce payment gateway plugin to enable clients of your store to pay using Paylink gateway.
    5  * Version: 2.01
     5 * Version: 2.02
    66 * Author: Paylink Co
    77 * text-domain: paylink
     
    130130            parent::process_admin_options();
    131131            if ($this->settings['is_testing_env'] == 'yes' || $this->settings['is_testing_env'] == 'on') {
    132                 $this->add_error(__("<span style='color:red;font-weight: bold'>You are using the testing environment</span>. Please use the testing credentials, <b>APP ID: APP_ID_1123453311</b>, <b>Secret Key: 0662abb5-13c7-38ab-cd12-236e58f43766</b>", 'paylink'));
     132//                $this->add_error(__("<span style='color:red;font-weight: bold'>You are using the testing environment</span>. Please use the testing credentials, <b>APP ID: APP_ID_1123453311</b>, <b>Secret Key: 0662abb5-13c7-38ab-cd12-236e58f43766</b>", 'paylink'));
     133                $this->wc_add_notice(__("<span style='color:red;font-weight: bold'>You are using the testing environment</span>. Please use the testing credentials, <b>APP ID: APP_ID_1123453311</b>, <b>Secret Key: 0662abb5-13c7-38ab-cd12-236e58f43766</b>", 'paylink'), 'error');
    133134                $this->display_errors();
    134135            }
     
    409410                            wc_add_notice($msg['message'], $msg['class']);
    410411                        } else {
    411                             $woocommerce->add_error(esc_html($msg['message']));
     412//                            $woocommerce->add_error(esc_html($msg['message']));
     413                            $woocommerce->wc_add_notice($msg['message'], 'error');
    412414                            $woocommerce->set_messages();
    413415                        }
     
    415417                } catch (Exception $ex) {
    416418                    error_log(print_r($ex, true));
    417                     $woocommerce->add_error('Internal Server Error. Try Again Please.');
     419//                    $woocommerce->add_error('Internal Server Error. Try Again Please.');
     420                    $woocommerce->wc_add_notice('Internal Server Error. Try Again Please.', 'error');
    418421                    $woocommerce->set_messages();
    419422                }
  • paylink/trunk/readme.txt

    r2900368 r2921651  
    22Contributors: Paylink
    33Requires at least: 5.5.1
    4 Tested up to: 6.2
    5 Stable tag: 2.01
     4Tested up to: 6.2.2
     5Stable tag: 2.02
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313It provides your customers with the popular payment methods in the Kingdom of Saudi Arabia, such as Mada, Visa, MasterCard, and Apple Pay.
    1414
    15 For more information, please visit https://paylink.sa
     15For more information, please visit https://developer.paylink.sa
Note: See TracChangeset for help on using the changeset viewer.