- rewrite/updates for new B::OP::PayflowPro using HTTP protocol
authorplobbes <plobbes>
Mon, 12 Mar 2007 06:12:53 +0000 (06:12 +0000)
committerplobbes <plobbes>
Mon, 12 Mar 2007 06:12:53 +0000 (06:12 +0000)
commita647a499efde720891103f38635638daaf2f212e
tree727e0cfc9f1f730edf96048eb142ee963b5400b9
parent4fc83ea860f83888637ea8ede6dbb7c9b7f7468d
- rewrite/updates for new B::OP::PayflowPro using HTTP protocol
- no longer use PFProAPI.pm from Verisign/PayPal
- now using name-value pair transactions
- require: CGI to parse name-value pair responses from server
- require: Digest::MD5 to generate (hopefully) unique request_id which
  is required by PayflowPro HTTP protocol
- new methods: request_id(), param(), debug(), expdate_mmyy()
- renamed internal methods to start with an underscore
- removed unused remap_fields() method
- if unable to parse expiration given in %content no longer croak, but
  let PayflowPro servers attempt to deal with the value as-is
- submit() now two phased per PFP HTTP protocol
- X-VPS-VIT-CLIENT-CERTIFICATION-ID is required (supposedly this is a
  temporary requirement from PayPal)
- request_id() method will generate a hopefully unique id using
  Digest::MD5 for use in the X-VPS-REQUEST-ID HTTP header.  A
  'request_id' key may be passed in %content to specify an ID
- path() is not used as the PFP HTTP protocol uses two different URLs
  (step 1) /transaction, (step 2) /commit
- patches to B::OP::HTTPS were required to support needed functionality
- debug() sets $Business::OnlinePayment::HTTPS::DEBUG to aid in debugging
PayflowPro.pm