I love the DPM demo code under 15 minute page.
<?php
require_once 'anet_php_sdk/AuthorizeNet.php';// The SDK
$url ="http://YOUR_DOMAIN.com/direct_post.php";
$api_login_id ='YOUR_API_LOGIN_ID';
$transaction_key ='YOUR_TRANSACTION_KEY';
$md5_setting ='YOUR_API_LOGIN_ID';// Your MD5 Setting
$amount ="5.99";
AuthorizeNetDPM::directPostDemo($url, $api_login_id, $transaction_key, $amount, $md5_setting);
?>
BUT this code pulls a form which posts to the test server. How can I tweak the above code so that when the form is pulled it goes to the production server, https://secure......transact.dll?
10-15-2012 01:19 PM
10-15-2012 01:41 PM
Message moved to Partner Programs forum.
11-02-2012 04:11 AM