Index: trunk/extensions/DonationInterface/payflowpro_gateway/payflowpro_gateway.body.php |
— | — | @@ -766,7 +766,7 @@ |
767 | 767 | function fnPayflowDisplayApprovedResults( $data, $responseArray, $responseMsg ) { |
768 | 768 | require_once( 'includes/countryCodes.inc' ); |
769 | 769 | |
770 | | - global $wgOut, $wgThankYouPage; |
| 770 | + global $wgOut, $wgExternalThankYouPage; |
771 | 771 | $transaction = ''; |
772 | 772 | $tracked = ''; |
773 | 773 | |
— | — | @@ -784,8 +784,8 @@ |
785 | 785 | // hook to call stomp functions |
786 | 786 | wfRunHooks( 'gwStomp', array( &$transaction ) ); |
787 | 787 | |
788 | | - if ( $wgExternalThankYou ) { |
789 | | - $wgOut->redirect( $wgThankYouPage . $data[language] ); |
| 788 | + if ( $wgExternalThankYouPage ) { |
| 789 | + $wgOut->redirect( $wgExternalThankYouPage . "/" . $data[language] ); |
790 | 790 | } else { |
791 | 791 | // display response message |
792 | 792 | $wgOut->addHTML( '<h3 class="response_message">' . $responseMsg . '</h3>' ); |