Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have integrated stripe on my app. But now I'm stuck at building stripe's subscription service and notifications on user dashboard. Currently the app stores stripe's customer_id with one of the plans selected in user model on signup.
Now, I would like to build a notification system on user dashboard based on subscription periods like:-
The user should be notified 15 and 5 days before subscription expiry.
The user should be notified on subscription expiry.
Now, my questions are:-
what would be the appropriate way to handle above mentioned problems ?
What would be the best schema design keeping in mind the above problems ?
Better idea's will be heartly appreciated.
Rails version 4.1.4, stripe 1.20.3, ruby2.1.2.
Hope the below solution helps you:
Based on subscription plans expiry date and user signup date you can easily notify to user whenever you want. You can also go see the stripe webhooks reference at: https://stripe.com/docs/webhooks
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 days ago.
Improve this question
I want to list all the meeting in the meeting room of outlook calendar through a get request in a node application. How is it possible? I tried Microsoft graph API but I cannot get any solutions.
I have registered an app in Azure AD and generated client secret ID also and set permissions as below.
Permission for app(image)
I followed the tutorial below:
https://learn.microsoft.com/en-us/azure/active-directory/develop/tutorial-v2-nodejs-console
Following this tutorial, I dynamically generated access tokens and I am able to list calendars of users, post events. But I cannot get event details of any calendars although permissions are of both Calendar read and write.
I have an idea for a service I'd like to create. However, I'm not sure if it is possible. Forgive me if this seems like a duplicate question, but I've searched everywhere for this and I can only find outdated or loosely related answers.
With the current state of the Instagram API, is it possible to do requests that will post images to a user's feed, as well as update profile information? Specifically, I want to allow someone the ability to, from my third-party app, make a post to their feed and update the text in their bio
This is currently not possible unless you are currently a Facebook Marketing Partner or Instagram Partner.
As stated on Facebook's Developer website:
The Content Publishing API is in closed beta with Facebook Marketing
Partners and Instagram Partners only. We are not accepting new applicants
at this time.
https://developers.facebook.com/docs/instagram-api/guides/content-publishing
I have created an application on Instagram and submitted for review 2 days ago but it is still in pending status. Would someone help me, please?
Thank you
the instagram review process can take up to a month regarding other users and my experience.
Just wait and keep patience.
I submitted my instagram app for review in month of July 2018 (3 months ago) and still it is pending review. I think they have stopped accepting new apps for instagram legacy platform. They have created Instagram Graph API but as of now, it can only be used for Instagram Business Account users. They might implement these new API for normal instagram users as well in future.
Not sure if the title makes sense, I will say this question is very similar to the one I posted yesterday but no response on seen here. I have a user sign up and select a plan, once they are set to said plan there is a trial day limit set using the stripe dashboard. I am not creating the subscriptions via the API. Once the day 30 days are up, how can I tell? Only way I can think of telling is checking if their account is older than 30 days and doesn't have a stripe token/last 4 numbers of their CC. There has to be a better way that is more secure and prevents them from canceling their card and still being able to use the service. I know there is no code in this post and should be, but the only code I think is relevant is in the linked post you should check out.
I should add, where should I put this code in my routes? And I am using node.js, express, swig, and stripe.
What you are looking for is Stripe Events. When an action happens on your account, Stripe issues an "event". You should set up a webhook in your dashboard, and an endpoint on your site or app to capture Stripe Events and process the data that is sent.
Stripe issues two perfect events for what you need: customer.subscription.trial_will_end which fires three days before the trial ends , and customer.subscription.updated which fires in multiple cases, including when the status is changed from trialing to active.
Read through the Stripe docs here to learn more.
Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 days ago.
Improve this question
I had a problem when use Amazon Web Service. I signed up succesfully Account in AWS.amazon.com, but I cant use amazon sevice.
I dont know why. My visa card is no money in there.
Amazon support sent me two mail
Greetings from Amazon Web Services,
We received an error while confirming the payment method associated with your Amazon Web Services account.
To use some Amazon Web Services, you must provide a valid payment method. Please update your payment method information at the following page:
https://console.aws.amazon.com/billing/home#/paymentmethods
Some common reasons why an authorization might fail are:
Amazon is not set up to accept the CVV2 security code associated with credit cards. Your bank may be able to temporarily lift this requirement.
The authorization is for a low dollar amount ($1.00), which your bank may decline.
If you signed up for multiple AWS services, a $1.00 authorization may be performed for each service. Your bank may approve the first authorization and decline subsequent ones depending on their security policies.
Some banks have restrictions on Internet transactions. You may want to check with your credit card company to see if they have such a restriction.
We recommend you contact your bank to determine the exact reason for the decline, or to ask them to take steps on their end to approve the authorization. Once your bank is ready to approve the authorization, please contact us back and we will retry this authorization for you.
If you feel you have received this e-mail in error, please include these details in your case.
Thank you for using Amazon Web Services.
Sincerely,
Amazon Web Services
Amazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210
Please help me...
Thanks all