E-Junkie Forum http://www.e-junkie.com/bb/ E-Junkie Forum RSS en-us Copyright 2008, 19.5 Degrees. All rights reserved. webmaster@e-junkie.com webmaster@e-junkie.com Mon, 15 Sep 2008 20:12:53 GMT Thu, 20 Nov 2008 22:56:47 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 #4 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 Mon, 15 Sep 2008 20:12:53 GMT
To avoid this, you have two options: either remove any thank-you custom HTML from that product's configs, or disable the product-specific Redirection URL and instead use a Common thank-you page URL for all your products in Seller Admin > Edit Account Preferences (the product info displayed in your IFRAME would still be product-specific).

Without applying any custom HTML, our standard thank-you pages (whether displayed directly or in an IFRAME) should by default always display the name of the product(s) ordered with download link(s) for any files purchased; you should not need to add any custom HTML to enable display of the download links.

If your IFRAME is not displaying anything at all, then I suspect your PHP may not be properly outputting the IFRAME src= URL (or appending the txn_id to it). When you actually browse to your page and View>Source from the browser, how does that src= URL look? Note that the IFRAME will only show actual thank-you page content (e.g. links) if your page URL has our transaction data parameters appended to the end; even if you just browse to your page URL as-is without any parameters appended to the end, the IFRAME should still display a generic message along the lines of, "The payment processor has not yet informed us about your payment..." etc.]]>
E-junkie Discussions; Tyson
Post #3 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 Sat, 13 Sep 2008 00:54:28 GMT
Thanks for the reply.

I am trying to chew what you explain here.

So, I have applied this in my thank you page :

<iframe height="80" width="70%">
src="https://www.e-junkie.com/ecom/rp.php?noredirect=true&txn_id=<?php print $_GET['txn_id']; ?>"
</iframe>

I am able to get the transaction id.

But the iframe in the thank you page still show nothing.

I suspect it's because I haven't customized the e-junkie thank you page.
So, I went to edit the products
"CUSTOMIZE YOUR THANK YOU/ PRODUCT DOWNLOAD PAGE"

I plainly add this code below the "Message (html) - optional"
[%download_link%]

But then it doesn't automatically redirect to my thank you page.
Even, every time I add any text to the "Message (html) - optional", I don't get redirected, instead it lead me to e-junkie's page.

Can you straight me out?

Thanks

Hendra]]>
E-junkie Discussions; henbima
Post #2 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 Fri, 12 Sep 2008 00:32:42 GMT
Your thank-you page's PHP just needs to parse the page's own URL to get the value for txn_id we passed there, and then rewrite that value into the end of the IFRAME src=https://www.e-junkie.com/ecom/rp.php?noredirect=true&txn_id= URL in your page, so you can display the contents of our thank-you page (including download links) in an IFRAME inside your own thank-you page. Our thank-you page content inside that IFRAME can be customized using our thank-you page templating variables (as documented on our Customization help page you linked).]]>
E-junkie Discussions; Tyson
Post #1 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 http://www.e-junkie.com/bb/topic/2850/pg/0#post7715 Thu, 11 Sep 2008 12:41:51 GMT
I know question like this has been many times asked around the forum and I've read maybe all of them.
But I can't find the straight and simple answer.

How do I put the download link in my custom thank you page?

I've read :
http://www.e-junkie.com/ej/help.redirection.php
http://www.e-junkie.com/ej/help.customization.php

and many other threads in this forum but still could not make it.

I have read about iFrame, and I also read and put [%txn_id%] at my thank you page, then test it by sending a free thank you link. It doesnt seem work.

I know it should not be that simple, LOL.

I am a php iterate, I wonder if there is a way to do this more easily?

What I read is mostly very technical and not for someone who is php iterate.
Could I still able to make this work?

It would be great if I can have some php snipset that I could use, to paste into my html thank you page.




Thank you very much

Hendra]]>
E-junkie Discussions; henbima