E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic: | |
| |
|
GuestUser member Posts: 808 |
I would like clients to be directed to my thank you page (hosted on my site) and still get the info available on the e-junkie thank you page. ...Client name, address, biling totals and a invoice Number ect. (all the html code you have to input to make it work) is that possible? Thanks. # POSTED ON: January 27, 2008 @ 19:45 GMT -7 |
|
E-JunkieExpert member Posts: 804 |
Yes, we do provide an iframe based solution in the "redirection" section of our help page <http://www.e-junkie.com/ej/help.redirection.php>. # POSTED ON: January 27, 2008 @ 19:46 GMT -7 |
|
austin457 member Posts: 9 |
I know this question has been beat, but I gotta ask anyway. Can someone please expound a bit more upon EXACTLY how to create the custom thank you page. Ok, I know to use GET, most likely on an HTTPS page, and I know the variables are on the e-junkie page mentioned. But don't I need a path for GET? How about a code snippet as an example. thanks I really do like my e-Junkie cart. Help me make it better, plz :) # POSTED ON: February 10, 2008 @ 23:09 GMT -7 MODIFIED ON: February 10, 2008 @ 23:17 GMT -7 |
|
rockthenroll member Posts: 3 |
This is exactly what I'm attempting to solve for now. I know you can use <?php echo $_GET['first_name']; ?> with PHP, bbut the only available strings to grab from the URL are items after the "&" in the return URL which are: txn_id, first_name and last_name. I see from the default download page that the link to download a file is: http://www.e-junkie.com/ecom/df.php?txn_id=XXXXXXXXX&d_id=XXXXXXX, but d_id isn't available in the string. Help please! # POSTED ON: April 10, 2008 @ 10:16 GMT -7 |
|
Robbie member Posts: 11 |
I use Wordpress with the Exec-PHP Plugin so I can execute PHP code on Pages. I created a custom Thank You page and typed up a simple thank you note that looks like the other content on our site. To insert the download link in the middle of it, I used the following code (replace "CID" with your actual client ID): <?php echo '<iframe width="100%" frameborder="0" src="https://www.e-junkie.com/ecom/rp.php?noredirect=true&client_id=CID& txn_id=' . htmlspecialchars($_GET["txn_id"]) . '" height="50px"></iframe>'; ?> This doesn't enable you to insert _all_ the transaction data, but I have that sent as an email to every buyer, anyway, so I'm comfortable not showing it on the Thank You page as well. If you want to add more details, customize your Thank You message and increase the height of the iframe (or change to 100%). You'll probably want to add some minimal CSS code to the top of your Thank You message so it looks like your own page. # POSTED ON: February 1, 2010 @ 23:45 GMT -7 MODIFIED ON: February 1, 2010 @ 23:49 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 3486 |
Thanks for the suggestion and sample code; I've added it to our Redirection help page. :^) # POSTED ON: February 2, 2010 @ 17:18 GMT -7 |
|
Robbie member Posts: 11 |
By the way, update on this: The fixed-height iframe (~50px) in the middle of our custom Thank You page worked until people started checking out with multiple files to download. Rather than choose an arbitrarily large height for the iframe and waste space for most people, I moved the secure link into a fancybox that opens after clicking a large "download" button. Anyone can do it using whatever lightbox/fancybox/colorbox setup for links is in place. Here's our code: <?php echo '<a class="fancybox iframe button" href="https://www.e-junkie.com/ecom/rp.php?noredirect=true&client_id={CID}&txn_id=' . htmlspecialchars($_GET["txn_id"]) . '" height="200px" width="100%">Download now ›</a>'; ?> You can see it at http://www.educationalrap.com/purchase-complete # POSTED ON: October 10, 2010 @ 22:50 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 3486 |
Cool, thanks for the update! :^) # POSTED ON: October 11, 2010 @ 13:29 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






