Jump to content

Recommended Posts

ok, i have a paypal payment system, and to comfirm they have acutally paid i send a random number with paypal that is created before hand with rand(), the problem is if someone is wise and veiws the source it shows in the code for paypal that number and they can copy the link and skip paying. My question is how do i incript code so you cant view it from the source..... heres the code

 

<form action="XXXLINKXXX" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="legohead6@shaw.ca">
<input type="hidden" name="item_name" value="Filepile Extended Size">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="page_style" value="Primary">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value=<? echo "XXXLINKXXX"; ?>>
<input type="hidden" name="cancel_return" value="XXXLINKXXX">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="CAD">
<input type="hidden" name="lc" value="CA">
<input type="hidden" name="bn" value="PP-BuyNowBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_paynow_SM.gif" border="0" name="submit" alt="Click here to Pay with Paypal">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Link to comment
https://forums.phpfreaks.com/topic/89928-encripting-source-code/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.