Going through your non-Shiny example below I get the following error on the charges call:
Request: https://api.stripe.com/v1/tokens
Stripe API fetch successful
Error in do_request("https://api.stripe.com/v1/charges", request_type = "POST", :
argument "idempotency" is missing, with no default
Going through your non-Shiny example below I get the following error on the charges call: