GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  BUSINESS::PAYPAL::EWP (3)

.ds Aq ’

NAME

Business::PayPal::EWP - Perl extension for PayPal’s Encrypted Website Payments

CONTENTS

SYNOPSIS



  use Business::PayPal::EWP qw(SignAndEncrypt);
  ...
  my $form=<<EOS;
  cert_id=123ABC
  cmd=_xclick
  business=...
  EOS

  my $cert="/path/to/mycert.crt";
  my $key="/path/to/mycert.key";
  my $ppcert="/path/to/paypalcert.pem";

  my $encrypted=SignAndEncrypt($form,$key,$cert,$ppcert);

  print <<EOF;

  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_s-xclick" />
  <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif"
  border="0" name="submit" alt="Make payments with PayPal - its fast, free and
  secure!" /><input type="hidden" name="encrypted" value="$encrypted" /></form>

  EOF



DESCRIPTION

This module wraps the sample C++/C# code which PayPal provides for working with Encrypted Web Payments. It contains a single function, SignAndEncrypt which takes the plaintext form code, private key file, public key file, and PayPal’s public certificate, and will return the signed and encrypted code needed by paypal.

AUTHOR AND COPYRIGHT



  Copyright (c) 2004, 2005 Issac Goldstand E<lt>margol@beamartyr.netE<gt> - All rights reserved.
  Copyright (c) 2009 Thomas Busch (current maintainer)



This library includes code copied from PayPal’s sample code. More information about those projects’ authors can be found at the respective project websites.

This library is free software. It can be redistributed and/or modified under the same terms as Perl itself.

SEE ALSO

Net::SSLeay, CGI, Business::PayPal

Also, see PayPal’s documentation at http://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/ewp-intro-outside

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 BUSINESS::PAYPAL::EWP (3) 2016-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.