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
11
votes
2 answers

IDTech Unimag Card Swiper on Android

I've been working on Android (v2.3) for a couple of weeks now, and I've stumbled upon some problems with the Unimag Card Swiper from IDTECH. The unit comes with a scarce documentation and the demo app from the SDK implements the firmware update and…
CodingDuckling
  • 595
  • 9
  • 20
10
votes
6 answers

How to process payments through cards?

I'm developing a web application, using ASP.net and C# need to provide a functionality through which users can pay through their cards (Credit card, Master card, Visa card, Debit card etc.) how do i process a transaction, means that when user…
Jame
  • 21,150
  • 37
  • 80
  • 107
10
votes
5 answers

Mask a portion of a String using RegExp

I'm trying to mask a portion of a string using JavaScript. e.g. Mask second and third segment of credit-card number like this using regex: 4567 6365 7987 3783 → 4567 **** **** 3783 3457 732837 82372 → 3457 ****** 82372 I just want to keep the…
Josue Soriano
  • 103
  • 1
  • 1
  • 6
10
votes
2 answers

Paypal REST API - Description/Item name missing

I am using paypal ruby sdk in order to process credit cards via rest api. Everything is working fine from perspective of credit card processing. Credit cards are processed properly without any kind of issues. Unfortunately, when i preform the csv…
cool
  • 3,225
  • 3
  • 33
  • 58
10
votes
8 answers

Collecting Credit Card Information - not to collect payment

I am working in PHP on a Linux server with MySQL. I have a requirement (that I have attempted to talk them out of) to collect credit card information from users so that our company can use the card numbers to hold hotel rooms for a conference. We…
Ammi J Embry
  • 637
  • 4
  • 17
10
votes
2 answers

Unable to add credit card to a managed account on Stripe

I'm working with Stripe managed accounts, I can create and retrieve Accounts without problem, but I can not add credit cards to any Stripe Account. I'm using Stripe.js to deal with the card creation process, so in the views I collect the card fields…
mcKain
  • 437
  • 5
  • 16
10
votes
4 answers

Chrome credit card autofill not being triggered

I followed the advice given in this other Stack Overflow post and used a pattern found in the list of regexes used by Chrome, but for some reason Chrome is still not detecting that my field is a credit card field. Safari detects it just fine.…
chadoh
  • 4,343
  • 6
  • 39
  • 64
10
votes
4 answers

How is 'processing credit card data' defined (PCI)?

If i have a web application and i receive credit card data transmitted via a POST request by a web browser over HTTPS and instantly open a socket (SSL) to a remote PCI compilant card processor to forward the data and wait for a response, am i…
Chris
  • 15,429
  • 19
  • 72
  • 74
10
votes
2 answers

Credit card type and validation

I would like to run a program that can determine the validation and type of credit card number based of number entered. Compiler shows notification that there is an error in my coding but I cannot detect where is it. The program is also cannot be…
user2947240
  • 101
  • 1
  • 1
  • 5
10
votes
4 answers

Is 42 a valid credit card number? jQuery validator thinks it is

We all know that 42 is the answer to everything, but it's news to me that it is a valid credit card number. Try entering '42' or '42176' into this jQuery Validation testing page and click OK. What's going on? I thought this was supposed to be the…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
10
votes
4 answers

Limiting impact of credit card processing scripts/bots

I'm involved in building a donation form for non-profits. We recently got hit by a fast round of low dollar submissions. Many were invalid cards, but a few went through. Obviously someone wrote a script to check a bunch of card numbers for validity,…
Alan Szlosek
  • 3,221
  • 3
  • 20
  • 12
10
votes
2 answers

Mobile-friendly input of a digits + spaces string (a credit card number)

I have a credit card number input form that will be used by both mobile and non-mobile browsers. I want to hint that a keypad should appear on mobile, and to allow (optional) spaces, so either "4111 1234 1234 1234" or "4111123412341234" should be…
John Carter
  • 53,924
  • 26
  • 111
  • 144
9
votes
2 answers

How to take credit cards online for future payments?

I have a couple of clients that want to take credit card details on their website that they can then bill in the future (one runs courses and users are only billed 4 weeks before their course if they haven't cancelled and one runs a charity and each…
deshg
  • 1,233
  • 4
  • 27
  • 45
9
votes
2 answers

Is there a correct way to mask a 15 digit credit card number?

15 digit bank card numbers are formatted 0000-000000-00000[1]. If I show the last 4 digits, it becomes xxxx-xxxxxx-x0000 which looks slightly goofy. Is there a correct way to format a masked 15 digit number? (I expect we will not show more than the…
700 Software
  • 85,281
  • 83
  • 234
  • 341
9
votes
4 answers

How Create TextField Like Credit Card Number in flutter?

How I give space between 4 digits ? Want help to solve issue
Muhammad Nadeem
  • 193
  • 1
  • 7