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!

How to integrate E-junkie with 3rd party and custom services? How can I have E-junkie post the order data to a URL on my site? What services is E-junkie pre-integrated with?

 

Integrating e-junkie with 3rd party and custom services
All the order data for each product in the order can be sent to script on your server in the background. To enable this behavior, check "Send payment data to my server" while adding or editing your product. Press NEXT/SUBMIT and enter the URL in Payment Variable Information URL field. All the order data will be sent to the URL you have specified for each product in the order individually.

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
    • quantityx - quantity sold
    • mc_gross_x - sale price for this product * quantity sold
    • 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_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 {
                  // you can do anything you want with the variables. i am just going to email them to myself to illustrate the point.
                  mail ("your@email.address.com","post from e-junkie", print_r($_POST,true));
            }

      ?>
    • 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
    • key - (if applicable) stored or generated registration key sent to the buyer
   
What services is E-junkie pre-integrated with?
For your convenience, E-junkie provides an interface which you can use to interface with your SwiftCD account, Aweber and do other things like sending email notifications to other email addresses. It is an open ended interface and you can specify a passthru URL where we can POST all the variables after our script is done.
  • SwiftCD
    If your product comes with a CD and you are using SwiftCD to deliver it, follow the steps below to let E-junkie send your account and product data to SwiftCD for each successful transaction.

    1. Check "Send payment data to my server" while adding or editing your product
    2. Enter your SwiftCD Item Number in the "Item number" field.
    3. Press the "Add Product" button if you are adding the product, or press the "Next" button if you are editing the product.
    4. In the Payment Variable Information URL field, please enter -
      http://www.e-junkie.com/ecom/o_plug.php?
      &swift_user=YOUR_SWIFTCD_USERNAME

      &packageid=YOUR_SWIFTCD_PACKAGE_ID
      &labelid=YOUR_SWIFTCD_LABEL_ID


      (all on the same line)
    5. Press "NEXT" button till you reach the button code screen.
    6. Use the BUY NOW or E-JUNKIE CART buttons code from this screen to start selling your product. If you were editing the product, use the new button code from this screen as it changes when you change the Item Number.


    NOTE: If your product uses our registration code system, the codes will be passed to SwiftCD automatically along with the other necessary product and transaction information.

  • Aweber
    Replace the value in the string below with the corresponding value of the parameters in the FORM code Aweber provides you and append the complete string to http://www.e-junkie.com/ecom/o_plug.php? while entering it in Payment Variable Information URL field
    &meta_web_form_id=value&meta_split_id=value&unit=value
    &meta_adtracking=value&meta_message=value
    &meta_forward_vars=value


    (all on the same line)

  • Multiple Emails
    Just append
    &m_emails=first@email.address,second@email.address
    ,third@email.address,fourth@email.address,
    fifth@email.address
    (all on the same line) to http://www.e-junkie.com/ecom/o_plug.php? while entering it in Payment Variable Information URL field and our script will send the E-junkie notification email to all the emails you specify (up to 5).

  • Passthru
    Just append &postto=http://www.yoursite.com/yourscript.ext to http://www.e-junkie.com/ecom/o_plug.php? (all on the same line) while entering it in Payment Variable Information URL field and our script will pass on the data to the URL you specify.

Note

 

You can pass a combination of all the parameters to o_plug.php to make it do multiple things.



This page added by E-junkieChef on July 16th, 2008 @ 5:38 pm GMT -7
Updated by Tyson_N on August 5th, 2008 @ 1:51 pm GMT -7
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