We saw an issue after upgrading to PHP5.3 on Debian Squeeze where the
default configuration of the Suhoshin security extensions introduced a
new default configuration parameter that sets a maximum length for a GET
variable to 512 characters. The ?result parameter coming back from DPS
in our case was 513 characters and so wasn't presented to PHP for
processing.
After contacting DPS they recommended that we allow a result value of up
to 2048 characters.
Here's the relevant change to our production php.ini:
; Enable GET parameters to be longer than 512 characters - DPS sent us
; a parameter that was 513 characters long and it resulted in failure of
; the order. They recommend a max length of 2048
; http://www.php.net/manual/en/reserved.variables.get.php#101469
suhosin.get.max_value_length = 2048
I meant to post when Alex mentioned his problems with the invalid
characters but other stuff got in the way.
Cheers,
- Bob -
On 07/06/12 22:20, Alex Osborn wrote:
Yes, we were having trouble with pxpay - payments just stopped being
processed for clients.
Tracked this down to DPS sending invalid characters in the result
parameter - in our case, double equals symbols, which was causing php
to think it was a new parameter.
Fixed by manually parsing the query string - DPS support were not very
helpful.
Sent from my iPhone
On 7/06/2012, at 8:23 PM, Sid Gmail <[email protected]
<mailto:[email protected]>> wrote:
Hi Christian,
Px Pay (hosted) :)
Been having few complaints from end users this year so just wondering
if other developers are having similar issues.
Sid
On 07/06/12 20:17, Cristian wrote:
Hi Sid,
Which DPS interface (PX Post, PX Pay, PX Fusion, etc)?
On 7 June 2012 19:16, Sid Bachtiar <[email protected]
<mailto:[email protected]>> wrote:
Hi,
Anyone else has any issue with customer not able to complete
transactions via DPS (Payment Express) lately?
Sid
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
<mailto:[email protected]>
To unsubscribe, send email to
[email protected]
<mailto:nzphpug%[email protected]>
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
<mailto:[email protected]>
To unsubscribe, send email to
[email protected]
<mailto:[email protected]>
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]