E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2013, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Mon, 15 Feb 2010 03:08:35 GMT Sat, 18 May 2013 10:52:52 GMT 681 E-JUNKIE 5 E-Junkie Forum http://www.e-junkie.com/bb/ http://www.e-junkie.com/ej/logo.gif 290 104 Post #11 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Mon, 15 Feb 2010 03:08:35 GMT
https://www.e-junkie.com/ecom/gb.php?c=cart&i=XXXXXX&cl=100779&ejc=2&on0=PageID&os0=12345

...where 12345 is an arbitrary, unique ID that references the real URL in a database at your end. Then when we POST the order data to the URL of your own custom keygen script after successful payment, your script would take the values for 'item_cart_position' and 'option_selection1_X' (where X='item_cart_position') and output the URL corresponding to the ID given in 'option_selection1_X'.]]>
E-junkie Discussions; E-junkieGuru
Post #10 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Fri, 12 Feb 2010 04:21:17 GMT
You might do this using our Send Generated Codes feature (where your "keygen" URL would actually output the URL rather than a serial key):

I understand the concept, but I am missing how exactly I can input the URL and output the code for the cart "page ID" value.
Here's my setup in a simplified version:
The cart button is on page:
site.com/productname.html

The URL of the page with the answer (the URL that needs to be hidden) is:
site.com/answer/productname.html

my cart code is:
PHP?>
echo "<a href=\"https://www.e-junkie.com/ecom/gb.php?c=cart&i=externalcart&cl=XXXXXX&ejc=2&on0=ID&os0=site.com/answer/productname.html\" target=\"ej_ejc\" class=\"ec_ejc_thkbx\" onClick=\"javascript:return EJEJC_lc(this);\"><img src=\"http://www.e-junkie.com/ej/ej_add_to_cart.gif\" border=\"0\" alt=\"Add to Cart\"/>Access</a>";

I have read everything about:....
Generator URL may look something like this:
http://www.e-junkie.com/ecom/o_plug.php?arm_level=23&arm_keytext=Secret+phrase+only+you+know

Could you help me to understand how I can use your build in generator
"You might do this using our Send Generated Codes feature (where your "keygen" URL would actually output the URL rather than a serial key)"
]]>
E-junkie Discussions; toby2
Post #9 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Fri, 12 Feb 2010 01:27:38 GMT toby2Thanks for your help.
The only problem now is actual URL is visible inside the shopping cart:

(PageID: URL.....)
which defeats the purpose. The URL that customer is purchasing contains the "answer".

Also, my URL's are quite long, over 2 lines, they actually break the cart display.

Is there any way to hide the URL or hash it somehow?

Can I use some PHP to "hide" and "unhide" the URL after payment?

That's why I suggested the option of using your own "page ID" value rather than the actual URL. Then you would need to pass that ID back to your system after payment, so your system could look up the URL for that ID and provide the URL to the buyer. You might do this using our Send Generated Codes feature (where your "keygen" URL would actually output the URL rather than a serial key):
http://www.e-junkie.com/ej/help.keygen.htm

If you'd be customizing the thank-you page to provide the URLs there, you might put something like this in the product's Message HTML field:
<a href="[%codes%]" target="_blank">Click here to access your page</a>

Our Integration feature could also work, but then you'd be responsible for providing the URL to buyers in your own way after your system receives the PageIDs:
http://www.e-junkie.com/ej/help.integration.htm]]>
E-junkie Discussions; E-junkieGuru
Post #8 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Thu, 11 Feb 2010 05:53:50 GMT --------
marqthompson]]>
E-junkie Discussions; marqthompson
Post #7 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Thu, 11 Feb 2010 00:42:45 GMT The only problem now is actual URL is visible inside the shopping cart:

(PageID: URL.....)
which defeats the purpose. The URL that customer is purchasing contains the "answer".

Also, my URL's are quite long, over 2 lines, they actually break the cart display.

Is there any way to hide the URL or hash it somehow?

Can I use some PHP to "hide" and "unhide" the URL after payment?]]>
E-junkie Discussions; toby2
Post #6 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Wed, 10 Feb 2010 22:50:32 GMT
You don't even need to set up Variations manually in Seller Admin; the Variations config screen is only used to auto-generate menus/fields in the button code we provide, but Variations will still work if you just add them to your code manually, even if you don't configure them in Admin nor even enable the Variations setting there. For instance, the scripting in your site could generate Add to Cart buttons like so:

<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=XXXXXX&cl=100779&ejc=2&on0=PageID&os0=PAGE-ID-GOES-HERE" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);"><img src="http://www.e-junkie.com/ej/ej_add_to_cart.gif" border="0" alt="Add to Cart"/></a>

...where XXXXXX is the product's Item Number from Seller Admin, and where your site's custom scripting would replace PAGE-ID-GOES-HERE in each button with the actual page URL/ID the buyer is ordering with that specific button.]]>
E-junkie Discussions; E-junkieGuru
Post #5 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Mon, 8 Feb 2010 15:13:25 GMT My site has hundreds of pages with very specific information, buyers purchase the access (URL link) to these pages. Which method can I use that will allow me to sell multiple items per order?

Right now my script appends the %custom% variable as the page URL and they can purchase one item, but as I understand this will not work for multiple items per order.

Selling "redirect" will also not quite work as I have to then enter thousands of predefined products. My site adds new pages daily and URL's are dynamically generated.

So I really need the functionality of %custom% that also works for multiple items.
Thanks]]>
E-junkie Discussions; toby2
Post #4 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Mon, 18 Jan 2010 03:05:43 GMT
Also bear in mind that you can have only one custom value per full order -- although it gets passed into the cart with a product's Add to Cart button, it's actually a parameter for the full order, not any specific product. If a buyer adds multiple items in the same cart, only the last custom value passed into the cart would be included with the order. If you need a custom value for each and every item, please see this help page:
http://www.e-junkie.com/ej/help.custom.thankyou-email.htm]]>
E-junkie Discussions; E-junkieGuru
Post #3 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Fri, 15 Jan 2010 13:29:46 GMT E-junkieGuru
If you need to specify some custom data for each type of product in addition to Item Number, that would have to involve modifying our button code manually somehow. The standard, and simplest, method would simply append &custom=your-value-here to the end of each button URL. This custom value could be unique for each instance of a single product's button code, and you could even program your own scripting that appends a custom value into each URL in your pages dynamically if you wish. This custom value would appear in your Txn logs in the "Passed Custom Param." column.

I have followed that, but I need this custom parameter emailed and included in the thank you message. As it stands now admin gets the custom value, but the customer gets the "[%custom%]" not parsed instead of the actual value. Any idea how to accomplish this?

Basically, I have a parameter unique to each item, that I do not to be visible to the customer until after they paid.]]>
E-junkie Discussions; toby2
Post #2 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Mon, 18 Aug 2008 22:43:32 GMT
In the latter case, the simplest method would be to specify it as the Item Number of the product -- you don't have to use the default number we put in there, as long as what you enter in Item Number does not match any of your other products; you should be safest sticking with any combination of letters, numbers, dashes-and_underscores.

If you need to specify some custom data for each type of product in addition to Item Number, that would have to involve modifying our button code manually somehow. The standard, and simplest, method would simply append &custom=your-value-here to the end of each button URL. This custom value could be unique for each instance of a single product's button code, and you could even program your own scripting that appends a custom value into each URL in your pages dynamically if you wish. This custom value would appear in your Txn logs in the "Passed Custom Param." column.]]>
E-junkie Discussions; E-junkieGuru
Post #1 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 http://www.e-junkie.com/bb/topic/2800/pg/0#post13348 Mon, 18 Aug 2008 03:22:42 GMT
How can I do that. If the example is already in the help section I need a clearer explanation and example than just a link to the page because I've read every help page.

What field will the information be stored in my transaction log?]]>
E-junkie Discussions; SimpliFun