Configuration for PayPal payments

Submitted 4/15/2009 by Support 3 out of 5 users found this topic helpful

 In order to use the PayPal integration, you would need to:

  1. Sign up for a PayPal Business or Premier account
  2. Enable the PayPal IPN (Instant Payment Notification) for your site
  3. Adjust PayPal settings in your web.config file and add some billing plans

 To sign up for a PayPal Business or Premier account: 

  1. Go to www.paypal.com and click the Sign Up link at the top of the page 
  2. Select an account type 
  3. Enter your business and personal information 
  4. Select account information and provide security information 
  5. Confirm your email address with PayPal 
To enable PayPal IPN (optional):
  1. Log in to PayPal 
  2. After logging into your PayPal account click on the "Profile" tab and then click "Instant Payment Notification Preferences"
  3. To change your preferences press the Edit button
  4. Check the activation check box, enter the script file's path as "http://www.yoursite.com/PayPal/IpnHandler.aspx" and finally press the "Save" button to finish
 
The last step is to configure your web.config file. The PaymentProcessors list should include PayPal:
 
<setting name="PaymentProcessors" serializeAs="Xml">

    <value>

        <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

            xmlns:xsd="http://www.w3.org/2001/XMLSchema">

            <string>PayPal</string>

        </ArrayOfString>

    </value>

</setting>

 

The PayPalSandBox setting should be set to False for live sites:

 

<setting name="PayPalSandBox" serializeAs="String">

    <value>False</value>

</setting>

 

And you should set the PayPalEmail setting to your PayPal e-mail adress:

 

<setting name="PayPalEmail" serializeAs="String">

    <value>paypal@yoursite.com</value>

</setting>