Creating a donation based subscription plan for visitors to become members

Question:
I’d like to offer a month subscription to my websites premium features to anyone who makes a recurring monthly donation of $5 or more. How do I make this happen?

Product:
Wix Donations, Wix Pricing Plans, Wix Studio, Wix Automations, Wix CMS

What are you trying to achieve:
I’d like to offer a membership subscription to anyone who makes a monthly recurring donation of $5 or more to my cause.

What have you already tried:
Read about wix donation and pricing plans but couldn’t find anything useful to make this work. I’ve also browsed wix automations but there aren’t any options that would accomplish this. I’m wondering if there is velo code that might make this happen…

Additional information:
My website host a variety of tools to help people with end stage renal disease, chronic kidney disease, and other related conditions by offering an AI powered chatbot that specializes in recommending meal recipes based on conversations with the user, dietary restrictions, guidance from medical professionals, and personal preferences. It costs money to use AI chatbots with the necessary functionalities and I need help from the very people that need help. I am providing a simple chatbot for free on the homepage and a full featured one in the members area. Help me help people please. Thank you in advance.

It sounds like you’re trying to set up a system on your Wix site where people who make a monthly recurring donation of $5 or more get access to premium features, such as the full-featured AI-powered chatbot, as part of a membership benefit. Here’s how you can approach this with Wix, using the tools you have available:

Step-by-Step Plan:

  1. Set Up Wix Pricing Plans:

    • Start by creating a Wix Pricing Plan that offers access to your premium features (like the full-featured chatbot). This will be the membership that users can subscribe to after donating.
    • In Wix, you can create various tiers of pricing plans if you want to offer different levels of membership (e.g., basic vs. premium).
  2. Set Up Wix Donations:

    • You can create a recurring donation option using Wix Donations. This allows users to set up monthly donations to your cause.
    • Ensure the donation amount is set to $5 or more to match your requirements for granting access to the premium membership.
  3. Link Donations to Membership Access:
    Wix doesn’t have a built-in feature that automatically ties a donation to a subscription plan. However, you can use Wix Automations combined with Velo (Wix’s development platform) to create the link.

  4. Automate the Process with Velo Code:
    You can write a custom Velo code that detects when a user makes a recurring donation and then automatically grants them access to the pricing plan. Here’s a rough outline of how the process might work:

    • Detect Donation: When a user donates through Wix Donations, you’ll need to track the amount and frequency of the donation. This can be done using the Wix API to integrate with your donations system and track whether the donation meets the $5 minimum.

    • Grant Membership Access: If the donation is $5 or more, you can then use Velo to automatically assign that user to the corresponding pricing plan that gives them access to premium features. This can involve adding the user to a specific membership group or assigning them to a plan via the API.

    • Automation Example: You might trigger an automation in Wix that runs whenever a donation is received, checking if it meets the criteria, and then runs a Velo function to add the user to the plan.

    Here’s a basic example of what this could look like in code:

    import wixUsers from 'wix-users';
    import wixPay from 'wix-pay';
    
    // This is a simplified example of how you might use an automation to grant access
    $w.onReady(function () {
       wixPay.onPaymentSuccess((paymentInfo) => {
           // Check if the donation amount is $5 or more
           if (paymentInfo.totalAmount >= 5) {
               // Grant access to the premium pricing plan
               let user = wixUsers.currentUser;
               grantPremiumAccess(user);
           }
       });
    });
    
    function grantPremiumAccess(user) {
       // Add logic here to subscribe the user to your premium plan
       // Example: Add user to a membership or pricing plan
       // This could involve interacting with Wix's membership API or Pricing Plans API
    }
    

    Note: You’ll need to integrate with the correct APIs based on how you set up the donation and membership systems.

  5. Customizing the User Experience:
    After setting up the technical details, make sure the user experience is smooth. For example:

    • On your donation page, clearly explain that recurring donations of $5 or more will unlock premium access.
    • After the donation is confirmed, send an automated welcome email to the user with instructions on how to access their premium features.
    • Optionally, set up a welcome page or dashboard where users can easily see and manage their subscription.
  6. Testing & Adjusting:
    Make sure to test the entire process before going live to ensure that the donation automatically triggers access to the membership. Ensure that users who are eligible are successfully added to the pricing plan.

Challenges You Might Face:

  • Tracking Donations: You may need to periodically verify that donations are recurring and active (e.g., a user might cancel a recurring donation).
  • Velo Code Complexity: If you’re not familiar with coding, setting up this system with Velo could require some learning or professional help, but Wix’s developer resources are pretty accessible, and the Wix support community can be helpful.

Additional Considerations:

  • If your site grows, you might want to implement tiered memberships or special rewards for more generous donations.
  • Keep the donation process clear and transparent to ensure users understand the benefits they’ll receive.

By combining Wix’s Pricing Plans, Wix Donations, Wix Automations, and Velo, you should be able to create a functional donation-based membership system to fund your premium features while helping people with their health needs. If you need more specific help with the Velo code or setting up the system, I can guide you further!

Hope this helps!
Best regards, Diana
LiteBlue