View source: R/credit_card_module.R
credit_card_module | R Documentation |
Server logic for Stripe Credit Card input
credit_card_module( input, output, session, trigger = function() NULL, billing_details = function() list(), stripe_secret_key = .pp$keys$secret )
input |
the Shiny server input |
output |
the Shiny server output |
session |
the Shiny server session |
trigger |
the reactive trigger to submit the payment to Stripe |
billing_details |
reactive returning a named list of billing details. Valid list element names are: - "name" - "email" - "phone" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.