View source: R/credit_card_module.R
credit_card_payment_module | R Documentation |
Server logic for Stripe Credit Card input
credit_card_payment_module( input, output, session, trigger = function() NULL, amount, currency = "usd", 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 |
amount |
a positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency) |
currency |
The currency. Defaults to "usd" (United States Dollar). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.