Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : Verisign Payflow Pro Functions : pfpro_process_raw

pfpro_process_raw

Process a raw transaction with Payflow Pro (PHP 4 >= 4.0.2, PHP 5 <= 5.0.5)
string pfpro_process_raw ( string parameters [, string address [, int port [, int timeout [, string proxy_address [, int proxy_port [, string proxy_logon [, string proxy_password]]]]]]] )

Example 2609. Payflow Pro raw example

<?php

pfpro_init
();

$response = pfpro_process_raw(
"USER=mylogin&PWD[5]=m&ndy&PARTNER=VeriSign&TRXTYPE=S" .
"&TENDER=C&AMT=1.50&ACCT=4111111111111111&EXPDATE=0904");

if (!
$response) {
 die(
"Couldn't establish link to Verisign.\n");
}

echo
"Verisign raw response was " . $response;

pfpro_cleanup();

?>

Change Language


Follow Navioo On Twitter
pfpro_cleanup
pfpro_init
pfpro_process_raw
pfpro_process
pfpro_version
eXTReMe Tracker