Tag Cloud for this topic:
|
Code Generator
|
menno member Posts: 20 |
Hello,
I have a bit of a problem to get an automatic code generator going
I got a php script hosted on my own server
At E-junkie I enter the URL to this php file in the code generator file input field
I enabled template email
Then according to the helpfiles e-junkie is supposed to add the newly created username and password into the email sent to the customer.
It's this last part i don't get, how does e-junkie retrieve the created info from the php script on my server, and how does it somehow automatically put these details in the email send to the customer?
What I try to do is that the customer will receive one email from e-junkie with the download link + registration information + instructions
Thanks
Menno
# POSTED ON: November 14, 2007 @ 20:24 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
Menno,
The details are automatically included in the email only if you "do not" enable templated email. If you have enabled templated email then you are supposed to create a template with the template variables provided at http://www.e-junkie.com/ej/help.customization.php
# POSTED ON: November 14, 2007 @ 22:46 GMT -7
|
menno member Posts: 20 |
I obviously misread the "template instructions" I disabled the "templated email" and it's working, got an email with proper reg code, download link + instructions, just need to polish the email a bit.
Can you explain how this technically works, as I simply don't understand how you can get the reg info back?
Also eventually, I will move the php script in a more secure area on my host, need to read/learn a bit more about this, but it might be something that has restricted access, will this have an impact on e-junkie accesing and retrieving the data?
Thanks
Menno
# POSTED ON: November 15, 2007 @ 01:19 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
If you move the script to an inaccessible area, our server will not be able to access it. However, on our integration page you'll see we pass a "handshake" variable using which you can ensure that it's e-junkie which is calling your script.
As for how it works, well we take the transaction data, send it to the URL you have entered, read what your script writes out and send it to the buyer. Simple stuff really :)
# POSTED ON: November 15, 2007 @ 01:28 GMT -7
|
menno member Posts: 20 |
All going smoothly 2 small questions
1) How can I unselect a single product off the list of products that is advertised under
Try our other products: which becomes visible at the final download page. I can select a product, more then one products, but not unselect a single product, if only one product is selected in the list.
2) After the 4.5MB file has been downloaded it's somehow renamed from afssb.exe to kb.exe or something similar to that extend, it's not a filename i'm familar with but when i install the program it does install the right program though
Regards
Menno
# POSTED ON: November 15, 2007 @ 21:51 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
1. CTRL+CLICK
2. Downloaded file is named after the product name or the uploaded file name depending on what's smaller. If you are getting a totally random name, that's something weird goign on and please send a download link to customer support and it'll be checked out ASAP
# POSTED ON: November 15, 2007 @ 21:57 GMT -7
|
menno member Posts: 20 |
Sent two emails to
-- edited out by admin ---
They include screenprints which should explain where the odd name is originated from
Thanks
# POSTED ON: November 15, 2007 @ 22:37 GMT -7 MODIFIED ON: November 16, 2007 @ 14:14 GMT -7
|
menno member Posts: 20 |
Making good progress, am working on the handshake now.
Where exactly should I put the code that generates the keycode in the handshake script?
if ($_POST['handshake']!==md5("your@login.email".md5("your_e-
junkie_password"))) {
exit;
}else {
echo md5($_POST['payer_email']."some secret string");
}
?>
# POSTED ON: November 19, 2007 @ 20:34 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
take out the dummy line in else { } construct and replace with your actual code.
# POSTED ON: November 20, 2007 @ 01:53 GMT -7
|
menno member Posts: 20 |
Thanks that is done as well.
My last question. I also sell the 5 products in one single package deal.
I can add the downloads, and that works great, but how do I send the the 5 registration codes to the user as there is only one url that can be entered, when I select generated codes?
To do this must I create a new php script that generates the 5 codes at once, and put them in a single email. Same as with the individual products.
Thanks
Menno
# POSTED ON: November 27, 2007 @ 17:10 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
Yes, precisely.
# POSTED ON: November 27, 2007 @ 17:50 GMT -7
|
zawmn83 member Posts: 4 |
Hello
I'm selling Time Attendance software with license on number of employee. E.g Customer with 100 employees need to purchase 100 licenses. He can purchase more license later when he hire more employee.
So I want to ask the customer (whether he is new customer or not). If it is old customer, he need to enter Existing Registration Code and our system will not generate New Key for him. And system will update existing account in our SQL database.
My problem is to validate Existing Registration Code with our existing records in SQL database.
I mean the code, customer enter is valid or not before Add Cart.
I have server side code for this validation. But I don't know how to apply it in Add Cart click?
Please help
# POSTED ON: May 22, 2008 @ 09:47 GMT -7
|
Tyson_N E-Junkie Crew Posts: 281 |
# POSTED ON: May 22, 2008 @ 15:10 GMT -7
|
gwt member Posts: 1 |
Hi
When I try "send thank you email, download link, code", I receive the following email.
What is the html code in email? How can I remove it?
Dear Customer1,
Here is your registration key for ABCD Software:
GFK108CO6KQR5M2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" http://www.w3.org/1999/xhtml" >
<head><title>
Untitled Page
</title></head>
<body>
<form name="form1" method="post" action="EjunkieKeyGenerator.aspx" id="form1">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNzgzNDMwNTMzZGQ3W+nOUi7BIL5JLoaZMQonrAOP/g==" />
<div>
</div>
</form>
</body>
</html>
# POSTED ON: May 29, 2008 @ 04:31 GMT -7
|
E-junkieChef E-Junkie Crew Posts: 607 |
That is the output of your keygen. You should fix it so that the only thing it outputs is the code.
# POSTED ON: May 29, 2008 @ 13:02 GMT -7
|
|