Overview
PayPal is a global e-commerce business that operates in 190 markets and manages more than 200 million accounts, allowing you to accept online payments in 25 currencies worldwide.
The PayPal module offers all-in-one payment solution that lets you accept credit card, debit card, and PayPal payments.
- Accept .
- Accept PayPal payments.
- No Credit Application, No Monthly Fees
With this module you can also give an option to subscribe for any recurring services you have created. PayPal will automatically charge your clients every billing period and automatically apply its amount to the appropriate invoices in HostBill.
- Enable/Disable Subscriptions in invoices
- Disable One Time payments when subscriptions are available
Activating the module
In order to activate the module login to your HostBill admin panel, go to Settings → Modules → Payment Modules, choose PayPal (class.paypal.php) gateway and click Activate.
Module configuration
Then proceed to filling in all other configuration fields:
- PayPal Email - enter your Email addres used to log into PayPal, this is the only mandatory field.
- Tick if you want to Disable Subscriptions
- If Subscription is available disable One Time Payment
- Terminate Subscription - cancel client subscription if the client's account is terminated (requires API credentials)
- API Username - required for automated refunds and subscription termination
- API Password - required for automated refunds and subscription termination
- API Signature - required for automated refunds and subscription termination
- Verify PayPal email - requires API details above. With this option on client will be required to provide PayPal email address during order. It will be used during Order: Authorization step.
- Locale - Locale string used in Subscription/Pay now buttons. Example: en_GB, ru_RU
- Enable shipping address - if enabled a shipping address will be sent to PayPal
- Skip email/business verification - if enabled HostBill will not check business email value of callbacks - useful if using more than one PayPal account
- Accept callback with HTTP 500 verify error - sometimes PayPal IPN handler responds with HTTP 500 error even when transaction is valid, when this option is enabled HostBill will accept such transaction
- Disable Explicit TLS - on some hosts, setting explicit tls protocol fails with callbacks with fsocsopen error. Try to disable it here and test callback again.
Setting PayPal Instant Payment Notification
This step is required for HostBill to be notified once your customer pays via PayPal
- Login to your PayPall Account and go to My Account → Account Settings
- Go to Website Payments → Instant Payment Notification → Update
- On Instant Payment Notification (IPN) page click on Edit Settings
- Enter your PayPal module callback url in the Notification URL input box, callback url can be found on PayPal module configuration page in HostBill
- Check Receive IPN messages (Enabled) radiobox
- Click Save
Configuring refunds through PayPal API
For automatic refunds to work you will need to supply a PayPal API access.
- Login to your PayPall Account and go to My Account → Account Settings
- Click Update on the API Acces link under Account access section
- Under "NVP/SOAP API integration (Classic)" click Manage API credentials
- Copy your API username, password and signature to HostBill PayPall module settings, and save those changes
FAQ
Question: I've enabled the module but it does not display in my client portal.
Answer: This module does not support the currency you attempt to display it in, please use background currency conversion.
Question: Subscriptions are enabled in PayPal module, yet subscribe button not always appear.
Answer: Subscribe button only appears on invoices that have recurring services on it. If customer already subscribed for given service but payment was not yet collected - subscribe button will also not appear.