E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
against
buyer
check
checkout
choice
code
codes
course
data
database
depend
display
download
email
ensure
entered
example
feature
free
function
generated
involved
language
lines
link
login
mentioned
order
password
payer
php
post
processed
products
profile
script
send
server
software
store
stored
string
top
url
variable
| |
| |
|
nov181983 member Posts: 5 |
Does the "Send Free Code" feature feature the handshake mentioned on http://www.e-junkie.com/ej/help.keygen.htm or is that only for processed payments? * handshake - md5(your_e-junkie_login_email+md5(your-e-junkie-password)) <?php // You can use this variable to ensure that the data coming is from // E-junkie server. you can of course use any language of your choice. // Put these lines in top of your script to make sure that the data // you are getting is from e-junkie server. // If your e-junkie login email and password is known to someone // else, then this verification will be moot. if ($_POST['handshake']!==md5("your@login.email".md5("your_e- junkie_password"))) { exit; }else { // The code generation scheme will depend on the algorithm you // are using in your software to actually check the data. // It can be as simple as an MD5 hash of buyer's email, name and a secret word, // or something completely random which you store in your database so your // software would check the entered code against your DB. // It's up to you completely; this is just one example of what you might do: echo md5($_POST['payer_email']."some secret string"); } ?> * from_name - your display name in e-junkie profile * from_email - your display email in e-junkie profile # POSTED ON: March 16, 2011 @ 23:38 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 4345 |
The "Send free download link/code" function can only send a code for products using "Send Stored Codes". Since there is no actual checkout involved with that function, there is no order data to POST to a keygen URL, so that function will not work for "Send Generated Codes". # POSTED ON: March 17, 2011 @ 12:52 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






