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
4 answers

Is this set-up PCI-Compliant?

I've been debating with a client who refuses to adopt PCI standards. I want to check with the community to make sure I'm correct in my objections. Question: Is there a way to store credit card information on a shared hosting server AND be PCI…
orourkedd
  • 6,201
  • 5
  • 43
  • 66
1
vote
3 answers

How to click on element which contains a credit card number that changes each time with Selenium Python

I have a problem to find element on credit card payment form, which contains a number that changes each time, so please help me to find the way to do it. This is the element:
FlutterLover
  • 597
  • 1
  • 11
  • 21
1
vote
0 answers

Not receiving decline_code from stripe with test card 4000000000000341

I've been testing my integration for a while. Testing integration with stripe is quite complicating to fully understand for me so far-- some things like manually making special rules for CVC correctness check etc. Now I'm straggling with receiving…
1
vote
1 answer

Should a dummy VISA Credit Card be accepted in QA environment?

I'm using a dummy Visa Card (Card Number: 4929804357275739 / Expiry Date: 08/22 / CVV: 249) for QA testing. I'm able to pay with a dummy card, and the transaction is authorized. In Production environment it isn't because it is used the…
1
vote
2 answers

Implement credit card payment using NFC (Flutter)

I'm trying to implement a credit card payment using a flutter app (like Apple/Goggle pay). The main goal is to store the relevant information about the credit card from a scan or from given details (whatever is possible) and later use it to make a…
Noy Bueno
  • 33
  • 1
  • 6
1
vote
1 answer

Stripe's v2 Stripe.card.validateCardNumber() equivalent in v3

So I looked around the web and couldn't find anything regarding card and bank validation methods that Stripe had in v2 but in…
seyet
  • 1,080
  • 4
  • 23
  • 42
1
vote
0 answers

Stripe.card.validateCardNumber returns true for some invalidate card numbers

So I'm using Stripe v2 and for some card numbers like 4242 4242 42 the Stripe.valid.validateCardNumber() doesn't catch any errors but if you send it to Stripe it tells you that the number is wrong! Is there any way to fix the validation issue within…
seyet
  • 1,080
  • 4
  • 23
  • 42
1
vote
2 answers

Best Android Developer method of payout for a 15 year old?

I am a 15 year old Android developer and I am wondering what the best way to get paid from the Android Market is. Do they have something like mailing checks or the like? I dont have a credit card or anything.
Qasim
  • 1,686
  • 4
  • 27
  • 51
1
vote
1 answer

Reusing purchase reference/order number after failed payment

I have a site that accepts credit card payments. The order number is generated, saved to the database, and gets sent to the payment gateway. In the event of a failed payment (invalid credit card number, etc), should the order number be retained, or…
Dave
  • 3,328
  • 7
  • 26
  • 30
1
vote
1 answer

Will there be changes to credit card type detection with the new 8-digit BIN/IIN?

This question has some answers for how to calculate credit card issuer based on the 6-digit BIN/IIN. Visa: ^4[0-9]{6,}$ Visa card numbers start with a 4. MasterCard:…
Rachel
  • 686
  • 1
  • 6
  • 18
1
vote
1 answer

How to check stripe card is valid and is still working without making any payment

I am working on a web app where I have user's stripe customer id. I have checked the docs and found that when we stores users card on stripe, stripe checks if it is valid and working for that time. On the other hand when payment is made we can check…
ali sufyan
  • 13
  • 3
1
vote
2 answers

How to avoid browser considering my inputs as credit card numbers? (they are not!)

In one of my webpages, Chrome is considering some number inputs as credit card numbers, and they are not, and I don't want users thinking I'm asking them such information. They are interval numbers, I never told the browser they were CC numbers, in…
1
vote
1 answer

cs50 pset6 Credit IndexError: string index out of range

When trying to launch the program, I get the "IndexError: string index out of range" error on line 19. Is it because I forgot to terminate the string or turn it back to int? Very new to python, so any help or trivia would be appreciated. I tried…
user16401948
1
vote
1 answer

Is there any way to hide encryption key or algorythm in php?

I want to save sensitive user data to my mysql database table. Naturally I want it to be encrypted before saved to the table. Many tutorials I saw on internet the tutorial makers write encryption keys and decryption keys in source code clearly which…
S.Grain
  • 182
  • 12
1
vote
1 answer

How can I validate Credit Card/Check Card Number?

I am making a custom view that checks valid card number. This is how I validate the card number. boolean validateNumber(CharSequence number) { // This is for an exception. if(number.toString().startsWith("941082")) return…
c-an
  • 3,543
  • 5
  • 35
  • 82