Project: cfPayflowPro v0.1 Author: Dan Vega (danvega@gmail.com) Date: 06/19/2007 Description: ColdFusion wrapper for the Java version of the PayPal Payflow Pro Payment Gateway Requirements --------------------------------------------------------------------------------------- Payflow Pro (verisign.jar) JavaLoader v0.4 Installation --------------------------------------------------------------------------------------- unzip modify Application.cfc loadPaths[1] - This is the path to the verisign.jar file index.cfm contains all properties for test run change the payflowpro.setCertPath("") path to yours view the section below about test transactions Usage --------------------------------------------------------------------------------------- * Be sure to put JavaLoader in the server scope http://www.compoundtheory.com/?action=displayPost&ID=212 Support --------------------------------------------------------------------------------------- http://www.danvega.org/blog/ danvega@gmail.com Testing Credit Card Transactions --------------------------------------------------------------------------------------- To test your application, direct all transactions to test-payflow.verisign.com. Transactions directed to this URL are processed through PayPal’s simulated payment network, enabling you to test the configuration and operation of your application or storefront no money changes hands. You must activate your account and configure your application for live transactions before accepting real orders. Testing Guidelines *While testing, use only the credit card numbers listed in this chapter. Other numbers produce an error. *Expiration Date must be a valid date in the future (use the mmyy format). *To view the credit card processor that you have selected for testing, see Account Info > Processor Info in PayPal Manager. Credit Card Numbers Used For Testing American Express - 378282246310005 American Express - 371449635398431 Amex Corporate - 378734493671000 Australian BankCard - 5610591081018250 Diners Club - 30569309025904 Diners Club - 38520000023237 Discover - 6011111111111117 Discover - 6011000990139424 JCB - 3530111333300000 JCB - 3566002020360505 MasterCard - 5555555555554444 MasterCard - 5105105105105100 Visa - 4111111111111111 Visa - 4012888888881881 Visa - 4222222222222 Testing Result Code Responses You can use the amount of the transaction to generate a particular result code. Result | Definition | How to test using Website Payments Pro Payflow Edition 0 | Approved | Use an AMOUNT of 10000 or less 3 | Invalid transaction type | Use the AMOUNT 10402 4 | Invalid amount | 10400,10401,10403,10414 5 | Invalid merchant information | 10548,10549 7 | Field format error | 10405,10406,10407,10408,10409,10410 12 | Declined | 10417,15002,15005,10506 13 | Referral | 10422 23 | Invalid account number | 10519,10521,10522 24 | Invalid expiration date | 10502,10508 30 | Duplicate Transaction | 10536 105 | Credit error | Attempt to credit an authorization 112 | Failed AVS check | Use the AMOUNT 10505 114 | CVV2 Mismatch | Use the AMOUNT 10504. 1000 | Generic Host(Processor) Error| Use an AMOUNT other than those listed in this column