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
7
votes
5 answers

Creditcard verification with regex?

What is the right way to verify a credit card with a regex? If which one to use there are tons online. If not how to verify?
level20dm
  • 176
  • 1
  • 1
  • 5
7
votes
1 answer

Best practices for taking and storing credit card information with PHP

Should I use sessions for the first few steps (validation, review purchase) then input the information into the database in the final submit? Could the cookies get jacked and transform into a lawsuit? Is it too risky? Would I need to protect my db…
chris
  • 2,913
  • 4
  • 43
  • 48
7
votes
4 answers

How do I charge someone a variable amount every 2 months without storing CVV code?

We have a physical product that is shipped every 2, 3, or 4 months depending upon customer preference. In between shipments the user may elect to modify their choices. Before anyone suggests it - I'm pretty sure a recurring billing system (such as…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
7
votes
4 answers

Token based credit card systems vs. traditional gateway

I'm trying to decide between Paypal PayFlow for a transaction processing service or a service like BrainTree. BrainTree's service intrigues me because they will actually return a token to you for a credit card which can be used in future…
Simon_Weaver
  • 140,023
  • 84
  • 646
  • 689
7
votes
2 answers

Paypal integration to accept credit card payment directly

I have a question regarding PayPal integration with my website. I have a Premier account with PayPal. I tried integrating it with my website by adding a 'Buy Now' button. When I click on it it asks the end user to create a PayPal account. However, I…
7
votes
2 answers

Discretionary data from magnetic strip credit card, how to parse?

according to wiki, the Discretionary data — may include Pin Verification Key Indicator (PVKI, 1 character), PIN Verification Value (PVV, 4 characters), Card Verification Value or Card Verification Code (CVV or CVC, 3 characters) This means…
mugetsu
  • 4,228
  • 9
  • 50
  • 79
7
votes
7 answers

LuhnCalc and bpay MOD10 version 5

I am using the following PHP code to calculate a CRN for BPay:
RussellHarrower
  • 6,470
  • 21
  • 102
  • 204
6
votes
5 answers

Does anyone know where there is c# code or a dll which can generate sample credit card numbers

For an application we are working on I need to generate sample credit card numbers which pass the Luhn algorithm but which are also unique, so we cannot use the sample credit card numbers. We need to be able to generate around 300 card numbers at a…
Kev Hunter
  • 2,565
  • 4
  • 25
  • 39
6
votes
1 answer

What does it take to write a PCI compliant assembly?

I have a WPF application that we have integrated credit card processing into. We're currently having the credit info swiped/typed into a webpage in a WPF web browser to satisfy PCI compliance. Apparently this is ok because the web browser component…
xr280xr
  • 12,621
  • 7
  • 81
  • 125
6
votes
1 answer

Interact with POS - Terminal Devices and Banking Switching Systems

I have a project in which I need to interact with POS - Terminal Devices and magnetic/chip cards. Let's say, whenever customer buy goods from my department store, staff from this store will stripe customer's financial cards and make payment…
Frank Myat Thu
  • 4,448
  • 9
  • 67
  • 113
6
votes
2 answers

Validating Credit Card Information - CVV Numbers

I am using authorize.net {aim} for my payment gateway. I am using test authorize for developer account. I have used https://test.authorize.net/gateway/transact.dll with C# and it successfuly works without error. But my client needs to validate the…
6
votes
3 answers

How much data, on average, does a credit card transaction use?

Not sure if this is the correct place to ask, but when a credit card is swiped at a POS terminal, how much data is passed for the entire transaction? Please include references if available. edit: I'm really looking for the number of kB/MB.
divided
  • 1,249
  • 5
  • 14
  • 27
6
votes
3 answers

Can Credit Card Numbers contain leading zeros?

Often I have stored credit card numbers in varchar(16). That works, but it takes 17 bytes per number. Storage is not that big a deal, but I like to be efficient, for both storage requirement, and table search time. If I could use decimal(16)…
700 Software
  • 85,281
  • 83
  • 234
  • 341
6
votes
2 answers

How to disable iOS Chrome password/credit card autofill?

On iOS 13 Chrome, when focusing on a text input, a wide gray bar will show on top of the keyboard with only a couple buttons for password and credit card autocompletion even though the input has attributes type set to "text" and autocomplete set to…
Samuel
  • 1,271
  • 1
  • 15
  • 29
6
votes
2 answers

Can a credit card cvv2 start with a 0?

This is a very simple question that isn't easily found on the internets. Can a credit card cvv2 number start with a 0? Example: 082 Common sense says no (since it's an integer and leading zeros don't change the value) but I have a report of an…
Che
  • 1,691
  • 1
  • 15
  • 8