Parallels H-Sphere Documentation Administrator Guide


PayPal Configuration


Related Docs:   Web Payment Systems Manager

Last modified: 25 Dec 2007


WARNING: This documentation covers Parallels H-Sphere versions up to 3.1. For the latest up-to-date Parallels H-Sphere documentation, please proceed to the official Parallels site.

Before proceeding, make sure to read about Web Payment Systems Manager.



PayPal certificate is trusted by VeriSign Trust Network. Since the standard java cartcerts file doesn't include VeriSign Trust Network public certificate, H-Sphere returns 'Connect error, untrusted server cert chain' when trying to connect to the merchant gateway. The following are the solutions:
A. If you have got the default java cacerts file and you have never changed it, you can simply replace it with the cacerts file offered by psoft.
B. If you need to keep your cacerts file, you can fix this problem using the keytool feature available in the standard java installation: How do I update my cacerts file?


Setup Procedure

Once you have registered a PayPal business account, enable PayPal in your control panel:

  1. Select Merchant Gateways in the Settings -> Payment Settings menu.
  2. On the Merchant Configuration page, choose PayPal from the drop-down menu.
  3. Click the Edit button to activate it.
  4. Enter the required parameters in the PayPal form:
    • (HS 2.5 and up) Server: the server used to run transactions. It can be or in regards to what you issued certificate for.
    • (HS 2.5 and up) Port: enter the port to be used.
    • (HS 2.5 and up) Path: indicate the path.
    • PayPal ID: the email you are registered in PayPal with.
    • Pass-Through Value: enter your "custom" variable e.g: "PayPalTest" to match payments with a customer or transaction ID for tracking and identification purposes. It will be passed through the PayPal system and returned to user in payment notification emails. Important: variable should not contain spaces!
    • Logo Image URL: image 150 by 50 pixels in size, you would like to use as your logo. This is optional: if not entered, your customers will see your Company Name or email address in place of logo.
    • Activate/Deactivate PayPal for new signups and existing accounts.
  5. Click Submit Query. PayPal now must show as active.
  6. Set Instant notification URL to receive information about payments made via PayPal.
    1. Log into your Business PayPal account
    2. Go to the Profile Summary ->Selling Preferences -> Instant Payment Notification Preferences.
    3. Enter a callback URL

PayPal's IPN system works as follows:

  • Customer submits a payment form and PayPal sends notifications about payments made to your notification URL.
  • On receiving the payment notification, your server will send the confirmation, including the encrypted code, back to a secure PayPal URL.
  • PayPal will authenticate the transaction and send your server a "VERIFIED" or "INVALID" response.
  • If verified, the payment is regarded as successfully completed. If you receive an "INVALID" response, it should be treated as suspicious and investigated.

H-Sphere supports PayPal multicurrency transactions. Fees are charged in the currency which is set in the admin control panel. To charge users in two different currencies, you need to have two resellers.

Links to PayPal PDF documentation

PayPal Testing Mode. To run PayPal transactions in testing mode, create a development account at PayPal Sandbox and under this account create fake PayPal accounts for testing purposes. Then, set PayPal sandbox parameters in the PayPal setup form in H-Sphere:

Port: 443
Path: row/cgi-bin/webscr
Pay Pal ID: fake PayPal account
Pass Code: anything.

Related Docs:   Web Payment Systems Manager

© Copyright 2018. Parallels Holdings. All rights reserved.