Shopping cart software for Dreamweaver, Frontpage, CSS and Golive templates

UK Store
Ecommerce Templates
Shopping cart software

Home > ASP Version Help > Payment Processors > PayPal Website Payments Pro

PayPal certified

Setting up an account with PayPal

Click here to create an account with PayPal.

Ecommerce Templates offers two methods for hooking up with PayPal Website Payments Pro. The three token method is the simpler of the two. If you do run into any issues with the integration, please check out our PayPal troubleshooting section. UK based merchants should follow the help here.

Using the three token authentication for Paypal Website Payments Pro

Version 5.1 saw the introduction of the three token authentication system for setting up PayPal Website Payments Pro. This method is much more "shared hosting friendly" than the API certificate method described below.

  • Log in to your PayPal account and click on Profile.
  • In the left hand "Account Information" column click "API Access".
  • Click on "Request API Credentials", check "API Signature", agree to the terms and press Submit.
  • Enter the API Username, API Password and Signature into the payment providers admin page for PayPal Direct / PayPal Pro.
  • Please note that the PayPal Sandbox is currently not working using the 3 token method.
  • In includes.asp you will need to set the path to your ssl certificate.
  • That should be all you have to do.

Back to top

Setting up Paypal Website Payments Pro with the API Certificate method

You will require a minimum of version 4.9.3 for the ASP version. You can check the version you are running by logging into your store control panel and the number will appear at the top of the first page. If you are running an earlier version then the latest updater will always be available here for download.

Your host will also need to have the XML v4.0 Object installed so you should check with them first.

These are the configuration steps you will need to take:

  • Log in to your PayPal account
  • Go to Profile -> API Access -> API Certificate Request
  • You will need to fill in the application for the certificate request. It may take some time for you to be granted this certificate.
  • As part of the signup process, an “account name” will be suggested for the certificate. This will be of the form “user_api1.yoursite.com”. You will also be required to create a password for the certificate. You are strongly recommended for security reasons to NOT use your PayPal login password. Create a new password.

Installing the certificate

We now need to convert the format of our certificate to “p12” format so we can import it later and you can do this on the PayPal site here . . .
http://www.paypaltech.com/script/p2p.php

  1. Once you have your certificate in p12 format your host will have to install it on the webserver on which your site is located. To do this, they have to follow these steps.
  2. Run the MMC console by going to the Start Menu -> Run and then enter mmc
  3. Go to File -> Add / Remove Snap In and click Add…
  4. Click “Certificates” and click Add
  5. Click “Computer Account” and click Next
  6. Click “Local Computer” and click Finish
  7. Click “Close” for the “Add Standalone Snap-in” dialog and “OK” for the “Add/Remove Snap-in” dialog.
  8. Now in the MMC console you should have the Certificates snap-in installed. Now navigate to Certificates -> Personal -> Certificates, right click and choose “Import…”.
  9. Click “Next” when the import wizard opens and then navigate to your p12 format certificate and then click Next.
  10. Enter the password you chose when you created the certificate and leave the other checkboxes on that page unchecked.
  11. Choose “Automatically select the certificate store based on the type of certificate”
    11. Review your choices and click “Finish”.
  12. You should see your certificate now under Certificates -> Personal -> Certificates, but if you don’t just choose “Refresh”.

Ecommerce Template admin

  • PayPal Payments Pro - Direct Payment is a system where the credit card number is taken on your site. Because of this you must have your own SSL setup and set the pathtossl parameter in includes.asp so that the credit card details are entered over a secure connection.
  • Now log in to your ecommerce plus template admin section, click on the payment providers admin page and enter the following information for PayPal Direct.

    API Account Name: (Such as user_api1.yoursite.com)

    API Password: The password you created above.

    Transaction Type: Authorize only or Authorize / Capture.

Paypal direct

Back to top

Notes for UK based merchants

PayPal don't support UK accounts via their standard PayPal Pro interface but they do via their PayFlow Pro interface. The details for setting this up are on this page.

In the setup, for the "Partner" you would enter PayPalUK. The user id and vendor would both be your API account name such as info_api1.yoursite.com and the password your API account password.

Back to top

Using the PayPal Sandbox (demo mode)

You can put PayPal into Demo Mode on the ecommerce plus template payment provider admin section, but this will involve using the PayPal “Sandbox” as here . . . https://www.sandbox.paypal.com/
This would mean creating a separate sandbox email login, password and certificate request. (Sandbox certificates are assigned immediately).

When testing your PayPal account using the PayPal sandbox you may find the usual test credit card number (4111111111111111) doesn’t work correctly. If you follow the instructions below this should help you generate a test credit card number that is compatible with the PayPal sandbox.

  • Login into your Sandbox Account
  • Click on Add Credit Card under Profile section
  • Then use the CC information to make a payment as a non-PayPal account. Just Don't click on 'Add Card' button. Copy the number down, once you leave the page, the number is gone.

Back to top

Troubleshooting

  • If you receive this error on thanks.asp:

    " I'm sorry, there was a problem with your transaction.
    Transaction Result: Direct Payment has been disabled on this account. Transaction has not been processed."

    ...then make sure you have agreed to the PayPal Billing Agreement at https://www.paypal.com/us/cgi-bin/webscr?cmd=_wp-pro-overview
  • Because of the requirement for the PayPal API certificate, PayPal Pro requires the latest version of Microsoft XML version 4.0. With the service pack 2 release security has been tightened so if you receive the error . . .

    msxml4.dll error '80070005
    Access is denied.

    . . . then you need to point your host to this Microsoft Technote
    http://support.microsoft.com/default.aspx?scid=kb;en-us;820882
    . . . which has a resolution for this problem.
  • If you receive this error:

    msxml4.dll error '80072f8f'
    A security error occurred

    ...you will need to make sure you have read permissions for the Network Service user on the actual certificate file which you will find at . . .
    c:\Documents and Settings\All Users\Application Data\Microsoft\Crypto\RSA\MachineKeys
    You can also set permissions here by running the WinHTTPCertCfg tool in the Windows 2k3 Resource Kit.

    Advanced Note: By default on Windows 2003 servers it is the Network Service account that needs to be given read access to the certificate. However, you can check the actual account required by going to the IIS Snap-In -> Application Pools -> Identity and check which account is specified.

  • If you receive this error:

    A certificate is required to complete client authentication

    ... it will appear if the certificate has not been installed, or if the value you enter for "API Account Name" (such as sandbox_api1.yoursite.com for instance) does not match the name of the certificate.


  • If you need your customer to provide a phone number then in your PayPal Profile go to Website Payment Preferences -> Contact Telephone Number
    ...and set it to "On (Required Field)"

Back to top

AVS and CVV Checking and codes

Do check these codes and make a decision accordingly of whether to ship the order

  • AVS codes

    A Address Address only (no ZIP)
    B International “A” Address only (no ZIP)
    C International “N” None
    D International “X” Address and Postal Code
    E Not allowed for MOTO (Internet/Phone)
    transactions
    Not applicable
    F UK-specific “X” Address and Postal Code
    G Global Unavailable Not applicable
    I International Unavailable Not applicable
    N No None
    P Postal (International “Z”) Postal Code only (no Address)
    R Retry Not applicable
    S Service not Supported Not applicable
    U Unavailable Not applicable
    W Whole ZIP Nine-digit ZIP code (no Address)
    X Exact match Address and nine-digit ZIP code
    Y Yes Address and five-digit ZIP
    Z ZIP Five-digit ZIP code (no Address)
    All
    others
    Error Not applicable

  • CVV codes

    M Match CVV2
    N No match None
    P Not Processed Not applicable
    S Service not Supported Not applicable
    U Unavailable Not applicable
    X No response Not applicable
    All
    others
    Error Not applicable

Back to top


Please do read our guide here on credit card fraud.

For more information, rates and support, please visit the PayPal website.


Print page Printer friendly version
PDF file View as PDF document
Send this page Send this page to a friend
Last update Last updated August 15 2007

Buy now for ...

buy now

Search our site

Search

General help

General help

Admin help

Admin help

Features help

Features help

Payment providers

Payment providers

authorize.net certified. Sign up now. Paypal World Seller Worldpay

Credit cards accepted

how to purchase · site map · license + warranty · mailing list · privacy policy
Australia · Canada · España · France · Germany · Holland · Ireland · Portugal · South Africa · UK

© Copyright 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 Shopping cart software by Internet Business Solutions SL - All Rights Reserved - Ecommerce Templates™ and Ecommerce Plus ™ are registered trademarks of Internet Business Solutions SL