Changeset 2576356
- Timestamp:
- 08/02/2021 10:19:28 AM (4 years ago)
- Location:
- best2pay-payment-method-visamastercard
- Files:
-
- 3 edited
-
best2pay-payment_method.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
trunk/best2pay-payment_method.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
best2pay-payment-method-visamastercard/best2pay-payment_method.php
r2576337 r2576356 18 18 * Plugin URI: http://best2pay.net/ 19 19 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing 20 * Version: 1.1. 220 * Version: 1.1.3 21 21 * Author: Best2Pay 22 22 * Tested up to: 5.7.1 … … 408 408 $log = fopen($this->getLogFileName(), 'a+') or die("logging trouble"); 409 409 $date = date("d.m.y H:i:s"); 410 $msg = "\n" .$date . "\t" . $message;410 $msg = $date . "\t" . $message; 411 411 if ($details) { 412 412 $msg .= "\n" . print_r($details, true); 413 413 } 414 $msg .= "\n\n\n"; 415 fprintf($log, chr(0xEF).chr(0xBB).chr(0xBF)); 414 416 fwrite($log, $msg); 415 417 fclose($log); … … 421 423 return 'b2p_log_' . $signature . '.txt'; 422 424 } 425 423 426 424 427 } // class -
best2pay-payment-method-visamastercard/readme.txt
r2576337 r2576356 5 5 Requires at least: 4.7 6 6 Requires PHP: 7.0 7 Stable tag: 1.1. 27 Stable tag: 1.1.3 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
best2pay-payment-method-visamastercard/trunk/best2pay-payment_method.php
r2576337 r2576356 1 1 <?php 2 2 /* 3 This program is free software; you can redistribute it and/or modify4 it under the terms of the GNU General Public License, version 2, as5 published by the Free Software Foundation.6 7 This program is distributed in the hope that it will be useful,8 but WITHOUT ANY WARRANTY; without even the implied warranty of9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the10 GNU General Public License for more details.11 12 You should have received a copy of the GNU General Public License13 along with this program; if not, write to the Free Software14 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA3 This program is free software; you can redistribute it and/or modify 4 it under the terms of the GNU General Public License, version 2, as 5 published by the Free Software Foundation. 6 7 This program is distributed in the hope that it will be useful, 8 but WITHOUT ANY WARRANTY; without even the implied warranty of 9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 GNU General Public License for more details. 11 12 You should have received a copy of the GNU General Public License 13 along with this program; if not, write to the Free Software 14 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 15 15 */ 16 16 /** … … 18 18 * Plugin URI: http://best2pay.net/ 19 19 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing 20 * Version: 1.1. 220 * Version: 1.1.3 21 21 * Author: Best2Pay 22 22 * Tested up to: 5.7.1 … … 408 408 $log = fopen($this->getLogFileName(), 'a+') or die("logging trouble"); 409 409 $date = date("d.m.y H:i:s"); 410 $msg = "\n" .$date . "\t" . $message;410 $msg = $date . "\t" . $message; 411 411 if ($details) { 412 412 $msg .= "\n" . print_r($details, true); 413 413 } 414 $msg .= "\n\n\n"; 415 fprintf($log, chr(0xEF).chr(0xBB).chr(0xBF)); 414 416 fwrite($log, $msg); 415 417 fclose($log); … … 421 423 return 'b2p_log_' . $signature . '.txt'; 422 424 } 425 423 426 424 427 } // class
Note: See TracChangeset
for help on using the changeset viewer.