? .DS_Store
? uc_payflowpro-d6-dev-1024934.patch
Index: includes/PayflowProRecurring.class.php
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_payflowpro/includes/PayflowProRecurring.class.php,v
retrieving revision 1.2.2.9
diff -u -p -r1.2.2.9 PayflowProRecurring.class.php
--- includes/PayflowProRecurring.class.php	5 Dec 2010 19:02:58 -0000	1.2.2.9
+++ includes/PayflowProRecurring.class.php	9 Feb 2011 00:09:04 -0000
@@ -137,7 +137,7 @@ class PayflowProRecurring {
    * Function to abstract the recurring functions methods
    * of the xml
    */
-  private function runInquiry($history = false) {
+  protected function runInquiry($history = false) {
     $profile_id = $this->getProfileID();
     $options = array();
 
@@ -224,13 +224,13 @@ class PayflowProRecurring {
     return $response;
   }
 
-  private function parsePFPResponse($response, $type = '') {
+  protected function parsePFPResponse($response, $type = '') {
   }
 
   function payflowproRecurringFactory($args = array()) {
   }
 
-  private function sendTransaction($xml_request) {
+  protected function sendTransaction($xml_request) {
 
     $xml_request = trim($xml_request);
 
@@ -247,7 +247,7 @@ class PayflowProRecurring {
   function findProfile() {
   }
 
-  private function profileWrap($action, $options = array()) {
+  protected function profileWrap($action, $options = array()) {
 
     if($options['id']) {
       $id_opt = ' ID=' . $options['id'];
@@ -260,7 +260,7 @@ class PayflowProRecurring {
     return $xml;
   }
 
-  private function getActionInquiry($history = false) {
+  protected function getActionInquiry($history = false) {
     if($history) {
       $xml = '<Inquiry>
                 <ProfileID>' . check_plain($this->getProfileID()) . '</ProfileID>
@@ -275,12 +275,12 @@ class PayflowProRecurring {
     return $xml;
   }
 
-  private function getCancelXML() {
+  protected function getCancelXML() {
     $xml = '<Cancel><ProfileID>' . check_plain($this->getProfileID()) . '</ProfileID></Cancel>';
     return $xml;
   }
 
-  private function getUpdateXML() {
+  protected function getUpdateXML() {
     // RPData is another param, and can be used to modify other info about the profile (not implemented yet).
     // Would need to use $this->update_items to build it, or something similar.
     $xml = '<Modify>' . $this->getTenderXML() . '<ProfileID>' . check_plain($this->getProfileID()) . '</ProfileID></Modify>';
@@ -291,7 +291,7 @@ class PayflowProRecurring {
    * Call this function to add someone.
    * The getRPDataXML is a HELPER function for this one.
    */
-  private function getAddXML($optional_tran = null) {
+  protected function getAddXML($optional_tran = null) {
     $xml = '';
     $xml = '<Add>' .
       $this->getTenderXML() .
@@ -304,7 +304,7 @@ class PayflowProRecurring {
    * Do NOT call this function directly. This is a helper function
    * to other functions.
    */
-  private function getRPDataXML($optional_tran = null) {
+  protected function getRPDataXML($optional_tran = null) {
     $optionstrans = '';
     if($optional_tran != null) {
       $optionstrans = '<OptionalTrans>Sale</OptionalTrans>
@@ -325,7 +325,7 @@ class PayflowProRecurring {
             '</RPData>';
     return $xml;
   }
-  private function getTenderXML() {
+  protected function getTenderXML() {
     $xml = '';
     $tender = $this->profile_tender;
     if($tender['CVNum']) {
@@ -589,7 +589,7 @@ class PayflowProRecurring {
     $date = strtotime(substr($date,0,2) . '/' . substr($date,2,2) . '/' . substr($date,4,4));
     return $date;
   }
-  private function getAddressXML($type) {
+  protected function getAddressXML($type) {
     if($type == 'billto') {
       $type = 'BillTo';
       $addy = $this->getBillTo();
@@ -634,7 +634,7 @@ class PayflowProRecurring {
    * - user
    * - password
    */
-  private function recurringXMLPayWrap($transaction) {
+  protected function recurringXMLPayWrap($transaction) {
      $auth = $this->auth;
      $vendor = $auth['vendor'];
      $partner = $auth['partner'];
