Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/polar checkout #190

Merged
merged 5 commits into from
Jan 24, 2025
Merged

Conversation

dhanushd-27
Copy link
Contributor

Description

The feature involves integrating a Polar Checkout to streamline the subscription purchasing process. Users will have the option to choose from the following subscription tiers:

  1. Basic

    • Free subscription tier providing essential features at no cost.
  2. Plus

    • Available with both monthly and yearly subscription plans.
    • Offers enhanced features for an affordable price.
  3. Pro

    • Available with both monthly and yearly subscription plans.
    • Provides premium features for advanced users.

Implementation Details

To implement the Polar Checkout feature in a React/Next.js application, the following steps were taken:

  1. Checkout Embed Feature

    • Utilized Polar's checkout embed feature tailored for React/Next.js apps.
  2. Sandbox Environment

    • Worked with Polar's sandbox environment to:
      • Create subscription products (Basic, Plus, and Pro).
      • Generate links for seamless checkout integration.
  3. Documentation Reference

    • Referred to the official Polar documentation for guidance and support during the implementation process.

Testing

  • The subscription functionality was thoroughly tested for all the products (Basic, Plus, and Pro).
  • Used Polar's sandbox environment to test the payment process.
  • Verified that:
    • Subscriptions are correctly reflected in the Polar app.
    • Customers receive confirmation emails upon successful subscription

Screenshots / Demo

Screenshot 2025-01-22 at 12 12 30

Checklist

Please confirm that you have completed the following:

  • I have tested the feature thoroughly.
  • I have provided a clear and concise description of the feature implementation.
  • I have followed the code style and formatting guidelines.
  • I have added any necessary documentation or comments.
  • I have updated any relevant tests or test cases.

Check only those which are applicable.

Documentation Updated?

  • If your feature adds a new API, then documentation related to the feature like API-Contracts, and Data-models must be updated.

Breaking Changes

  • If your feature introduces breaking changes or if something is missing, please mention the related issue tickets.

Development Tested?

  • Confirm whether the changes have been tested locally during development.

Tested in Staging?

  • Indicate whether the changes have been tested in the staging environment.

Under Feature Flag

  • Specify if the changes are currently under a feature flag.

Database Changes

  • Indicate whether the changes include modifications to the database.

Issue ID

[Include any related issue numbers or links here.]

@SkidGod4444 SkidGod4444 added this to the AI Pipeline Integration milestone Jan 23, 2025
@SkidGod4444 SkidGod4444 linked an issue Jan 23, 2025 that may be closed by this pull request
4 tasks
@SkidGod4444
Copy link
Member

@dhanushd-27 You are using a sandbox here, not a live environment! So, add the sandbox in development mode and then switch to live mode in production.

@dhanushd-27
Copy link
Contributor Author

@SkidGod4444 Don't forget to add links in the config file

Let me know if I have made mistakes will try to correct it

@SkidGod4444 SkidGod4444 merged commit 2f91bf6 into plura-ai:main Jan 24, 2025
2 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💡 [FEATURE]: Polar Checkout Integration
2 participants