r100647 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r100646‎ | r100647 | r100648 >
Date:21:28, 24 October 2011
Author:khorn
Status:ok
Tags:fundraising 
Comment:
Changed the payflowpro_gateway_body to... not reference a function that no longer exists.
Modified paths:
  • /trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php
@@ -47,7 +47,7 @@
4848 // The form was submitted and the payment method has been set
4949 $this->adapter->log( "Form posted and payment method set." );
5050 // Check form for errors
51 - $form_errors = $this->fnValidateForm( $data, $this->errors );
 51+ $form_errors = $this->validateForm( $data, $this->errors, array( 'address', 'amount', 'creditCard', 'email', 'name' ) );
5252 // If there were errors, redisplay form, otherwise proceed to next step
5353 if ( $form_errors ) {
5454 $this->displayForm( $data, $this->errors );
@@ -65,6 +65,7 @@
6666 $this->displayResultsForDebug( $result );
6767 }
6868 } else {
 69+ error_log("Not posted - showing for the first time");
6970 // Display form for the first time
7071 $this->displayForm( $data, $this->errors );
7172 }

Status & tagging log