1 Reply Latest reply on Oct 14, 2008 7:34 AM by Günter Schenk

    Online payment - checking if they have paid at login

      I have set up my site so people can pay via PayPal and I only want people who have had there user_has_paid field in my useraccounts table to be able to login to my site. I think I have to do this on my login form page but the user login transaction is un-editable.

      Please could you tell me how I can implement this.

      Thanks in advance for any help
        • 1. Re: Online payment - checking if they have paid at login
          Günter Schenk Level 4
          Hi Chris,

          off the top of my head I´d suggest to...

          a) add the DB column "user_has_paid" to ADDT´s list of session variables, and

          b) replace the regular contents of whatever page with an "you haven´t paid yet" message, in case the "user_has_paid" session variable equals "" respectively is not set.

          As far as I can see, adding such criteria to ADDT default "login" transaction will only by possible by extending the relevant parts of its "includes" library.

          Günter Schenk
          Adobe Community Expert, Dreamweaver