Questions tagged [credit-card]

is used for questions related to payment cards. Questions regarding security of payment card data may want to consider using the pci-dss tag.

This tag is used with questions related to payment cards.

If your question is regarding security of payment card data, then you may want to consider using the tag.

Note that much of the advice surrounding this topic is region dependent, so it will help if you mention where in the world you are.

FAQs for this tag:
Which payment gateway should I choose

Terminology associated with this tag:
Merchant
Payment Gateway / Service Provider
PCI-DSS

1191 questions
1
vote
1 answer

Microsoft Azure Payment Options

I want to create an Microsoft Azure free account with my credit card. But I might purchase something by mistake. So if I deleted my credit card payment option from my Microsoft Azure Free Account will the subscription end or not free subscription 12…
Omar The Dev
  • 123
  • 1
  • 14
1
vote
3 answers

Why Heroku is always unable to verify my credit and debit cards?

I've tried 4-5 debits cards and 2 credit cards of different banks but the error "Unable to verify your card. Please try later or contact your financial institution for help." always comes up. I'm sure the information I'm filling is correct and…
Touqeer Pathan
  • 29
  • 1
  • 1
  • 2
1
vote
2 answers

finding CVV using Selemium and Python with Safari

I'm on a retailers web site and having trouble finding the CVV input field. Here's what I've tried. searchXml = '//*[@id="payment-preferences"]/div[1]/fieldset/div[1]/div[2]/div[2]/input' purchase = driver.find_element_by_xpath(searchXml) Here's…
Clay
  • 11
  • 5
1
vote
1 answer

Parallel credit card payments (akin to Paypal Adaptive payments)

I'm not sure this is the right place to ask but anyway: I have an e-commerce platform that I want to monetize based on a percentage of revenue made (eg. a store that uses my platform has an order for $100, so I get 1% or $1, while they get…
User123342234
  • 1,455
  • 14
  • 17
1
vote
3 answers

Chunk a string every odd and even position

I know nothing about javascript. Assuming the string "3005600008000", I need to find a way to multiply all the digits in the odd numbered positions by 2 and the digits in the even numbered positions by 1. This pseudo code I wrote outputs (I think)…
Chris
  • 1,667
  • 6
  • 34
  • 52
1
vote
1 answer

Valid VISA: 4222222222222 outputted as invalid

When running my program through cs50's submit50 check, everything works besides validating 4222222222222 as VISA (instead of INVALID) is output. When I print out the count variable before, then sometimes VISA is output. Any solutions would be much…
Nini
  • 23
  • 3
1
vote
1 answer

CS50 pset 1 credit (long divided by a number)

I am currently trying my best to solve the question. However, I have encountered the following problem: After checking the sum, I want to verify the first 2 digits from the card no. so I use the following method: int main(void) { long long ccn; …
heihei
  • 101
  • 8
1
vote
2 answers

Where do i find a list of dummy credit card numbers?

I have a very simple JS check and i am looking for a list of dummy cc numbers which i can exclude. Just for mastercard AmEx and Visa var dummyCCArr = new Array(); dummyCCArr=["5105105105105100","4111111111111111", "4012888888881881",…
alex
  • 4,804
  • 14
  • 51
  • 86
1
vote
1 answer

How do I print the response from Chrome Developer Tools onto my UI?

I have the following tokenisation credit card application, and I wish to print the output from google developer tools onto the UI. Below is a copy of of my index.html You enter the credit card details, exp date and cvv numbers onto the UI. You then…
mtab
  • 23
  • 5
1
vote
2 answers

Credit Card validator for Symfony 1.4

Is anyone using a working Credit Card number validator with Symfony 1.4? I found https://gist.github.com/181049 via http://brentertainment.com/2009/09/01/some-helpful-symfony-form-validators/ but at least the switch regex pattern appears to be…
Phil Moorhouse
  • 850
  • 9
  • 22
1
vote
3 answers

Python algorithm for Credit Card fraud

Prompt: Implement a function that determines whether or not a card number is valid, according to some simple algorithms. Assume that the credit card number is a string consisting of 14 characters and is in the format ####-####-####, including the…
Michael
  • 17
  • 2
1
vote
2 answers

Can you connect multiple USB Credit Card Readers to a single PC?

I realize this might not be the best setup, but humor me, is it possible to connect multiple USB Credit Card Readers to a single PC? Have anyone tried this before? How do you differentiate the data between the different readers?
pixelfreak
  • 17,714
  • 12
  • 90
  • 109
1
vote
1 answer

nested Arrays and accessing every other index in javascript

// All valid credit card numbers const valid1 = [4, 5, 3, 9, 6, 7, 7, 9, 0, 8, 0, 1, 6, 8, 0, 8] const valid2 = [5, 5, 3, 5, 7, 6, 6, 7, 6, 8, 7, 5, 1, 4, 3, 9] const valid3 = [3, 7, 1, 6, 1, 2, 0, 1, 9, 9, 8, 5, 2, 3, 6] const valid4 = [6, 0, 1,…
1
vote
1 answer

Python Selenium cant interact with pop up window

first of all i wanted to say that im quite new to python and selenium in particular. Me and a co-worker are trying to automate a web app to sort payments for us. everything works up to the part where a pop window appears.This pop up basically its a…
1
vote
3 answers

Get Card Type from Stripe STPPaymentCardTextField

I'm using the STPPaymentCardTextField to collect card information from the user. I can use the delegate method of the STPPaymentCardTextFieldDelegate to get information like the 'cardNumber, expirationMonth etc: func…
Alk
  • 5,215
  • 8
  • 47
  • 116