Pay to post RRS feed

  • Question

  • User1144008898 posted

     Hi,  I have two requests. I'm just a starting out.  So any help is much appreciated.

    1) I want to have people pay to post.  

    2) Records registered users IP address.


    Thanks in advance!

    Sunday, June 7, 2009 9:13 PM

All replies

  • User-1659704165 posted


    //*I want to have people pay to post. */

    Keep Sesison an Check if they are paid or Not if Not then,,

    Redirect To payment gateway example Paypal..


    /Tofind Ip Of user U may use follwing code..



    Private Function GetIPs() As StringCollection
     Dim localIP = New StringCollection()
     Dim localHostName = Dns.GetHostName()
     Dim hostEntry = Dns.GetHostEntry(localHostName)
     ' Grab all ip addesses.
     For Each ipAddr As IPAddress In hostEntry.AddressList
     GetIPs = localIP
    End Function




    Check the above link

    Monday, June 8, 2009 1:22 AM
  • User1144008898 posted


     I did some research on paying for posting.  First I want to say, I not good with coding and so any help is appreciated.

    I want to bounce this idea off the forum and see if my logic works or not.  This is what I have in mind.  In Postad.aspx file, I'll include my Finish button to handle the Google Checkout Buy Now button.  If other words, Finish would redirect the user to Google Check and once transaction is completed, list the ad.  Would this work?  Can someone help me with the coding if it does work or point me to a direction of a sample coding.

     Below is a sample codes for the Google Check out Buy Now button.

     Thanks in advance!


    <form method="POST"

      <input type="hidden" name="item_name_1" value="Peanut Butter"/>
      <input type="hidden" name="item_description_1" value="Chunky peanut butter."/>
      <input type="hidden" name="item_quantity_1" value="1"/>
      <input type="hidden" name="item_price_1" value="3.99"/>
      <input type="hidden" name="item_currency_1" value="USD"/>

      <input type="hidden" name="ship_method_name_1" value="UPS Ground"/>
      <input type="hidden" name="ship_method_price_1" value="10.99"/>
      <input type="hidden" name="ship_method_currency_1" value="USD"/>

      <input type="hidden" name="tax_rate" value="0.0875"/>
      <input type="hidden" name="tax_us_state" value="NY"/>

      <input type="hidden" name="_charset_"/>

      <input type="image" name="Google Checkout" alt="Fast checkout through Google"
    height="46" width="180"/>


    Tuesday, June 16, 2009 6:15 AM