Plugin Directory

Changeset 2869427


Ignore:
Timestamp:
02/22/2023 02:12:46 PM (3 years ago)
Author:
totalprocessing
Message:
  • Payment Status flow improvements - Status dynamically changed to Failed - Pending - success
  • Status notes enhancements
Location:
totalprocessing-card-payments
Files:
83 added
3 edited

Legend:

Unmodified
Added
Removed
  • totalprocessing-card-payments/trunk/includes/class-tp-payment-gateway.php

    r2865198 r2869427  
    15051505                        $order->add_order_note( $code, false );
    15061506                        $order->add_order_note( $description, false );
     1507                        $order->set_status('failed');
    15071508                        $order->save();
    15081509                        //decline reason..
     
    16481649        }
    16491650        $order_data = $order->get_data();
     1651        if( $order_data['status'] == 'failed' ){
     1652            $order->set_status( 'pending' );
     1653            $order->add_order_note( 'Payment retry attempt', false );
     1654            $order->save();
     1655            $order_data['status'] = 'pending';
     1656        }
    16501657        $handler = $this->orderStatusHandler($order_data['status'],$order);
    16511658        //reject the failed, cancelled on-hold & success
  • totalprocessing-card-payments/trunk/readme.txt

    r2865198 r2869427  
    44Requires at least: 5.2.0
    55Tested up to: 6.1.1
    6 Stable tag: 5.2.35
     6Stable tag: 5.2.36
    77Requires PHP: 7.0
    88License: GPLv3
     
    4848== Changelog ==
    4949
    50 = 4.2 - 02-25-2021 =
    51 
    52 * Updated Tags.
    53 
    54 == Changelog ==
    55 
    56 = 4.3 - 03-22-2021 =
    57 
    58 * Added Payment recheck function in case of empty response from API.
    59 * Updated Setup WIzard page
    60 
    61 = 4.4 - 04-14-2021 =
    62 
    63 * Updated Payment popup
    64 
    65 = 4.5.1 - 05-06-2021 =
    66 
    67 * Removal of payment modal
    68 * Stock control (holds stock for 5 minutes - if no successful payment, releases stock using wp_cron)
    69 * Correct order statuses (pending payment (transaction started), processing (payment complete), failed (failed validation or timed out and released stock))
    70 * Bug fixes
    71 * Prevention of blank API calls and reload on WooCommerce failed validation
    72 
    73 = 5.0 - 07-10-2021 =
    74 
    75 * Full restructure
    76 * Useage of window.postMessage() to avoid the need for redirect
    77 
    78 = 5.1 - 17-11-2021 =
    79 
    80 * Updated stored cards to drop cardholder name as length changes affect css positioning.
    81 * Updated admin validation of accessToken to adopt single and double equals.
     50= 5.2.36 - 22-02-2023 19:24 =
     51
     52* Payment Status flow improvements - Status dynamically changed to Failed - Pending - success
     53* Status notes enhancements
     54
     55= 5.2.29 - 22-06-2022 19:16 =
     56
     57* Reduced timeout time for API request
     58
     59= 5.2.28 - 14-06-2022 15:28 =
     60
     61* Added more data to debug log
     62* Added alert message for enduser in case transaction lookup timeout or fails
     63
     64= 5.2.27 - 12-06-2022 11:28 =
     65
     66* Added filter to exclude tp js assets from siteground minimification
     67
     68= 5.2.26 - 12-06-2022 10:50 =
     69
     70* Fixes for js script for minification compatibility
     71
     72= 5.2.25 - 12-06-2022 07:50 =
     73
     74* Fixes for jQuery Conflict while loading inputs and js version
     75
     76= 5.2.24 - 12-06-2022 07:40 =
     77
     78* Fixes for jQuery Conflict while loading inputs.
     79
     80= 5.2.23 - 10-06-2022 15:42 =
     81
     82* Fixes for saved cards syncs.
     83
     84= 5.2.22 - 10-06-2022 14:42 =
     85
     86* Fixes for event updated_checkout.
     87
     88= 5.2.21 - 04-06-2022 10:26 =
     89
     90* Added more debug log to get more info.
     91* Added Option to choose modal for TP Payment, default will be embed.
     92
     93= 5.2.20 - 02-06-2022 10:26 =
     94
     95* Added more debug log to get more info.
     96* Added Payment dupe cronjob to verify timedout payment responses
     97
     98= 5.2.19 - 01-06-2022 12:22 =
     99
     100* Added more debug log to get more info.
     101* Sending correct plugin version as Shooper_plugin for better tracking
     102* Added more notices if check fails but still payment done.
     103
     104= 5.2.18 - 30-05-2022 17:50 =
     105
     106* Added more debug log to get more info.
     107
     108= 5.2.17 - 30-05-2022 12:50 =
     109
     110* Added back count of last six month order count for better payment risk evaluation.
     111* Added debug lines to evaluate processing time parsing.
     112
     113= 5.2.16 - 24-05-2022 06:11 =
     114
     115* Improved UI for smaller view port.
     116* Added new control in design tab to manage fields margin-right
     117
     118= 5.2.15 - 05-05-2022 16:40 =
     119
     120* Clean Dashboard.
     121* Added new tab for deign elements
     122
     123= 5.2.14 - 15-04-2022 17:18 =
     124
     125* Enhanced syncing saved cards with better http calling.
     126
     127= 5.2.13 - 14-04-2022 14:18 =
     128
     129* Enhanced syncing saved cards.
     130
     131= 5.2.12 - 12-04-2022 11:16 =
     132
     133* Enhanced log system - with a backend tab.
     134
     135= 5.2.11 - 08-04-2022 14:40 =
     136
     137* fix for js missing function scroll_to_notices.
     138
     139= 5.2.10 - 06-04-2022 14:40 =
     140
     141* fix for saved card sync.
     142
     143= 5.2.9 - 30-03-2022 14:40 =
     144
     145* fix for layout for mobile.
     146
     147= 5.2.8 - 23-03-2022 18:15 =
     148
     149* fix for amount number format.
     150
     151= 5.2.7 - 16-03-2022 13:38 =
     152
     153* removed param AccountPurchaseCount for speed optimization while processing payment.
     154
     155= 5.2.6 - 16-03-2022 13:38 =
     156
     157* JS optimization.
     158
     159= 5.2.5 - 16-03-2022 13:38 =
     160
     161* Calling delayed js to properly propogate.
     162
     163= 5.2.4 - 16-03-2022 13:38 =
     164
     165* Server side debug log toggle.
     166* js varibale name change.
     167
     168= 5.2.3 - 15-03-2022 15:03 =
     169
     170* Plugin id to new version.
     171* Iframe autogeneration if missing.
     172* Setting data sync.
     173
     174= 5.2.1 - 15-03-2022 =
     175
     176* Plugin id back to previous version for better sync.
     177* Iframe autogeneration if missing.
    82178
    83179= 5.2 - 10-03-2022 =
     
    92188* New FAQ tab added.
    93189
    94 = 5.2.1 - 15-03-2022 =
    95 
    96 * Plugin id back to previous version for better sync.
    97 * Iframe autogeneration if missing.
    98 
    99 = 5.2.3 - 15-03-2022 15:03 =
    100 
    101 * Plugin id to new version.
    102 * Iframe autogeneration if missing.
    103 * Setting data sync.
    104 
    105 = 5.2.4 - 16-03-2022 13:38 =
    106 
    107 * Server side debug log toggle.
    108 * js varibale name change.
    109 
    110 = 5.2.5 - 16-03-2022 13:38 =
    111 
    112 * Calling delayed js to properly propogate.
    113 
    114 = 5.2.6 - 16-03-2022 13:38 =
    115 
    116 * JS optimization.
    117 
    118 = 5.2.7 - 16-03-2022 13:38 =
    119 
    120 * removed param AccountPurchaseCount for speed optimization while processing payment.
    121 
    122 = 5.2.8 - 23-03-2022 18:15 =
    123 
    124 * fix for amount number format.
    125 
    126 = 5.2.9 - 30-03-2022 14:40 =
    127 
    128 * fix for layout for mobile.
    129 
    130 = 5.2.10 - 06-04-2022 14:40 =
    131 
    132 * fix for saved card sync.
    133 
    134 = 5.2.11 - 08-04-2022 14:40 =
    135 
    136 * fix for js missing function scroll_to_notices.
    137 
    138 = 5.2.12 - 12-04-2022 11:16 =
    139 
    140 * Enhanced log system - with a backend tab.
    141 
    142 = 5.2.13 - 14-04-2022 14:18 =
    143 
    144 * Enhanced syncing saved cards.
    145 
    146 = 5.2.14 - 15-04-2022 17:18 =
    147 
    148 * Enhanced syncing saved cards with better http calling.
    149 
    150 = 5.2.15 - 05-05-2022 16:40 =
    151 
    152 * Clean Dashboard.
    153 * Added new tab for deign elements
    154 
    155 = 5.2.16 - 24-05-2022 06:11 =
    156 
    157 * Improved UI for smaller view port.
    158 * Added new control in design tab to manage fields margin-right
    159 
    160 = 5.2.17 - 30-05-2022 12:50 =
    161 
    162 * Added back count of last six month order count for better payment risk evaluation.
    163 * Added debug lines to evaluate processing time parsing.
    164 
    165 = 5.2.18 - 30-05-2022 17:50 =
    166 
    167 * Added more debug log to get more info.
    168 
    169 = 5.2.19 - 01-06-2022 12:22 =
    170 
    171 * Added more debug log to get more info.
    172 * Sending correct plugin version as Shooper_plugin for better tracking
    173 * Added more notices if check fails but still payment done.
    174 
    175 = 5.2.20 - 02-06-2022 10:26 =
    176 
    177 * Added more debug log to get more info.
    178 * Added Payment dupe cronjob to verify timedout payment responses
    179 
    180 = 5.2.21 - 04-06-2022 10:26 =
    181 
    182 * Added more debug log to get more info.
    183 * Added Option to choose modal for TP Payment, default will be embed.
    184 
    185 = 5.2.22 - 10-06-2022 14:42 =
    186 
    187 * Fixes for event updated_checkout.
    188 
    189 = 5.2.23 - 10-06-2022 15:42 =
    190 
    191 * Fixes for saved cards syncs.
    192 
    193 = 5.2.24 - 12-06-2022 07:40 =
    194 
    195 * Fixes for jQuery Conflict while loading inputs.
    196 
    197 = 5.2.25 - 12-06-2022 07:50 =
    198 
    199 * Fixes for jQuery Conflict while loading inputs and js version
    200 
    201 = 5.2.26 - 12-06-2022 10:50 =
    202 
    203 * Fixes for js script for minification compatibility
    204 
    205 = 5.2.27 - 12-06-2022 11:28 =
    206 
    207 * Added filter to exclude tp js assets from siteground minimification
    208 
    209 = 5.2.28 - 14-06-2022 15:28 =
    210 
    211 * Added more data to debug log
    212 * Added alert message for enduser in case transaction lookup timeout or fails
    213 
    214 = 5.2.29 - 22-06-2022 19:16 =
    215 
    216 * Reduced timeout time for API request
    217 
    218 = 5.2.30 - 09-02-2023 16:17 =
    219 
    220 * Better Logoing flow
    221 * Removed legacy endpoint from setting
    222 * Log download from admin dashboard
    223 * Saved card frontend flow changed
    224 
    225 = 5.2.31 - 09-02-2023 16:17 =
    226 
    227 * Better logging system
    228 * Removed legacy endpoint from setting
    229 * Log download from admin dashboard
    230 * Saved card frontend flow changed
    231 
    232 = 5.2.33 - 14-02-2023 17:47 =
    233 
    234 * Removing changes made in previous version
    235 
    236 = 5.2.34 - 14-02-2023 17:47 =
    237 
    238 * Bug related to Payment section froze after payment processed fixed
    239 
    240 = 5.2.35 - 14-02-2023 20:47 =
    241 
    242 * Rolled back to v 5.2.29-beta
    243 * Standing Instructions sending from frontend
     190= 5.1 - 17-11-2021 =
     191
     192* Updated stored cards to drop cardholder name as length changes affect css positioning.
     193* Updated admin validation of accessToken to adopt single and double equals.
     194
     195= 5.0 - 07-10-2021 =
     196
     197* Full restructure
     198* Useage of window.postMessage() to avoid the need for redirect
     199
     200= 4.5.1 - 05-06-2021 =
     201
     202* Removal of payment modal
     203* Stock control (holds stock for 5 minutes - if no successful payment, releases stock using wp_cron)
     204* Correct order statuses (pending payment (transaction started), processing (payment complete), failed (failed validation or timed out and released stock))
     205* Bug fixes
     206* Prevention of blank API calls and reload on WooCommerce failed validation
     207
     208= 4.4 - 04-14-2021 =
     209
     210* Updated Payment popup
     211
     212= 4.3 - 03-22-2021 =
     213
     214* Added Payment recheck function in case of empty response from API.
     215* Updated Setup WIzard page
     216
     217= 4.2 - 02-25-2021 =
     218
     219* Updated Tags.
     220
  • totalprocessing-card-payments/trunk/totalprocessing-card-payments-and-gateway-woocommerce.php

    r2865198 r2869427  
    1010 * Plugin URI:           https://www.totalprocessing.com/woocommerce/cards
    1111 * Description:          Accept all major credit and debit cards. Fast, seamless, and flexible.
    12  * Version:              5.2.35
     12 * Version:              5.2.36
    1313 * Author:               Total Processing Limited
    1414 * Copyright:            2022 Total Processing Limited.
Note: See TracChangeset for help on using the changeset viewer.