Code sample for Paypal subscription with ASP.NET - asp.net

Is there a code sample or a really good article that talks about integrating Paypal subscriptions with a ASP.NET website?
I'd like to provide a 30 day trial period during which they are not charged (even if they cancel). If they choose to continue, they are charged every month. The paypal documentation is not very helpful and I've yet to come across a code sample that implements this.
Any help is appreciated. Thanks

Disclosure: this is a blog posting I put out:
http://www.codersbarn.com/post/2008/07/10/ASPNET-PayPal-Subscriptions-IPN.aspx
From memory, if you check the PayPal parameters, there is a way to set up trial period.

Related

Firebase & One Signal Push Notifications Guidance

I have been playing around with One Signal & Firebase Push Notification.
I am almost sure One Signal cannot help me and am starting to feel Firebase might also not be able to help me.
We have a web app that allows regular authors to post articles. It also allows users to comment on the article using Firebase synced realtime database.
I want to create functionality where users can get a push notification for article-specific comment treads. The room ID will be the article ID. If both allow push notification generally from our app and has commented on an article, they subscribe to this article comment tread solely. They can also click a button at this specific article comment thread and unsubscribe to this article comment thread if they want.
So we may have thousands of articles and hundreds of comments in each article, to put it lightly.
I quickly moved away from One Signal when I didn't feel like I could have a separate "Segment" for each article, I wasn't certain this is allowed? Thoughts there?
Throughout my exploration of Firebase I just came across this comment in their documentation in relation to groups (Which I was hoping could be my article room).
"The maximum number of members allowed for a notification key is 20" found here. A key is a group key from my understanding. This won't work because what if there are more than 20 users in a comment thread. I looked up the most popular commented threads ever to find numbers like 500. This means my system would have to be able to support large numbers of users per article tread.
Additionally One Signal Tags and Social activities look like could be investigated, but my general question is not specific, its more a wider general question. I am hoping someone with experience can give some guidance and good tips on best way to approach this problem. Are Push notification even allowed on such a scale I am wondering?
A scaling examples
1000 Articles with 100s of different users commenting on each article. A user may only receive a push notification on articles which he has commented in only.
(Assuming he has allowed push notification site-wide first and not blocked us or unsubscribed from the site entirely. Subscribing to the site doesn't automatically subscribe you to anything specific, just means you willing to be subscribed to something and have control which things easily)
Ok thanks for reading and looking forward to hearing from someone with this experience and share their experience.
Daniel Gadd # GaddBox
Maybe it's a bit late.
You have to use topics.
FCM topic messaging allows you to send a message to multiple devices that have opted in to a particular topic. You compose topic messages as needed, and FCM handles routing and delivering the message reliably to the right devices.
In your case, every Article is a topic.

Gravity forms Authorize.net add-on deducting regular amount instead of trail amount.

I am using gravity form add-on of authorize.net to create monthly subscription in one of my WordPress site.
I have set the subscription amount to $50 and 1 month trial for $1 but when the transition is done the total amount charged $50 and authorize.net merchant interface shows me that trial period is set for on month with 1$ and amount is $50.
i am confused is there anything i am missing ?
I did a quick test using the latest versions of both add-ons (GF v1.8.3 and Auth.net v1.5) and this worked as anticipated. Does your Auth.net account support Automated Recurring Billing (ARB)? If yes, and you're still having issues, Gravity Forms support can help you get this figured out.
Note to moderators: I would have left this as a comment given that is isn't an actual answer to the issue but I do not have enough reputation to leave comments.

Can you use Google Analytics to view individual visits?

Say I have an article which has been viewed 100 times and has an Average Visit Duration of 01:00:00 hrs. Is there any way I can break down those statistics - and see how long each individual visit lasted for?
(I should state that I'm not looking to find out information about particular IP addresses or anything like that. I just want to get some idea of the 'mode visit' - the time most people spent on the page.)
Google Analytics doesn't provide enough detailed insights for invividual visitor details. If you want a more granular data try CardioLog Analytics
Yes, right, Google doesn't provide that. I tend to use sitemeter in conjuction with Google. Not sure if I recommend sitemeter though. It does give specifics about individual visitors, but they are very flaky. I don't think I've ever gotten a response from their so-called "tech support" or anything else from them.
The short answer is no, you can't. Google Analytics doesn't provide individual visitor details as it violates the GA Terms of Service.
However there are a couple ways to get at or close to this information:
1) Create an advanced segment - use the "Page" dimension and include the URI of the article on your site. Apply it and then look at the city or service provider report - it will show you all visits that viewed the article.
2) Keep a copy of the tracking data sent to Google and process it with on premises web analytics software that doesn't have the same ToS/privacy restrictions.

Google Analytics - Custom Alerts for Real-Time data

I'm looking to create a custom alert to notify me whenever X number of people are on the site at once. This data is already available using the Real-Time reports page. However, this does not seem possible via the Intelligence Events section. From there, I'm only able to create custom alerts based off Day, Week, or Month data. Has anybody found another area of Google Analytics that would make this type of report possible?
Google Analytics have just launched a Beta of their Real Time API which might let you do this: http://techcrunch.com/2013/08/01/google-launches-real-time-api-for-analytics-in-invite-only-beta/
You can use the real-time API for that. It's been possible for quite a few years now. You can find all the documentation for that right here. It's typical OAuth + JSON API.
You can also use a paid service. I built one, Metrics Watch. It really depends of your goal and how critical this is to your business/job. If it's critical, I would highly encourage you to look for a paid service, no matter which one.
Hope that helps!

What is the most useful information to display at the front of the office?

The company I work for has just purchased 4 32" LCD screens to be mounted at the front of the office for demonstration purposes. Whilst we are not demonstrating (most of the time), the screens are to be used as development information screens for the whole team.
What information would people recommend displaying to be most useful to the team? Our focus is on hosted business web-apps but I am interested in what other teams doing other types of development find useful too. Pointers on how to gather the displayed information would be useful also.
Information about your continuous integration status.
Major Development Milestones that have been hit in the last week
Releases within the last month (including a short description why this release is awesome)
Use it as motivational board. The achievements of software development are seldom communicated well enough.
Since you're hosting apps for your customers, server and network status information would probably be useful.
Heck, why not create a "chat room" for the dev team to discuss issues and post a streaming version of that as well?
Schedule information, Scrum notes from that morning, a gantt chart...the possibilities abound.
Outstanding bugcount, sorted by priority and severity. You can likely get this from your bugtracking tool programmatically.
Depending on your process management
system, possibly a list of feature
requests and the percentage complete
on each of them. Again, you can probably get this programmatically from your process management / time tracking tool.
Time spent in the current development
cycle, and time remaining. Again, this should be available from your process / management / time tracking tool. You may want to use this data with your bugcounts as well to give a bugs / day fix rate.
If you're a public company with a
profit-sharing plan (i.e. stock or
options), the current price of the
stock (this can be surprisingly
strongly motivating). You can get stock data from several sources online programmatically (although a small delay may be injected unless you're paying for the service).
The movie 'Office Space'
Weather radar from intellicast.com
Latest Checkin.
Number of checkins per day
Number of customers that use software
Metrics on Bugs found/fixed and the ratio.
One screen could be an aggregated RSS feed of development topics pulled from sites such as Stack Overflow (or even Coding Horror). Not sure what your goal for these screens is, but I could see it useful to me if you had a feed with topics specific to your development team headlined. If I were there, I'd glimpse them, maybe catch an interesting thread, and go learn something. Funnel a bunch of keywords and tags through a Yahoo Pipe and dump it to the screen.
That's if they are more "informal and informational."
I think most popular pages from your webapp(s) would be a fun/interesting thing to show on a big monitor up front.
Another would be a live feed of your error reporting.
We have one monitor showing all meetings for the day, with start-end, subject, and room. I find this helpful, not only for my orientation, but also to see what other people do at our company.
xkcd, bunny, dilbert and savage chickens :-)

Resources