First Data Connect PCI is a simple payment solution for connecting an online store to the powerful
First Data Internet Payment Gateway.
First Data Connect PCI manages all of your interactions with credit card processors and financial
institutions.
How can I setup my account with First Data Connect (LinkPoint Connect) Account?
1. In the "Credit Card System Username" field, type in your First Data Connect (LinkPoint
Connect) store number.
2. The following changes will have to be made from the First Data Connect (LinkPoint Connect)
Central interface. You will log in at: https://www.linkpointcentral.com
3. Under the "Administration" menu select "Connect Settings".
4. Set Order Submission Form URL to the url: http://www.yoursite.com/linkpoint_payment.php
5. Set "Thank You" Page URL to the url: http://www.yoursite.com/finished.php
Enable "Check here if this url is a CGI script" and enable "Check if you wish to automatically
display specified URL after the First Data Connect (LinkPoint Connect) HTML receipt page"
6. Set "Sorry" Page to the url: http://www.yoursite.com/finished.php
Enable "Check here if this url is a CGI script" and enable "Check if you wish to automatically
display specified URL after the First Data Connect (LinkPoint Connect) HTML receipt page"
Code Example:
linkpoint_payment.php
<?php
$url = "https://www.staging.linkpointcentral.com/lpc/servlet/lppay"; // for test
//$url = "https://www.linkpointcentral.com/lpc/servlet/lppay"; // for live
?>
<form name=lpform action='<?php echo "$url";?>' method='POST'>
<input type='hidden' name='mode' value='payonly'>
<input type='hidden' name='debug' value= 'true'>
<input type='hidden' name='txntype' value='sale'>
<input type='text' name='storename' value='Storename'><br />
<input type='text' name='bname' value='Customers Name'><br />
<input type='text' name='bcompany' value='Customers Company'><br />
<input type='text' name='baddr1' value='Customers Billing Address 1'><br />
<input type='text' name='baddr2' value='Customers Billing Address 2'><br />
<input type='text' name='bcity' value='Billing City'><br />
<input type='text' name='bcountry' value='Country of Billing Address'><br />
<input type='text' name='bstate2' value='Province or Territory'><br />
<input type='text' name='bstate' value='US State for shipping to the USA'><br />
<input type='text' name='bzip' value='Zip or Postal Code'><br />
<input type='text' name='email' value='Customers Email Address'><br />
<input type='text' name='sname' value='Ship-to Name'><br />
<input type='text' name='saddr1' value='Shipping Address Line 1'><br />
<input type='text' name='saddr2' value='Shipping Address Line 2'><br />
<input type='text' name='scity' value='Shipping City'><br />
<input type='text' name='scountry' value='Country of Shipping Address'><br />
<input type='text' name='sstate2' value=Province or Territory''><br />
<input type='text' name='sstate' value='US State for shipping to the USA'><br />
<input type='text' name='szip' value='Zip or Postal Code'><br />
<input type='text' name='phone' value='Customers Phone Number'><br />
<input type='text' name='fax' value='Customers Fax Number'><br />
<input type='text' name='shipping' value='5.99'><br />
<input type='text' name='tax' value='2.50'><br />
<input type='text' name='subtotal' value='25.55'><br />
<input type='text' name='chargetotal' value='34.04'><br />
<input type='text' name='comments' value='My commnents'><br />
<input type='hidden' name='custom1' value='custom value 1'>
<input type='hidden' name='custom2' value='custom value 2'>
<input type='hidden' name='ShopURL' value='http://www.yoursite.com'>
<input type='hidden' name='responseSuccessURL' value='http://www.yoursite.com/finished.php'>
<input type='hidden' name='responseFailURL' value='http://www.yoursite.com/finished.php'>
<input type='submit' name='submit' value='Submit'>
</form>
finished.php
<?php
if(strtoupper($status) == "APPROVED"){
// Transaction Successfull.
}
else{
// Transaction Failed.
}
?>