Exemplo n.º 1
0
 case "merchant-calculation-callback":
     //      if (MODULE_PAYMENT_GOOGLECHECKOUT_MULTISOCKET == 'True') {
     //        include_once ($curr_dir . '/googlecheckout/multisocket.php');
     //        process_merchant_calculation_callback($Gresponse, 2.7, false);
     //        break;
     //      }
     //    }
     //  case "merchant-calculation-callback-single" :
     //    {
     // 			set_time_limit(5);
     //process_merchant_calculation_callback_single($Gresponse);
     getLog('store.response.log')->log(print_r('5', true), Zend_Log::DEBUG);
     break;
 case "new-order-notification":
     getLog('store.response.log')->log(print_r('6', true), Zend_Log::DEBUG);
     process_new_order_notification($response);
     break;
 case "order-state-change-notification":
     getLog('store.response.log')->log(print_r('7', true), Zend_Log::DEBUG);
     process_order_state_change_notification($response);
     break;
 case "charge-amount-notification":
     getLog('store.response.log')->log(print_r('8', true), Zend_Log::DEBUG);
     process_charge_amount_notification($response);
     break;
 case "chargeback-amount-notification":
     getLog('store.response.log')->log(print_r('9', true), Zend_Log::DEBUG);
     // process_chargeback_amount_notification($Gresponse);
     break;
 case "refund-amount-notification":
     getLog('store.response.log')->log(print_r('19', true), Zend_Log::DEBUG);
Exemplo n.º 2
0
     // TODO(eddavisson): If we re-activate this, need to move to new configuration system.
 // TODO(eddavisson): Why are these commented out?
 // TODO(eddavisson): If we re-activate this, need to move to new configuration system.
 case "merchant-calculation-callback":
     //  if (MODULE_PAYMENT_GOOGLECHECKOUT_MULTISOCKET == 'True') {
     //    include_once ($curr_dir . '/googlecheckout/multisocket.php');
     //    process_merchant_calculation_callback($google_response, 2.7, false);
     //    break;
     //  }
     //}
     //case "merchant-calculation-callback-single" : {
     //  set_time_limit(5);
     process_merchant_calculation_callback_single($google_response);
     break;
 case "new-order-notification":
     process_new_order_notification($google_response, $google_checkout);
     break;
 case "order-state-change-notification":
     process_order_state_change_notification($google_response, $google_checkout);
     break;
 case "charge-amount-notification":
     process_charge_amount_notification($google_response, $google_checkout);
     break;
 case "chargeback-amount-notification":
     process_chargeback_amount_notification($google_response);
     break;
 case "refund-amount-notification":
     process_refund_amount_notification($google_response, $google_checkout);
     break;
 case "risk-information-notification":
     process_risk_information_notification($google_response, $google_checkout);