Subversion Repositories munaweb

Rev

Rev 75 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 75 Rev 102
Line 67... Line 67...
67
  }
67
  }
68
 
68
 
69
  if ($action == "orderPaid") {
69
  if ($action == "orderPaid") {
70
    $lockFile = ".lock/$orderName";
70
    $lockFile = ".lock/$orderName";
71
    $lockFileFlag = file_exists($lockFile);
71
    $lockFileFlag = file_exists($lockFile);
72
	// prevent handling multiple notifications
72
    // prevent handling multiple notifications
73
	if (!$lockFileFlag) { file_put_contents($lockFile, ""); }
73
    if (!$lockFileFlag) { file_put_contents($lockFile, ""); }
74
  }
74
  }
75
 
75
 
76
  // Get titles, quantities and skus from line items
76
  // Get titles, quantities and skus from line items
77
  $lineItems = array();
77
  $lineItems = array();
78
  foreach ($xml->{'line-items'}->{'line-item'} as $lineItem) {
78
  foreach ($xml->{'line-items'}->{'line-item'} as $lineItem) {