Create a Credit Card Web service - asp.net-mvc

I need to create a web service for school project, and I need to verify that the Credit details was entered are correct.
Can anyone help create this web service or provide some links with explanations ?
I need to verify the credit by it's number, cvv and exp date.
In Addition I'm working with MVC.
Thanks in Advance.
EDIT
Since I am not going to use real details, The only choice I have got is to check only the Credit Card number. What's the best algorithm for that ? and how I can determine the type of the card ?

Related

How do Airbnb implemented localization and realtime booking?

I was wondering if anyone know about how did the Airbnb implemented their system such that only local listings or listings within a specific area (based on the postal code) will appear to the user ? And also , how did they implemented real time booking so that if a property gets booked , it won't appear available to the next person ? Are there any API's available that could help me implement the same for my store ?
If anyone could provide any guidance , that will be very helpful.
Thank you !
AirBNB don't use Shopify.
It's an entirely different system. With that, they'll have very different technical abilities.

Braintree how to use stored credit card for payments

I have the Nuxt (Vue2) application with Braintree DropIn implementation. Everything works except the stored cards. I would like to activate the card which was used as the last one on DropIn load. Actually the active card is the one which was stored as the first one. How can I achieve this. It should be simple but I don't see anything about it in documentation.
Thanks for any help.
I think you did not fill out the annual Self-Assessment Questionnaire.
You must fill out a Self-Assessment Questionnaire (SAQ) annually to help you determine if your payment processing setup is PCI compliant. The SAQ includes a series of yes-or-no questions for each applicable PCI DSS requirement.
for more about this check out the documentation

google-cloud-speech - How to give feedback to Google for the transcript in French

I'm testing the API in French but for instance when I prononce the first name "Jules", i receive the transcript "Jul" which is incorrect.
How can I inform Google to change the transcript?
Currently, there's no way to give feedback regarding the results of the transcriptions. However, to improve your results, I suggest either using the SpeechContext phrases,the best practices or do the troubleshooting steps.

Accessing quizzes and turnitin.com dropboxes with valence

I am trying to collect some information on the usage of quizzes and turnitin.com enabled dropboxes for specific courses within the d2l database. All I really need is a way to tell via valence whether or not a course offering has a turnitin.com enabled dropbox and/or a quiz associated with it, though other useful information would be nice as well. Is there a way to do this with valence? I should note that I am aware of how to access a list of standard dropboxes, but I cannot seem to find how to tell if that particular dropbox is turnitin.com enabled. I have no starting point for quizzes. I appreciate your help, and please let me know if I can clarify anything. Thank you.
There is no current way to identify, through Valence, a TurnItIn enabled Dropbox. Our TurnItIn integration is an extension available to customers who have the appropriate TurnItIn licensing. Because we cannot assume it is in place, we cannot expose this data through Valence. I am not sure if this information would be available through TurnItIn API's.
In regards to Quizzes, today we don't have Quiz data exposed through Valence. One option for you, which isn't perfect, would be to parse through Content Topics looking for Quicklinks which contain a reference type of quiz. This would provide you with a list of how many quizzes are linked into the course's content experience.

What can I store locally while still being PCI Compliant using Braintree in Rails?

What credit card information am I allowed to store while still being PCI compliant if I am relying on braintree for payment processing?
The reason I am asking is because, as a simple optimization, if a customer has already bought something from my store with a credit card, I can show them the last 4 digits of their credit card, and the card type, without having to make an API call to BrainTree. I'd have to make the call if they wanted to change the card or make a purchase, but for that one page, I wouldn't.
Question is, am I allowed to store:
the last 4 digits of the credit card
and the card type
and possible the cardholder name
Or where is there a list of PCI compliance "do's and don'ts" I can check out?
Yeah, it's fine to store those things.
Check out the PCI Quick Reference Guide for a brief overview of what you should and shouldn't do.
As has already been said, it's ok to store that data.
Regarding "dos and don'ts", it would be worth it to check out the Open Web Application Security Project (owasp.org). In particular, look at their OWASP guide (available here http://prdownloads.sourceforge.net/owasp/OWASPGuide2.0.1.pdf?download) on how to develop secure web applications. They cover PCI compliance and best practices starting on page 53.
I would use something like attr_encrypted gem to protect that data in the database (see https://github.com/shuber/attr_encrypted).

Resources