note 6728 modified in Cybercash payment functions by ronabop

From: Date: Wed, 06 Dec 2000 06:18:14 +0000
Subject: note 6728 modified in Cybercash payment functions by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-8457@lists.php.net to get a copy of this message
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. http://www.php.net/manual/cybercash-payment-functions.php

« previous php.notes (#8457) next »