note 6728 deleted from ref.cybercash by felipe

From: Date: Sun, 20 Jul 2008 23:48:24 +0000
Subject: note 6728 deleted from ref.cybercash by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142367@lists.php.net to get a copy of this message
Note Submitter: mikebabcock at pobox dot com ---- The cyberlib.php file is a library of functions for use with your Cybercash transaction php files. The test.php file contains an example transaction that is very simple: $merchant=""; /* Your merchant ID goes here. */ $merchant_key=""; /* Your merchant key goes here. */ $payment_url="http://cr.cybercash.com/cgi-bin/"; $auth_type="mauthonly"; $response=SendCC2_1Server($merchant,$merchant_key,$payment_url, $auth_type,array("Order-ID" => "2342322", "Amount" => "usd 11.50", "Card-Number" => "4111111111111111", "Card-Address" => "1600 Pennsylvania Avenue", "Card-City" => "Washington", "Card-State" => "DC", "Card-Zip" => "20500", "Card-Country" => "USA", "Card-Exp" => "12/99", "Card-Name" => "Bill Clinton")); while(list($key,$val)=each($response)) { echo $key."=".$val."<br>"; } For all those without source; hope this helps.

« previous php.notes (#142367) next »