Changeset 2435416
- Timestamp:
- 12/09/2020 12:50:43 PM (5 years ago)
- Location:
- girocheckout/trunk
- Files:
-
- 12 edited
-
girocheckout.php (modified) (1 diff)
-
library/GiroCheckout_Utility.php (modified) (1 diff)
-
payments/gc_bluecode.php (modified) (1 diff)
-
payments/gc_creditcard.php (modified) (3 diffs)
-
payments/gc_directdebit.php (modified) (1 diff)
-
payments/gc_eps.php (modified) (1 diff)
-
payments/gc_giropay.php (modified) (1 diff)
-
payments/gc_ideal.php (modified) (2 diffs)
-
payments/gc_maestro.php (modified) (1 diff)
-
payments/gc_paydirekt.php (modified) (1 diff)
-
payments/gc_sofortuw.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
girocheckout/trunk/girocheckout.php
r2413329 r2435416 10 10 * Plugin Name: GiroCheckout 11 11 * Description: Plugin to integrate the GiroCheckout payment methods into WooCommerce. 12 * Version: 4.1. 012 * Version: 4.1.1 13 13 * Author: GiroSolution GmbH 14 14 * Author URI: http://www.girosolution.de -
girocheckout/trunk/library/GiroCheckout_Utility.php
r2413329 r2435416 19 19 */ 20 20 public static function getVersion() { 21 return '4.1. 0';21 return '4.1.1'; 22 22 } 23 23 -
girocheckout/trunk/payments/gc_bluecode.php
r2413329 r2435416 468 468 echo $notify->getNotifyResponseStringJson(); 469 469 exit; 470 } 471 else { 472 $order->update_status('failed'); 470 } else { 471 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 472 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 473 $order->update_status('failed'); 474 } 475 473 476 exit; 474 477 } -
girocheckout/trunk/payments/gc_creditcard.php
r2413329 r2435416 436 436 if ($order->get_status() != 'completed' && $order->get_status() != 'processing' && 437 437 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 438 439 438 // Checks if the payment was successful and redirects the user 440 439 $order->add_order_note($paymentMsg); … … 522 521 if (($order->get_status() == 'processing' || $order->get_status() == 'completed') && 523 522 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 524 525 523 $notify->sendOkStatus(); 526 524 $notify->setNotifyResponseParam('Result', 'ERROR'); … … 549 547 echo $notify->getNotifyResponseStringJson(); 550 548 exit; 551 } 552 else { 553 $order->update_status('failed'); 549 } else { 550 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 551 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 552 $order->update_status('failed'); 553 } 554 554 555 exit; 555 556 } -
girocheckout/trunk/payments/gc_directdebit.php
r2413329 r2435416 518 518 echo $notify->getNotifyResponseStringJson(); 519 519 exit; 520 } 521 else { 522 $order->update_status('failed'); 520 } else { 521 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 522 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 523 $order->update_status('failed'); 524 } 525 523 526 exit; 524 527 } -
girocheckout/trunk/payments/gc_eps.php
r2413329 r2435416 458 458 echo $notify->getNotifyResponseStringJson(); 459 459 exit; 460 } 461 else { 462 $order->update_status('failed'); 460 } else { 461 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 462 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 463 $order->update_status('failed'); 464 } 465 463 466 exit; 464 467 } -
girocheckout/trunk/payments/gc_giropay.php
r2413329 r2435416 471 471 echo $notify->getNotifyResponseStringJson(); 472 472 exit; 473 } 474 else { 475 $order->update_status('failed'); 473 } else { 474 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 475 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 476 $order->update_status('failed'); 477 } 478 476 479 exit; 477 480 } -
girocheckout/trunk/payments/gc_ideal.php
r2413329 r2435416 367 367 $urlRedirect = $this->get_return_url($order); 368 368 $statusNotificationOrder = GiroCheckout_Utility::readOrderStatus($notify->getResponseParam('gcMerchantTxId')); 369 error_log("Order Status:".$order->get_status().", notify:".print_r($notify,true));370 369 371 370 // If the status is initial (1) redirect run first, then set order status to redirect(2) … … 492 491 exit; 493 492 } else { 494 $order->update_status('failed'); 493 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 494 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 495 $order->update_status('failed'); 496 } 497 495 498 exit; 496 499 } -
girocheckout/trunk/payments/gc_maestro.php
r2413329 r2435416 469 469 exit; 470 470 } else { 471 $order->update_status('failed'); 471 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 472 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 473 $order->update_status('failed'); 474 } 475 472 476 exit; 473 477 } -
girocheckout/trunk/payments/gc_paydirekt.php
r2413329 r2435416 633 633 echo $notify->getNotifyResponseStringJson(); 634 634 exit; 635 } 636 else { 637 $order->update_status('failed'); 635 } else { 636 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 637 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 638 $order->update_status('failed'); 639 } 640 638 641 exit; 639 642 } -
girocheckout/trunk/payments/gc_sofortuw.php
r2413329 r2435416 458 458 echo $notify->getNotifyResponseStringJson(); 459 459 exit; 460 } 461 else { 462 $order->update_status('failed'); 460 } else { 461 if (($order->get_status() != 'processing' && $order->get_status() != 'completed') && 462 $statusNotificationOrder <= GiroCheckout_Utility::getOrderStatusInitial()) { 463 $order->update_status('failed'); 464 } 465 463 466 exit; 464 467 } -
girocheckout/trunk/readme.txt
r2413329 r2435416 54 54 55 55 == Changelog == 56 57 = 4.1.1 = 58 * Fixed a problem where a failed payment could prevent the order from allowing a consecutive successful payment attempt. 56 59 57 60 = 4.1.0 =
Note: See TracChangeset
for help on using the changeset viewer.