Hello Below Is Example Of API of CCNOW Shopping Cart

<form method="POST" action="https://www.ccnow.com/cgi-local/transact.cgi">
<input type="hidden" name="x_login" value="amylove">
<input type="hidden" name="x_version" value="1.0">
<input type="hidden" name="x_fp_arg_list"
value="x_login^x_fp_arg_list^x_fp_sequence^x_amoun t^x_currency_code">
<input type="hidden" name="x_fp_sequence" value="1111084438">
<input type="hidden" name="x_currency_code" value="USD">
<input type="hidden" name="x_method" value="NONE">
<input type="hidden" name="x_name" value="John Smith">
<input type="hidden" name="x_address" value="123 Main St">
<input type="hidden" name="x_address2" value="Apt #1">
<input type="hidden" name="x_city" value="Los Angeles">
<input type="hidden" name="x_state" value="CA">
<input type="hidden" name="x_zip" value="90025">
<input type="hidden" name="x_country" value="US">
<input type="hidden" name="x_phone" value="310-123-1234">
<input type="hidden" name="x_email" value="jsmith@somewhere.com">
<input type="hidden" name="x_ship_to_name" value="">
<input type="hidden" name="x_ship_to_address" value="">
<input type="hidden" name="x_ship_to_address2" value="">
<input type="hidden" name="x_ship_to_city" value="">
<input type="hidden" name="x_ship_to_state" value="">
<input type="hidden" name="x_ship_to_zip" value="">
<input type="hidden" name="x_ship_to_country" value="">
<input type="hidden" name="x_ship_to_phone" value="">
<input type="hidden" name="x_shipping_amount" value="10.00">
<input type="hidden" name="x_shipping_label" value="Shipping and Handling">
<input type="hidden" name="x_shipping_method" value="Ground">
<input type="hidden" name="x_discount_amount" value="">
<input type="hidden" name="x_discount_label" value="">
<input type="hidden" name="x_invoice_num" value="AL-1111084432">
<input type="hidden" name="x_instructions" value="">
<input type="hidden" name="x_product_sku_1" value="CS-7112">
<input type="hidden" name="x_product_title_1" value="Beachy White T-Shirt">
<input type="hidden" name="x_product_quantity_1" value="1">
<input type="hidden" name="x_product_unitprice_1" value="13.50">
<input type="hidden" name="x_product_url_1" value="www.ccnow.com">
<input type="hidden" name="x_product_sku_2" value="BH-1130">
<input type="hidden" name="x_product_title_2" value="My Kind of Cap">
<input type="hidden" name="x_product_quantity_2" value="2">
<input type="hidden" name="x_product_unitprice_2" value="16.00">
<input type="hidden" name="x_product_url_2" value="www.ccnow.com">
<input type="hidden" name="x_amount" value="55.50">
<input type="hidden" name="x_fp_hash"
value="e44b8aeb153f23d3806fdab6221885e8">
<input type="submit" value=" Place Order ">
</form>
i wanna generate x_fp_hash with my personal values for this i contact support of ccnow they give me below code

use strict;
use Digest::MD5 qw(md5 md5_hex md5_base64);

eval {

my $clientLogin = "amylove";
my $fpSequence = "1111084438";
my $amount = "55.50";
my $currencyCode = "USD";
my $clientKey = "123456789";

my $test = "$clientLogin^x_login^x_fp_arg_list^x_fp_sequence^ x_amount^x_currency_code^$fpSequence^$amount^$curr encyCode^$clientKey";
my $digest = md5_hex($test);
open(OUTFILE, ">md5_digest_value.txt");
print OUTFILE $digest;
close(OUTFILE);

print "Digest of $test = " . md5($test) . "\n";


}; if($@){
hang($@);
}

hang("finished");

sub hang
{
my ($error) = @_;
print "Script exited with: '$error'\n";
print "press enter to exit\n";
my $foo = <STDIN>;
die ;
}

now can anyone explain or help me how i generate x_fp_hash in this field and it result like this to me
<input type="hidden" name="x_fp_hash"
value="e44b8aeb153f23d3806fdab6221885e8">
Thanks.


I solved it my self kindly close this thread.
sahil00150 Reviewed by sahil00150 on . API and MD5 Hash Problems Help Needed Hello Below Is Example Of API of CCNOW Shopping Cart i wanna generate x_fp_hash with my personal values for this i contact support of ccnow they give me below code now can anyone explain or help me how i generate x_fp_hash in this field and it result like this to me Rating: 5