create_subscription_modal: Credit Card Modal to create a subscription

View source: R/create_subscription_modal.R

create_subscription_modalR Documentation

Credit Card Modal to create a subscription

Description

Credit Card Modal to create a subscription

Usage

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
)

Arguments

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 shiny::modalDialog

size

the size to pas to shiny::modalDialog

easyClose

the easyClose to pass to shiny::modalDialog

fade

the fade to pass to shiny::modalDialog


Tychobra/polishedpayments documentation built on May 13, 2022, 7:15 p.m.