Jump to content



Latest News: (loading..)

- - - - -

checkout_succes.php in CCGV contribution


  • Please log in to reply
No replies to this topic

#1   wokkie

wokkie
  • Members
  • 1 posts
  • Real Name:Bob Gray

Posted 16 April 2004 - 09:38 AM

Downloaded the latest version of the Credit Card Gift Voucher and tried to integrate it into a running site. Took about 8 hours to get it working on a slightly amended MS2 installation.

I notice this piece of code in lines 98-104 of the checkout_success.php that is distributed with the contribution.
"
          </tr>
        </table></td>
      </tr>
   if(tep_session_is_registered('credit_covers')) tep_session_unregister('credit_covers');
  $order_total_modules->clear_posts();//ICW ADDED FOR CREDIT CLASS SYSTEM    
      <tr>
"

That doesn't look valid even to me. Even adding in the php start and end blocks, it still gives errors, probably thru calling order total without declaring or including it somewhere, I guess.

cheers

Bob