note 43036 deleted from ref.pfpro by danbrown

From: Date: Fri, 26 Sep 2008 15:19:37 +0000
Subject: note 43036 deleted from ref.pfpro by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-144768@lists.php.net to get a copy of this message
Note Submitter: zhengyi13 at yahoo dot com ---- jho8344, two things: 1) No such dll exists, nor to my knowledge ever has, because 2) PHP has built-in support for COM, thus you don't need it. If you're using PHP on Windows, install VeriSign's Payflow Pro COM object per their normal directions, and then use that COM object directly via PHP. You can do so (roughly) like this: <?php /* Create pfCOM Object */ $pfpro_client = new COM('PFProCOMControl.PFProCOMControl.1'); /* Process Transaction */ $pfpro_context = $pfpro_client->CreateContext($url, $port, $timeout, $proxy_url, $proxy_port, $proxy_logon, $proxy_password); @$result = $pfpro_client->SubmitTransaction($pfpro_context, $parmsString, strlen($parmsString)); /* Destroy Context */ $pfpro_client->DestroyContext($pfpro_context); ?> Note that's strictly off the top of my head; not actually guaranteed to work out of the box. I don't run PHP on Windows, so I can't really test it for you. But give it a go, and report back here if it works for you.

« previous php.notes (#144768) next »