Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

E-Junkie - Getresponse sign up in Thank you page



henbima
member
Posts: 3


Hi,

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


#
POSTED ON: September 11, 2008 @ 05:41 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


When we redirect to your thank-you page URL, we append some order data (as documented on our Redirection help page you linked) to the end of your URL in standard GET format of ?name1=value1&name2=value2&etc...

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).


#
POSTED ON: September 11, 2008 @ 17:32 GMT -7




henbima
member
Posts: 3


Hi Tyson,

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


#
POSTED ON: September 12, 2008 @ 17:54 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


If you customize the product's thank-you page in product configs and also enable Redirection to a URL for that product, then our system will first show the buyer our thank-you page with your custom HTML for that product, which the buyer must click through to reach your redirection page.

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.


#
POSTED ON: September 15, 2008 @ 13:12 GMT -7
MODIFIED ON: September 15, 2008 @ 13:38 GMT -7




tylerbenner
member
Posts: 15


So...

I am in the same boat as henbima. I have read all the documentation feel decently literate on coding.

I am NOT looking to add download links. The ONLY thing I would like is the ability to have my own thank you page that pulls the strings from E-junkie so I can directly talk with the purchaser.

My issue is what Tyson described here at the end: I get an IFRAME that displays a generic message along the lines of, "The payment processor..."

I have viewed my source code and find this:

<iframe width="640" height="300" scrolling="no" frameborder="0" src="https://www.e-junkie.com/ecom/rp.php?noredirect=true&txn_id=<?php echo $txn_id; ?>"></iframe>

It never pulled the txn_id number.

To duplicate this, go to:
http://www.astraarchery.com/Investors.html

Click purchase share and proceed through free checkout.

Then view source on the thank you page:
http://www.astraarchery.com/Thank_You.html (plus the e-junkie passthrough code)

I REALLY would love to have some help on this. Any ideas on why the txn_id is not getting pulled correctly from e-junkie? This seems straightforward but somehow is not...

best,
--tyler


#
POSTED ON: May 8, 2009 @ 15:10 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4343


There would only ever be a txn_id number appended to your site's thank-you page URL for buyers who are proceeding directly from checkout to the thank-you page after their payment is already completed.

If the buyer proceeds to the thank-you page after checkout while the processor is still working on transferring the funds, then there is no txn_id value identifying a completed payment with that payment processor yet, so we would have no txn_id value to append to your page URL when we redirect the buyer, and your iframe would only show our generic pending-payment thank-you page message saying, "The payment processor has not yet informed us... etc."

If the buyer does not voluntarily click past the end of checkout to reach any thank-you page, then the thank-you email we send to the buyer will have a link to reach their E-junkie thank-you page without redirecting to your site's thank-you page, as a last-ditch failsafe to ensure they can obtain the file they paid for.


#
POSTED ON: May 8, 2009 @ 18:08 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam