Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -161,17 +161,14 @@ |
162 | 162 | $this->paypalRedirect( $data ); |
163 | 163 | return; |
164 | 164 | } |
165 | | - |
166 | 165 | // dispatch forms/handling |
167 | 166 | if ( $token_match ) { |
168 | 167 | if ( $data['payment_method'] == 'processed' ) { |
169 | 168 | |
170 | 169 | // increase the count of attempts |
171 | 170 | ++$data['numAttempt']; |
172 | | - |
173 | 171 | // Check form for errors and redisplay with messages |
174 | 172 | $form_errors = $this->fnPayflowValidateForm( $data, $this->errors ); |
175 | | - |
176 | 173 | if ( $form_errors ) { |
177 | 174 | $this->fnPayflowDisplayForm( $data, $this->errors ); |
178 | 175 | } else { // The submitted form data is valid, so process it |
Index: trunk/extensions/DonationInterface/payflowpro_gateway/forms/rapidhtml/html/webitects_1.html |
— | — | @@ -163,7 +163,7 @@ |
164 | 164 | <input type="hidden" value="@amount" name="amount" /> |
165 | 165 | <input type="hidden" value="US" name="country" id="country" /> |
166 | 166 | |
167 | | - <input type="hidden" value="@currency_code" name="currency_code" /> |
| 167 | + <input type="hidden" value="@currency_code" name="currency" /> |
168 | 168 | <input type="hidden" value="@utm_source" name="utm_source"/> |
169 | 169 | <input type="hidden" value="@utm_medium" name="utm_medium"/> |
170 | 170 | <input type="hidden" value="@utm_campaign" name="utm_campaign"/> |
— | — | @@ -172,10 +172,10 @@ |
173 | 173 | <input type="hidden" value="@comment" name="comment"/> |
174 | 174 | <input type="hidden" value="@comment-option" name="comment-option"/> |
175 | 175 | <input type="hidden" value="@email-opt" name="email-opt"/> |
176 | | - <input type="hidden" value="@payment_method" name="payment_method"/> |
| 176 | + <input type="hidden" value="processed" name="payment_method"/> |
177 | 177 | <input type="hidden" value="@token" name="token"/> |
178 | 178 | <input type="hidden" value="@order_id" name="order_id"/> |
179 | | - <input type="hidden" value="@num_attempt" name="numAttempt"/> |
| 179 | + <input type="hidden" value="@numAttempt" name="numAttempt"/> |
180 | 180 | <input type="hidden" value="@contribution_tracking_id" name="contribution_tracking_id"/> |
181 | 181 | <input type="hidden" value="@data_hash" name="data_hash"/> |
182 | 182 | <input type="hidden" value="@owa_session" name="owa_session"/> |