About 33,566 results: "php method_exists"
Page 12 of 50
Filter Results
Sources
Languages
Filter Results
Try Search On


















paypalwpp_admin_notification.php in daocart http://daocart.googlecode.com/svn/trunk/ | 409 lines | PHP
  1. 
                        
  2.   if (method_exists($this, '_doRefund')) {
  3.     $output .= $outputPFmain;
  4.     if (method_exists($this, '_doVoid') && (MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYFLOW_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputVoid;
  5.     if (method_exists($this, '_doCapt') && (MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYFLOW_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputCapt;
  6.     if (method_exists($this, '_doRefund')) $output .= $outputRefund;
  7.   } else {  // PayPal
  8.       $output .= $outputStartBlock;
  9.       if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
  10.       if (method_exists($this, '_doAuth') && MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') $output .= $outputAuth;
  11.       if (method_exists($this, '_doCapt') && MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only') $output .= $outputCapt;
  12.       if (method_exists($this, '_doVoid')) $output .= $outputVoid;
  13.     } else {
  14.       if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
  15.       if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') $output .= $outputVoid;
  16.     }

paypalwpp_admin_notification.php in goldcat http://goldcat.googlecode.com/svn/ | 425 lines | PHP
  1. 
                        
  2.   if (method_exists($this, '_doRefund')) {
  3.     $output .= $outputPFmain;
  4.     if (method_exists($this, '_doVoid') && (MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYFLOW_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputVoid;
  5.     if (method_exists($this, '_doCapt') && (MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYFLOW_TRANSACTION_MODE == 'Auth Only' || (isset($_GET['authcapt']) && $_GET['authcapt']=='on'))) $output .= $outputCapt;
  6.     if (method_exists($this, '_doRefund')) $output .= $outputRefund;
  7.   } else {  // PayPal
  8.       if ($response['TRANSACTION_TYPE'] == 'Authorization' || (in_array($response['TRANSACTIONTYPE'], array('cart','expresscheckout','webaccept') ) && $response['PAYMENTTYPE'] == 'instant' && $response['PENDINGREASON'] == 'authorization') || (isset($_GET['authcapt']) && $_GET['authcapt']=='on')) {
  9.         if (method_exists($this, '_doRefund') && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp')) $output .= $outputRefund;
  10.         if (method_exists($this, '_doAuth') && (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only')) $output .= $outputAuth;
  11.         if (method_exists($this, '_doCapt') && (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only' || MODULE_PAYMENT_PAYPALDP_TRANSACTION_MODE == 'Auth Only')) $output .= $outputCapt;
  12.         if (method_exists($this, '_doVoid')) $output .= $outputVoid;
  13.       } else {
  14.         if (method_exists($this, '_doRefund') /* && ($response['PAYMENTTYPE'] != 'instant' || $module == 'paypaldp') */) $output .= $outputRefund;
  15.         if (method_exists($this, '_doVoid') && $response['PAYMENTTYPE'] == 'instant' && $response['PAYMENTSTATUS'] != 'Voided' && $module != 'paypaldp') $output .= $outputVoid;
  16.       }

Back to Top