E-junkie - We help you sell online
World Class Solution - Damon @ PayPal
Sell & promote your productsJoin affiliate programs offered by sellers Shop Community
home . login . register . pricing . features . help . faq . troubleshooting . client list . test our service
Notice Get E-junkie FREE simply for signing up and generating transactions through TrialPay!
help

How to sell stored codes (like phone cards) and generated codes (like software registration codes)?

 
Stored codes (like phone cards, discount coupons etc.)
While adding or editing your product in E-junkie Admin, you can check "Stored Codes" checkbox and press SUBMIT/NEXT button. Then you will be able to enter a list of codes in the PIN/Registration Codes field. Text on each line will be considered ONE code. For each order, n number of code(s) from this list will be removed ( n = quantity of the product ordered) and sent to the buyer. You can also customize your thank you page to display these codes to the buyer. When last 5 codes are left, E-junkie will send you a notification e-mail. If a sale happens while you are updating the code list, buyer will get the code from the existing list.
 

Codes generated by your online registration code generator based on order data.
If you have a web based code generator (like VBOlock), you can check the option "Generated codes" while adding or editing your product in E-junkie admin. You will need to enter the URL of your code generator in the "Generated Codes URL" field. All the order data will be sent to the URL you have specified for each product in the order individually.

The ONLY thing this URL should output is the code (HTTP headers are fine as our E-junkie will parse them out). Our system will then e-mail this code to your buyer.

E-junkie will send all the order data using POST to your URL only for successful completed payments. Currently, if E-junkie server is unable to reach your server, it will not retry.

  • Order Specific

    • payer_email
    • txn_id - transaction id of the payment. in some cases we add prefix to it (gc- for google checkout, au- for authorize.net, 2co- for 2checkout, cb- for clickbank and tp- for trialpay payments)
    • first_name
    • last_name
    • mc_gross - total amount of payment
    • custom - if you added &custom=someValue to the url in the shopping buttons you got from e-junkie
    • shipping
    • tax
    • invoice - unique invoice id that we generate
    • for_auction
    • auction_buyer_id
    • address_city
    • address_state
    • address_zip
    • address_country_code - 2 letter ISO country code

  • Item Specific

    • item_namex
    • item_numberx - item number you have set in product configuration
    • mc_gross_x - sale price for this product
    • option_name1_x - (if applicable) if you are using any options with your products, then this will contain first option's name
    • option_selection1_x - (if applicable) if you are using any options with your products, then this will contain first option's value that buyer selected
    • option_name2_x
    • option_selection2_x
    • option_name3_x
    • option_selection3_x
    • item_cart_position - this will be posted once per notification and will provide the position of the item for which this post is being done. essentially, this will provide you the value of x (see above) so you can pick the item name, number etc. for this particular item
    • sku - SKU of the item sold, only applicable if you configured price affecting variants in Admin

  • Following variables are also tagged along the order data we get from the payment processor

    • handshake - md5(your@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 code.
                  // 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 and make your software check the entered code against it. point being, it's up to you completely.

                  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
    • expiry_hours - (if applicable) maximum number of hours you allow your download links to be valid for in your product configuration
    • max_downloads - (if applicable) maximum downloads you allow in your product configuration

You can also customize your thank you page to display these codes to the buyer.

If your code generator does not generate text codes, but rather "binary key" files which need to be sent as an attachment, you should see the integration section in help. Our system will send the same variables to you without expecting an output. Your script can then generate and email the binary key file to buyer directly.

If you want the buyer to input a code which your script requires to generate the registration code, see the variants section in help.

about | contact | resell | terms of service | privacy policy © 2008 19.5 Degrees. All rights reserved.
Designated trademarks and brands are the property of their respective owners.
Use of this Web site constitutes acceptance of the Terms of Service and Privacy Policy.
PayPal Certified Integration Google Checkout Certified Integrattion 30 Day Money Back Guarantee