MarkEdmondson1234 / stripeR

Interface between Stripe API and R
Other
8 stars 7 forks source link

Support multiple subscriptions in shiny form #6

Open MarkEdmondson1234 opened 8 years ago

MarkEdmondson1234 commented 8 years ago

shiny.R line 272

    ## doesn't support multiple subscriptions!
    ## todo: filter to subscription with $subscriptions$data[[X]]$created == now
    status$subscriptionId <- attempt$subscriptions$data[[1]]$id
    status$plan.id        <- attempt$subscriptions$data[[1]]$plan.id
    status$plan.amount    <- attempt$subscriptions$data[[1]]$plan.amount