Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | // The form was submitted and the payment method has been set |
49 | 49 | $this->adapter->log( "Form posted and payment method set." ); |
50 | 50 | // 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' ) ); |
52 | 52 | // If there were errors, redisplay form, otherwise proceed to next step |
53 | 53 | if ( $form_errors ) { |
54 | 54 | $this->displayForm( $data, $this->errors ); |
— | — | @@ -65,6 +65,7 @@ |
66 | 66 | $this->displayResultsForDebug( $result ); |
67 | 67 | } |
68 | 68 | } else { |
| 69 | + error_log("Not posted - showing for the first time"); |
69 | 70 | // Display form for the first time |
70 | 71 | $this->displayForm( $data, $this->errors ); |
71 | 72 | } |