Integration Guide

Table Of Contents
Order Management Integration Guide October 2006 27
Payment Data Transfer
Preventing Fraud
Preventing Fraud
In order to prevent fraud, PayPal recommends that your programs verify the following:
z txn_id is not a duplicate to prevent someone from reusing an old, completed transaction.
z receiver_email is an email address registered in your PayPal account, to prevent the
payment from being sent to a fraudulent account.
z Other transaction details, such as the item number and price, to confirm that the price has
not been changed.
Code Samples
PayPal has made available code samples that you can use to set up PDT. These samples are
available at
https://www.paypal.com/us/cgi-bin/webscr?cmd=p/xcl/rec/pdt-code.
There are code samples for the following development environments:
z ASP/VBScript
z ColdFusion
z PERL
z PHP