close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Referral system

Thread began 11/08/2011 11:19 am by wbrooks199805 | Last modified 3/19/2012 12:46 pm by wbrooks199805 | 3164 views | 6 replies

Awemaker

Working with your response--

Thank you, sir.

So, please check me here-- as I say, total noob at PHP:

If I include a line like this in the cart_readonly.php that takes what you gave me and rolls it into 2 unique variables (I used my initials to make them so, as I don't know the variable set):

<?php
$EPCtrans_id=$_SESSION['OrderID'];
$EPCamount=$WA_Store_Cart->TotalColumn("TotalPrice")-$WA_Store_Cart->GetDiscounts();
?>

Then pop $EPCtrans_id and $EPCamount into my JAM code-making thing to get this and put it after the above line:

$JAMIntegrate = file_get_contents("http://mydomain.com/affiliate_directory/sale.php?amount=".$EPCamount."&trans_id=".$EPCtrans_id."&custom_mid=".$_COOKIE['jrox']."");

I should be good to go (assuming that JAM works)? That's question #1.

Question #2: Could I have put the 2 things you gave me *directly* into the JAM code-making thing?

Question #3 (the really important one): Please confirm: nothing in the store could run the cart_readonly.php page at some later date and give the commission again? What if they hit "refresh"? (Please, just answer for the WebAssist side of things, as I doubt you know JAM.)

Thanks very much for running this by the Mega-Mind!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...