1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

need help with payment script on landing page

Discussion in 'HTML & JavaScript' started by bizilux, Dec 31, 2009.

  1. bizilux

    bizilux Senior Member

    Joined:
    Apr 19, 2009
    Messages:
    896
    Likes Received:
    231
    Occupation:
    IM
    Location:
    slovenia
    hi

    i want to make landing page, but i want to implant some "high tech" payment process

    with that i mean that when some1 will buy my ebook over the paypal button, and then when he hits "return to merchant" that every url will be different

    because i dont want to place my ebook on something like that

    www.google.com/thanks

    i want it to be like this www.google.com/bgsadwe2341

    :)



    so i have found good site backlink goldmine .com which i think uses this sistem

    and i have searched for page source a bit, and found out this

    that he has payment button setup like this
    Code:
    <a href='[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://www.backlinkgoldmine.com/?action=order&dc="]?action=order&dc=[/URL]'><img src="[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://www.backlinkgoldmine.com/images/orderbutton.jpg"]images/orderbutton.jpg[/URL]" /></a>
    
    then on backlink goldmine .com/?action=order&dc=

    he has this code

    Code:
    <!-- header.html sutomatically inserted here -->
    	<script> 
    	if(top!=self){ 
    		top.location=self.location 
    	} 
    	</script>
    	<p align=center>
    	<table width=100% height=100%>
    		<tr><td align=center valign=center>
    			<img src='[URL="http://www.blackhatworld.com/blackhat-seo/view-source:https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif"]https://www.paypal.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif[/URL]' border=0><br />
    			<table width=420px cellpadding=5 style='border: 1px solid black; font-size: 12px;'>
    				<tr><td>
    					<font face=verdana>
    					<p align=center>** FOR YOUR PROTECTION **<br />
    					You are being transferred to our 
    					<img src='[URL="http://www.blackhatworld.com/blackhat-seo/view-source:http://www.backlinkgoldmine.com/images/lock.png"]images/lock.png[/URL]' border=0> <b>SECURE PAYMENT PAGE</b></p>
    					<p>Remember to click <b>RETURN TO MERCHANT</b> after checkout to receive your 
    					download.</p>
    					</font>
    				</td></tr>
    			</table>
        	</td></tr>
    	</table>
    	</p>
    <!-- footer.html sutomatically inserted here -->
    	<form action="https://www.paypal.com/cgi-bin/webscr" method="post" id="paymentform">
    		<input type="hidden" name="cmd" value="_xclick">
    		<input type="hidden" name="no_shipping" value="1">
    		<input type="hidden" name="no_note" value="1">
    		<input type="hidden" name="shipping" value="0.00">
    		<input type="hidden" name="lc" value="US">
    		<input type="hidden" name="bn" value="PP-BuyNowBF">
    		<input type="hidden" name="rm" value="2">
    		<input type="hidden" name="business" value="[email protected]">
    		<input type="hidden" name="item_name" value="Backlink Goldmine">
    		<input type="hidden" name="item_number" value="BGM">
    		<input type="hidden" name="amount" value="37.00">
    		<input type="hidden" name="currency_code" value="USD">
    		<input type="hidden" name="notify_url" value="http://backlinkgoldmine.com/rap_admin/ipn.php">
    		<input type="hidden" name="return" value="http://backlinkgoldmine.com/?action=squeeze">
    		<input type="hidden" name="cancel_return" value="http://www.backlinkgoldmine.com/">
    		<input type="hidden" name="custom" 
    				value="RAP||0|213.172.232.121|||||backlinkgoldmine.com|/|salespage.html|">
    	</form>				<script language=javascript>
    					setTimeout('redir()', 5000);
    					function redir(){
    						document.getElementById('paymentform').submit();
    					}
    				</script>

    the trick in here is in this part

    Code:
    <input type="hidden" name="return" value="http://backlinkgoldmine.com/?action=squeeze"> 
    if i type in url address
    http://backlinkgoldmine.com/?action=squeeze i will go on page where it says please wait until paypal confirms your payment....and then i guess when they confirm you get redirected to download page



    so my question is, can i change all values inside this script to what i want to have?

    i just dont get what this 2 lines of code means

    Code:
    <input type="hidden" name="notify_url" value="http://backlinkgoldmine.com/rap_admin/ipn.php"> 
    Code:
    value="RAP||0|213.172.232.121|||||backlinkgoldmine.com|/|salespage.html|"> 


    help guys :D

    or if you can tell me where can i get some examples of these scripts so i can just implant them into my site?

    thanks
     
  2. cyberfox

    cyberfox BANNED BANNED

    Joined:
    Dec 29, 2009
    Messages:
    54
    Likes Received:
    2
    I can not understand what you exactly want to do ...!!!
    explain it better , so that we can help
     
  3. bizilux

    bizilux Senior Member

    Joined:
    Apr 19, 2009
    Messages:
    896
    Likes Received:
    231
    Occupation:
    IM
    Location:
    slovenia
    i need to protect EBOOK, so that link to download page will change often on autopilot...
     
  4. tukim

    tukim Regular Member

    Joined:
    Sep 20, 2009
    Messages:
    254
    Likes Received:
    173
    Location:
    localhost
    Last edited: Jan 17, 2010