Changeset 2921651
- Timestamp:
- 06/05/2023 12:49:06 PM (3 years ago)
- Location:
- paylink/trunk
- Files:
-
- 2 edited
-
paylink.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
paylink/trunk/paylink.php
r2900368 r2921651 3 3 * Plugin Name: Paylink 4 4 * Description: Use this woocommerce payment gateway plugin to enable clients of your store to pay using Paylink gateway. 5 * Version: 2.0 15 * Version: 2.02 6 6 * Author: Paylink Co 7 7 * text-domain: paylink … … 130 130 parent::process_admin_options(); 131 131 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'); 133 134 $this->display_errors(); 134 135 } … … 409 410 wc_add_notice($msg['message'], $msg['class']); 410 411 } 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'); 412 414 $woocommerce->set_messages(); 413 415 } … … 415 417 } catch (Exception $ex) { 416 418 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'); 418 421 $woocommerce->set_messages(); 419 422 } -
paylink/trunk/readme.txt
r2900368 r2921651 2 2 Contributors: Paylink 3 3 Requires at least: 5.5.1 4 Tested up to: 6.2 5 Stable tag: 2.0 14 Tested up to: 6.2.2 5 Stable tag: 2.02 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 It provides your customers with the popular payment methods in the Kingdom of Saudi Arabia, such as Mada, Visa, MasterCard, and Apple Pay. 14 14 15 For more information, please visit https:// paylink.sa15 For more information, please visit https://developer.paylink.sa
Note: See TracChangeset
for help on using the changeset viewer.