It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
How can we implement credit card transactions in Yii?
You may use any number of payment gateways with Yii Framework, PayPal, Authorize.net, etc. You simply need to sign up for a merchant account with one of these payment gateway providers and the corresponding API should give you details on how to perform the transaction.
Your question is not that detailed of what you have tried or you are asking about API or something. What i can say is
Stripe
has a PHP library to accept credit cards without needing a merchant account.
If you need something quick and dirty, you can just use PayPal's "Buy" buttons and drop them on your pages. These will take people off-site to PayPal where they can pay with a PayPal account or a credit card. This is free and super easy to implement.
If you want something a bit nicer where people pay on-site with their credit card, then you would want to look into one of those 3rd part payment providers.
Basic procedure is something like PayPal works like
There is no "Yii specific" payment gateway integration. Remember, Yii is just a PHP framework. Anything that works with PHP works in Yii.
There are millions of payments gateways, pick one, read their documentation on implement that solution.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am going to build a new MVC4 web based application, so i would need to create new solution and different kind of projects. So my question what type of projects i would need in my solutions.
My requirement is as following-
We have different travel agents working with us each having its unique name. May be 4-5 for now. The plan is to create 4-5 different URLs and handle it over to those travel agents.
Here is a sample User Story
User (for e.g travel agent id 1) should be able to come to URL mywebsite/agent/1 and he sees all the available tickets related to that agent which will coming from external web service and is not under my control.
He selects the products and click buy which again calls up some web service goes to their service and comes back with confirmation number.
This is pretty much it for the application.
So my question is in terms of what all projects should i create for such application.
Thanks
I would suggest you get a copy of either Pro ASP.NET MVC 3 Framework, Third Edition or Pro Asp.Net Mvc 4. Either way, i usually do a blank solution and then add 3 projects like Something.WebUI, Something.Domain, Something.UnitTests (Only if you want to write tests, highly recommended).
Another option is you can head to Pluralsight and watch a video by Scott Allen
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
SO is using multiple ways for user to get logged in, like using emails addresses from gmail, yahoo, facebook, stackexchange and open ID.
User might can use e.g; gmail and enjoy SO for few days and then due to any or some reason (I assume, he forgot actual way), he starts using facebook. Now SO will have multiple records for same user. Is there any way, sites can recognize there old members ?
Its just a confusion, I am curious about the concept. Like one way to register and login would be enough and would help to keep member's SINGLE record for the life. I would prefer site's own registration and login forms.
You cannot recognize a user when "logged in" using different ways. Unless you ask the user to link the different ways to ONE user profile. StackExchange makes this possible, you can simply add another OpenID identity to your user.
As soon as you enable user authentication through OpenID or OAuth for your service you WILL have this challenge and can either choose to solve it by enabling "linking" of identities to a user artifact, or you can choose to ignore it.
Are you confused about the benefits of OpenID?
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm making a game in C# and was wondering how to authenticate a user. I want it to be similar to minecraft where user makes an account and can pay to make their account premium. People on the team know most languages, so that isn't a limitation. We have a fairly large budget so that isn't a limitation either.
How would I go about doing this?
If you know how to do this and you want to be part of the team just post a comment.
Thanks
Just within the .NET framework you have multiple options. You could allow impersonation for anonymous access to certain parts of the site and maintain different users for paid accounts (doesn't need to be an AD/whatever user per paid account).
If you don't want to use AD user per account etc. you could write an identity service which passes back a token, allowing your game/site to log the person on as a certain user. If you want claims based identity, you could use the WIF SDK.
If you're happy with AD based basic authentication per user, that's pretty simple. You could pull the user's principles from AD to see if they are in the paid for group etc.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I need to build a web application that sends a free SMS to its users. Now the problem is That I have no clue as to where do I get a free API to get this to work and how? Can someone help?
I believe most of the 'free' APIs make their money with ads embedded in your messages or sent along as a separate message. Additionally, the messages will likely come from a shared short code. If you're okay with those limitations, as #anirvan commented, google is your friend - here's just one example. Unlikely that you'll get wide international support (if that's something you need).
You could also try the email to SMS route, as many carriers will accept email to a unique address and forward that to the user. Again, google can help in finding those mappings. Note that the messages may not be in a desirable format, and if you do this with any volume, you may incur the wrath of the carriers.
There's also low cost APIs - certainly not free - but perhaps worth considering depending on your use case. Here are a few:
Nexmo
Twilio
Tropo
If cost is your main concern, I think you'll find Nexmo has the most competitive prices.
Disclosure: I'm a developer evangelist for Nexmo.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I apologize in advance for this not being a specific programming question, but I believe this is the best place for such an inquiry.
Basically, I have an idea for what I believe to be an interesting social networking site (not just a clone of existing things, but something useful and unique); I have a detailed specification document describing how everything works, but I'm not sure how best to proceed from here. Architecturally, it seems like it would be most similar to something like Twitter, and I have some idea of what technologies are involved in this (SQL database, ajax, mobile integration, etc.). I do not have the time to code everything myself, and honestly some of it is likely beyond me. So, I suppose my pool of questions is something like this:
Assume I am non-programmer with a legitimately good idea for a new and large-scale social networking service, similar (in architecture) to Twitter, and some capital to make it happen:
How do I proceed?
What is the architecture behind a site like Twitter and what technologies does it use? How do I find people with experience building these types of systems for consulting/development purposes?
Are there any initiatives (government or otherwise) that can help me in such a start-up endeavor?
I appreciate any help you can offer. Thanks, and again I apologize for the broadness of this question.
The High Scalability blog ( http://highscalability.com/ ) periodically describes the architecture of major sites. Browse through archives there to get a feel for how they get built.