With PayPal, your members can make payments using a credit card for non-recurring subscription plans only.
If a recurring plan is selected, your member will have to pay through their PayPal account. They will be prompted to open a PayPal account, if they don't already have one.
Begin by signing up to a Business account.
Enter your PayPal email address, in the email address field in Payment Processor within Settings of your SubHub Control Panel.
Next follow the steps below to complete your PayPal set up.
NOTE: Please ensure you replace yoursite with the name of your SubHub development site.
Step 1: Setting Up IPN Notifications
1. Click Profile > Profile and Settings > My selling preferences > Instant Payment Notifications
2. Click Update.
3. Click Choose IPN Settings.
4. Next Edit Instant Payment Notification settings: Add the Notification URL. This will be https://yoursite.ssl.subhub.com/paypal_ipn
5. Tick Receive IPN messages (Enabled).
6. Save and then click Back to My Profile link.
Step 2: Setting Up API Access
1. Select My selling preferences > API Access
2. Click Update.
3. Under Pre-Built payment solution, select Manage API permission.
4. Under API Access, select Option 2, click Request API credentials.
5. Tick Request API signature. Click Agree and Submit.
6. Reveal the API Username, Password and Signature by clicking Show.
5. Paste the fields into the Payment Processor via Settings of your SubHub Control Panel.
6. Click Save. You are now set up for auto cancellations.
Step 3: Adding the PDT Token
1. Click Profile > Profile and Settings > My selling preferences.
2. Select Website Preferences and click Update.
3. Set Auto Return for Website Payments to On.
4. In the Return URL field, enter your site URL/subscribe/complete. For example:
5. Set Payment Data Transfer to On.
6. Click Save. Go back to the page.
7. A PDT identity token will be generated and found under the heading Payment Data Transfer. Copy the identity token.
9. In Control panel of your SubHub site, go to Settings > Payment Processor > Advance Setting. Paste the token into the PDT Token field and Save.
SubHub and PayPal Interaction
Recurring payments are controlled by PayPal. If a payment fails, you will be notified. You should contact the member to let them know that their payment failed.
How recurring subscriptions are cancelled
Members can cancel their recurring subscription in two ways.
1. They can login to their PayPal account and cancel their subscription. When this happens, your SubHub site will be notified by PayPal and their member subscription will cease at the end of the current billing period.
2. A member can cancel their subscription through the My Account member link. Their membership will then be cancelled, as will their recurring PayPal payment. An email notification of this cancellation will be sent to you.
FINAL STEP: Always make a test payment before launching your site!