• Skip to primary navigation
  • Skip to main content

RocketGeek

Home of WP-Members, The Original WordPress Membership Plugin

  • WordPress Plugins
    • WP-Members
      • FAQs
      • Quick Start
      • Documentation
      • Extensions
    • Advanced Options
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Download Protect
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Invite Codes
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • MailChimp Integration
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • PayPal Subscriptions
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Salesforce Web-to-Lead
    • Security
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Text Editor
      • Purchase the Plugin
      • Get the Pro Bundle
    • User List
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • User Tracking
      • Documentation
      • Purchase the Plugin
      • Get the Pro Bundle
    • Memberships for WooCommerce
    • WordPass
  • Store
    • Cart
    • Checkout
  • Blog
    • Basics [Free]
    • Tips and Tricks
    • Filters
    • Actions
    • Code Snippets
    • Shortcodes
    • Design
    • Release Announcements
  • Contact
  • Sign In
  • Show Search
Hide Search
Home » How I Did It » Utility function to determine if a user registration is pending with the PayPal addon

Utility function to determine if a user registration is pending with the PayPal addon

Chad Butler · May 3, 2013 ·

For users that are diving into customizing their installation and using the PayPal addon, here is a utility function that will allow you to determine if a registered user is pending (i.e. they have not yet paid).  This can be useful for content display that you may intend for any registered user regardless of payment status, or some other use.

I use this function on the rocketgeek.com site to display information on which posts are free and which a only for paid premium users.  This information displays if the user is not logged in OR if they registered and are logged in but did not yet complete payment.  

This article is only available to WP-Members Support Subscribers. If you have an existing subscription, please login below. If you do not have a current support subscription, you can purchase a support subscription here.

Already a Member? Log In Here
   
Forgot password? Click here to reset

To gain full access to WP-Members premium content, a current support subscription is required. You can purchase an annual support subscription for as little as $59, which provides you with access to priority support, a customer support forum, access to code snippets, and more.

Why wait? Choose your subscription option here.

[
Why join?]

How I Did It, Tips and Tricks paypal, tips, utility

Welcome to RocketGeek Interactive › Forums › Utility function to determine if a user registration is pending with the PayPal addon

Tagged: PayPal, tips, utility

  • This topic has 2 replies, 2 voices, and was last updated 2 years, 4 months ago by Chad Butler.
Viewing 0 reply threads
  • Author
    Posts
    • October 12, 2018 at 4:22 pm #15646
      dva1946
      Blocked

      Chad,

      We have a site we are introducing subscriptions (southernaz.org LIVE / gvaz.org DEV).

      In a DEV and Sandbox environment, our subscription is: 90 days free, one year $30 thereafter. This is exactly the model we need for our site (today).

      During the TRIAL PERIOD, we have noticed the THE Subscriber is PENDING until he/she makes a payment for the ACTUAL SUBSCRIPTION (say in 90 days via AUTOMATED PAYPAL). MEANING they CAN NOT USE the full functionality of the site (which you acknowledge in this documentation and your site as an example).

      In this MODEL we can not offer a TRIAL PERIOD free or $1. Can only remove trial period, WHICH WILL NOT WORK FOR OUR NEW BUSINESS.

      We may see a work-around FROM ABOVE CODE SNIPPET and PUSH USER DIRECTLY TO PAYPAL.

      Your thoughts please!

      Dave Van Abel

      • October 12, 2018 at 5:50 pm #15647
        Chad Butler
        Keymaster

        It sounds like what your using is recurring billing. There are two models for billing users – recurring and basic.

        If you use the recurring billing model, the ONLY way for a trial period to begin is when the user completes the PayPal information. The billing will not start until trial period is over.

        In the basic billing model, a user can register and begin a trial. They don’t need to do anything until the trail period is over, at which time they’ll be prompted to complete payment.

        Those are the only two options.

  • Author
    Posts
Viewing 0 reply threads
  • You must be logged in to reply to this topic.
Log In

Ready to get started?

Join Today!

© 2021 · butlerblog.com · RocketGeek is built using WordPress, WP-Members, and the Genesis Framework

  • butlerblog.com
  • WP-Members Support Subscription
  • Terms of Service
  • Refund Policy