View source: R/create_subscription_modal.R
create_subscription_modal | R Documentation |
Credit Card Modal to create a subscription
create_subscription_modal( input, output, session, open_modal_trigger, price_id, ui = tags$p(style = "text-align: center", "You are signing up for a subscription"), title = NULL, size = "s", easyClose = FALSE, fade = TRUE )
input |
the Shiny server input |
output |
the Shiny server output |
session |
the Shiny server session |
open_modal_trigger |
the reactive trigger to open the modal |
price_id |
the Stripe price id |
ui |
custom UI added to bottom of the modal |
title |
the title to pass to |
size |
the size to pas to |
easyClose |
the easyClose to pass to |
fade |
the fade to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.