note 43036 added to ref.pfpro

From: Date: Mon, 07 Jun 2004 16:44:28 +0000
Subject: note 43036 added to ref.pfpro
Groups: php.notes 
Request: Send a blank email to php-notes+get-70685@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/ref.pfpro.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43036 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43036&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43036&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#70685) next »