polishedpayments | R package to easily add
kandi X-RAY | polishedpayments Summary
kandi X-RAY | polishedpayments Summary
polishedpayments is a R library. polishedpayments has no bugs, it has no vulnerabilities and it has low support. However polishedpayments has a Non-SPDX License. You can download it from GitHub.
R package to easily add a Stripe subscription with multiple price tiers to a Shiny app using the polished R package.
R package to easily add a Stripe subscription with multiple price tiers to a Shiny app using the polished R package.
Support
Quality
Security
License
Reuse
Support
polishedpayments has a low active ecosystem.
It has 15 star(s) with 4 fork(s). There are 3 watchers for this library.
It had no major release in the last 6 months.
There are 2 open issues and 6 have been closed. On average issues are closed in 7 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of polishedpayments is current.
Quality
polishedpayments has 0 bugs and 0 code smells.
Security
polishedpayments has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
polishedpayments code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
polishedpayments has a Non-SPDX License.
Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
Reuse
polishedpayments releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of polishedpayments
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of polishedpayments
polishedpayments Key Features
No Key Features are available at this moment for polishedpayments.
polishedpayments Examples and Code Snippets
No Code Snippets are available at this moment for polishedpayments.
Community Discussions
No Community Discussions are available at this moment for polishedpayments.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install polishedpayments
Create a Stripe account. Create a new Stripe "Product". Your user's subscription status will now be checked before your Shiny app's server logic starts. If the user does not have a subscription, polishedpayments will set them up with the default subscription. If the user has a subscription that is either in it's free trial period, or the user has set up a payment method, then polishedpayments will allow the user to continue to your Shiny app. If your user has a subscription in which the free trial has expired, but they have not yet enabled a payment method, then polishedpayments will redirect them to their account page where they can set up their subscription.
Create a Stripe account
Create a new Stripe "Product".
Create 1 to 4 Stripe "Price"s
Configure your Shiny app with your Stripe information using polished_payments_config in global.R. polishedpayments::polished_payments_config( stripe_secret_key = <stripe_secret_key>, stripe_public_key = <stripe_public_key>, stripe_prices = <stripe_price(s)>, trial_period_days = <stripe_trial_period_days>, free_roles = <polished_role_for_free_users> )
Wrap your Shiny server in payments_server(). e.g. my_server <- polishedpayments::payments_server(function(input, output, session) ( # your custom Shiny app's server logic ))
Add the "Account" page to your app using app_module_ui in secure_ui & app_module in secure_server NOTE: You must use "account" as the id for app_module_ui # Server polished::secure_server(my_server, account_module = polishedpayments::app_module) # UI polished::secure_ui( ui, account_module_ui = polishedpayments::app_module_ui("account") )
(Optional) Add button or link to redirect user to 'Account' page with go_to_account()
Example app available: https://github.com/Tychobra/polishedpayments/tree/master/inst/examples/polished_payments_min
Create a Stripe account
Create a new Stripe "Product".
Create 1 to 4 Stripe "Price"s
Configure your Shiny app with your Stripe information using polished_payments_config in global.R. polishedpayments::polished_payments_config( stripe_secret_key = <stripe_secret_key>, stripe_public_key = <stripe_public_key>, stripe_prices = <stripe_price(s)>, trial_period_days = <stripe_trial_period_days>, free_roles = <polished_role_for_free_users> )
Wrap your Shiny server in payments_server(). e.g. my_server <- polishedpayments::payments_server(function(input, output, session) ( # your custom Shiny app's server logic ))
Add the "Account" page to your app using app_module_ui in secure_ui & app_module in secure_server NOTE: You must use "account" as the id for app_module_ui # Server polished::secure_server(my_server, account_module = polishedpayments::app_module) # UI polished::secure_ui( ui, account_module_ui = polishedpayments::app_module_ui("account") )
(Optional) Add button or link to redirect user to 'Account' page with go_to_account()
Example app available: https://github.com/Tychobra/polishedpayments/tree/master/inst/examples/polished_payments_min
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page