close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

IPN Issues

Thread began 4/21/2021 9:29 am by ccdantas101117 | Last modified 4/21/2021 3:23 pm by ccdantas101117 | 34 views | 9 replies


IPN Issues

The paypal keep sending paypal ipn page is incorrect, and keep trying to post and because the email receipt is at the same page keeps send several emails to customers and is annoying. Code of page below. I need help because I don't see where the error is.
//WA eCart Include
// WA eCart Get Form PaypalIPN.xml
if (WA_isValidPayPal()) {
$displayIndex = 0;
$runOnce = "run";
while (isset($_POST["item_number".($displayIndex+1)])) {
$ATC_AddIfIn = 0;
$ATC_RedirectIfIn = "";
$ATC_ID = "".$_POST["item_number".($displayIndex+1)] ."";
$ATC_Name = "".$_POST["item_name".($displayIndex+1)] ."";
$ATC_Description = "";
$ATC_Weight = "0";
$ATC_Quantity = "".$_POST["quantity".($displayIndex+1)] ."";
$ATC_Price = "".$_POST["mc_gross_".($displayIndex+1)]/$_POST["quantity".($displayIndex+1)] ."";
$ATC_size = "".$_POST["os0". ($displayIndex+1)] ."";
$ATC_SizesIncrease = "". $_POST["os1".($displayIndex+1)] ."";
$ATC_Thumbnails = "";
$ATC_sku = "";

if (is_numeric($ATC_Quantity) && $ATC_Quantity != 0) {
$mbtCart->AddToCart($ATC_AddIfIn, $ATC_RedirectIfIn, $ATC_ID, $ATC_Name, $ATC_Description, $ATC_Weight, $ATC_Quantity, $ATC_Price, $ATC_size, $ATC_SizesIncrease, $ATC_Thumbnails, $ATC_sku);
$runOnce = null;
<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
if ((WA_isValidPayPal())) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".((isset($_POST["payer_email"]))?$_POST["payer_email"]:"") ."";include("WA_Universal_Email/WAUE_ipnresponse_1.php");
$RecipientEmail = "";include("WA_Universal_Email/WAUE_ipnresponse_1.php");
$RecipientEmail = "";include("WA_Universal_Email/WAUE_ipnresponse_1.php");

//Send Mail All Entries
if (""!="") {
header("Location: ");
// WA eCart Redirect
if ($mbtCart->redirStr != "") {
header("Location: ".$mbtCart->redirStr);

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





Ease of use


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