Documentation
PayPal
Overview
Note: This section of the support guide is useful only to Frontdesk users that require their visitors to pay via PayPal before gaining access to their members area.
How the process works:
- Users complete a Frontdesk registration form on your site to create an inactive members account.
- Users are redirected to PayPal's site once they submit the form. When their payment is accepted, their inactive members account is automatically activated so they can log in.
- Users click the "Continue" button PayPal displays and are redirected back to your site.
- When a user's account comes to the end of its term (i.e., the number of days they paid for have passed), Frontdesk automatically deactivates their account.
Payment verification
Frontdesk uses PayPal's Instant Payment Notification (IPN) feature to ensure only paying customers are assigned an active members account.
IPN is also used to automatically deactivate a member's account when they cancel their subscription and it reaches the end of its term.
Registration forms
Use the two sample PayPal registration forms in the /frontdesk/app/templates folder as examples to follow in creating your own.
Users can sign up and submit a one-time payment or make recurring payments using register_paypal_single.php and register_paypal_subscription.php.
(More details on Frontdesk registration forms here.)
You'll notice that both forms contain hidden PayPal-specific fields that determine the details of the transaction (e.g., how much the user should be charged, how often they should be re-billed, etc.). Visit the page below to learn more about these fields: