Changeset 2338153
- Timestamp:
- 07/09/2020 03:24:50 PM (6 years ago)
- Location:
- ezcount/trunk
- Files:
-
- 2 edited
-
EZcount.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ezcount/trunk/EZcount.php
r2329330 r2338153 4 4 * Plugin URI: 5 5 * Description: invoicing, clearing and paypal integration plugin. 6 * Version: 1.8. 16 * Version: 1.8.2 7 7 * Author: EZcount 8 8 * Author URI: … … 285 285 } 286 286 287 if (!WC()->session->has_session()){287 if ( ! WC()->session->has_session() ) { 288 288 $response = "WC session is not working, the plugin must have an open session to work, please consult your developer"; 289 289 290 return "data:,; $response"; 290 291 } … … 332 333 333 334 $secretTransactionId = WC()->session->get( 'transaction_id:' . $_GET['tab_id'] ); 334 // backward competability335 335 if ( ! $secretTransactionId ) { 336 $secretTransactionId = $order->get_transaction_id(); 337 } 338 if ( ! $secretTransactionId ) { 339 $msg = "Order ($order_id) transaction Id is empty, can't validate payment"; 336 $msg = "בעיה באישור הזמנה $order_id, לא הצלחנו לבצע אישור מול חברת האשראי לסליקה, ההזמנה נכנסה לhold אנא בדקו מול חברת האשראי האם הכסף נכנס. \n<br/> 337 Order ($order_id) transaction Id is empty, can't validate payment\n<br/>" . 338 json_encode( [ 339 'order_id' => $_GET['order_id'], 340 'tab_id' => $_GET['tab_id'], 341 'secretTransactionId' => $secretTransactionId, 342 '$_SERVER' => $_SERVER 343 ] ); 340 344 wp_mail( $this->user_email, 'Order transaction Id is empty, can\'t validate payment', $msg ); 341 345 echo "VALIDATION ERROR #1.5 לא הצלחנו לבצע אישור לסליקה, אבל יתכן והיא עברה, אנא צרו קשר עם בעל החנות"; -
ezcount/trunk/readme.txt
r2329330 r2338153 4 4 Tags : Invoicing and clearing for Woocommerce, by EasyCount. 5 5 Tested up to: 4.9.8 6 Version : 1.8. 16 Version : 1.8.2 7 7 Stable tag: trunk 8 8 Requires PHP: 5.4
Note: See TracChangeset
for help on using the changeset viewer.