We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subscription.get
Was getting a subscription w/just a subscriptionId as noted here https://stripe.com/docs/api#retrieve_subscription but I had to give the userId as well to get streifen to play nice.
subscriptionId
userId
Error:
[error] /Users/MJR/dev/myPetDefense/src/main/scala/com/mypetdefense/service/ParentService.scala:182: not enough arguments for method get: (parentId: String, id: String)(implicit exec: me.frmr.stripe.StripeExecutor, implicit mf: Manifest[me.frmr.stripe.Subscription])dispatch.Future[net.liftweb.common.Box[me.frmr.stripe.Subscription]]. [error] Unspecified value parameter id. [error] Await.result(StripeSubscription.get(subscriptionId), new DurationInt(10).seconds)
solution:
def getStripeSubscription(stripeCustomerId: String, subscriptionId: String): Box[StripeSubscription] = { Try( Await.result(StripeSubscription.get(stripeCustomerId, subscriptionId), new DurationInt(10).seconds)
I think it should just be subscriptionId unless I'm missing something.
The text was updated successfully, but these errors were encountered:
Subscriptions weren't always first class objects. It looks like in the latest API, they are.
So yeah, that needs to change. :)
Sorry, something went wrong.
No branches or pull requests
Was getting a subscription w/just a
subscriptionId
as noted here https://stripe.com/docs/api#retrieve_subscription but I had to give theuserId
as well to get streifen to play nice.Error:
solution:
I think it should just be subscriptionId unless I'm missing something.
The text was updated successfully, but these errors were encountered: