The block of code around line 337 is:
Code:
// collapse array into string for command-line submission
$parmList = '';
foreach($transaction as $key=>$value) {
if ($key == 'NAME' || strstr('&', $value) || strstr('=', $value)) {
$parmList .= '&' .$key . '[' . strlen($value) . ']' . '='.$value;
} else {
$parmList .= '&' .$key . '='.$value;
}
}
it's failing on the strstr() call, but I don't know what's in $value at that point.
Incidentally: when I phoned PayPal about this, the tech said that he's never seen a successful integration from Zen to PayPal, that he has fielded lots of calls with this same error. There's got to be someone who's figured it out.