Changeset 2697811
- Timestamp:
- 03/22/2022 03:58:24 PM (4 years ago)
- Location:
- switchpay-pagamentos/trunk
- Files:
-
- 3 edited
-
includes/SwitchPayGateway.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
switchpay-woocommerce.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
switchpay-pagamentos/trunk/includes/SwitchPayGateway.php
r2691693 r2697811 178 178 179 179 } 180 if ($response['tag'] == "T05") { 181 $order->update_status('failed', 'falhou'); 182 183 } 184 185 if ($response['tag'] == "T02" ) { 186 $order->update_status('failed', 'falhou'); 187 } 180 181 if ($response['tag'] == "T00") { 182 $order->update_status('failed', 'falhou'); 183 184 } 185 186 if ($response['tag'] == "T01") { 187 $order->update_status('failed', 'falhou'); 188 189 } 190 191 if ($response['tag'] == "T02") { 192 $order->update_status('failed', 'falhou'); 193 194 } 195 196 if ($response['tag'] == "T03") { 197 $order->update_status('failed', 'falhou'); 198 199 } 200 201 if ($response['tag'] == "T04") { 202 $order->update_status('failed', 'falhou'); 203 204 } 205 206 if ($response['tag'] == "T05") { 207 $order->update_status('failed', 'falhou'); 208 209 } 210 211 if ($response['tag'] == "T06") { 212 $order->update_status('failed', 'falhou'); 213 214 } 215 216 if ($response['tag'] == "T07") { 217 $order->update_status('failed', 'falhou'); 218 219 } 220 221 if ($response['tag'] == "T08") { 222 $order->update_status('failed', 'falhou'); 223 224 } 225 226 if ($response['tag'] == "T09") { 227 $order->update_status('failed', 'falhou'); 228 229 } 230 231 if ($response['tag'] == "T10") { 232 $order->update_status('failed', 'falhou'); 233 234 } 235 236 if ($response['tag'] == "T11") { 237 $order->update_status('failed', 'falhou'); 238 239 } 240 241 if ($response['tag'] == "T12") { 242 $order->update_status('failed', 'falhou'); 243 244 } 245 246 if ($response['tag'] == "T13") { 247 $order->update_status('failed', 'falhou'); 248 249 } 250 251 if ($response['tag'] == "T14") { 252 $order->update_status('failed', 'falhou'); 253 254 } 255 256 if ($response['tag'] == "T15") { 257 $order->update_status('failed', 'falhou'); 258 259 } 260 261 if ($response['error'] ) { 262 return array( 263 'result' => "error", 264 'redirect' => $this->get_return_url($order) 265 ); 266 } 267 188 268 if ($response['status'] == "succeeded" ){ 189 269 if ($payment == "credit") { -
switchpay-pagamentos/trunk/readme.txt
r2691693 r2697811 94 94 == Changelog == 95 95 96 = 1.0.5 - 2022/03/22 = 97 98 - Correções de bugs. 99 96 100 = 1.0.4 - 2022/03/09 = 97 101 … … 113 117 114 118 - Lançamento do plugin. 119 -
switchpay-pagamentos/trunk/switchpay-woocommerce.php
r2691693 r2697811 5 5 * Plugin URI: https://wordpress.org/plugins/switchpay-pagamentos 6 6 * Description: A SwitchPay é a melhor forma de receber pagamentos online na modalidade de cartão de crédito e boleto bancário, sendo possível o cliente fazer todo o pagamento sem sair da sua loja WooCommerce de forma rápida, fácil e prática! 7 * Version: 1.0. 47 * Version: 1.0.5 8 8 * Requires at least: 5.2 9 9 * Requires PHP: 7.2
Note: See TracChangeset
for help on using the changeset viewer.