error confirmed at line 289
$pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&';
“¬” is being replaced with “¬”
separating the functions didn’t help and gave same results…
I then remembered that in some browsers the html parser needs proper validation.
Please change lines 284 – 295 with my updated code
OLD:
$pfOutput ='';
foreach( $data as $key => $val )
{
if(!empty($val))
{
$pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&';
}
}
// Remove last ampersand
$getString = substr( $pfOutput, 0, -1 );
With this new code:
$pfOutput ='';
foreach( $data as $key => $val )
{
if(!empty($val))
{
$pfOutput .= $key .'='. urlencode( trim( $val ) ) .'&';
}
}
// Remove last ampersand
$getString = substr( $pfOutput, 0, -4 );
Now I’ll work on this Merchant_key issue …