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