Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why isn Payment Express server receiving transactions from my new version of PHP code (4.2 and above)?

0
Posted

Why isn Payment Express server receiving transactions from my new version of PHP code (4.2 and above)?

0

If the PX Server is not receiving transactions and you can establish a telnet session or post transactions to the PX Server the explanation is most likely to do with the new version of PHP. Different versions of PHP use different methods to create and write to a socket. Our sample uses fsockopen, fputs, fgets and fclose. But more recent versions of PHP e.g. v4.2.2 + errors occur when trying to use this method. In the past customers have been able to solve this problem by rewriting the example using socket_create, socket_connect, socket_write etc..

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123