close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Send additional email (from eCart)

Thread began 10/14/2020 12:15 pm by yogastudents362523 | Last modified 10/21/2020 9:32 am by yogastudents362523 | 1324 views | 25 replies

yogastudents362523

Hello,

I just want to confirm I have the right code.

In both files (i.e. in 'confirm.php' and 'pp_confirm.php'), I currently have the following code right before the Universal email sendout:
if (true).

Clearly, I have to replace this.

I am thinking that the code I need to use in 'confirm.php' is:

if (isset($_POST["Payment_submit"]) || isset($_POST["Payment_submit_x"])).

But I think there is some code referencing PayPal in that same file that I can ignore, which goes:

$WA_PP_ECO_SetResult = WA_PP_ECO_SOAPObject();
if (!isset($_GET["plugin_file"]) && isset($_POST["payment-type"]) && $_POST["payment-type"]=="paypal").

I believe that I should ignore that, and go over to the pp_confirm file, and insert the following that I have copied from that file as:

if ((isset($_GET["token"]) && isset($_GET["PayerID"])) || (isset($_SESSION["PayPal_ECO_Token"]) && $_SESSION["PayPal_ECO_Token"] != ""))

In other words, even though PayPal data exists in both files, I should ignore whatever I see referenced there for PayPal in the first file, and only handle the Universal email trigger in the second one. So I make but the one paste operation in each.

Thank you.
KB.

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