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
3
votes
1 answer

I am looking for a test CC number that will fail for certain dollar amounts/range

I am using Chase PaymenTech for my credit card processing. I am well aware of the typical test numbers that will work at all times. And I am aware of test numbers I can use that will fail all of the time. What I am looking for is a test credit card…
Eves
  • 227
  • 1
  • 4
  • 17
3
votes
2 answers

I need to store only last 4 digits of credit card

I am using Braintree for payment gateway. I have a requirement where I need to store only last 4 digits of credit card, expiry date (As per PCI Complaince). I have implemented front-end code in javascript and on sending data to server, credit card…
Abhishek
  • 1,999
  • 5
  • 26
  • 52
3
votes
5 answers

Thoughts on security model to store credit card details

Here is the model we are using to store the CC details how secure does this look? All our information is encrypted using public key encryption and the keypair is user dependent (its generated on the server and the private key is symmetric encrypted…
Faisal Abid
  • 8,900
  • 14
  • 59
  • 91
3
votes
1 answer

How to refund clients when payment card details aren't stored?

People buy stuff on my site through PayPal or payment card. I need to refund some clients now but I don't have their payment/card/bank details that I could use to do so. Considering that not storing payment details is common and refunding people is…
drake035
  • 3,955
  • 41
  • 119
  • 229
3
votes
4 answers

Detecting throw away and virtual Credit Cards

The type of business I run allows customers to get results before they pay. I take their credit card information when they sign up, and afterwords anywhere from a week to a month charge them for my services. Most of the time this goes smoothly, but…
Steffan
  • 307
  • 5
  • 16
3
votes
1 answer

Stripe : Failed Recurring Payments

We are a small start-up business that started about two months ago. We use Stripe as the primary payment processor along with PayPal as the secondary option. Our plans are monthly subscriptions ranging from $5 to $25 per month. Our payment form…
Armin
  • 369
  • 2
  • 5
  • 23
3
votes
1 answer

how to get safari to autofill a credit card expiration date month/year select tag?

I have a form with select tags labeled autocomplete='cc-exp-month' and autocomplete='cc-exp-year'. Chrome will autofill them fine but safari does not fill them. Both chrome and safari fill in the input on the same form labeled…
ashanbrown
  • 717
  • 8
  • 18
3
votes
2 answers

python: two way partial credit card storing encrytion

For my ecommece site, I want to store partial credit card numbers as string, for this I need to encrypt the information to store at the database and decrypt when users want to reuse the already entered credit card info from earlier purchases without…
Hellnar
  • 62,315
  • 79
  • 204
  • 279
3
votes
1 answer

Is it safe to have a credit card model?

We are now building payment options on our .net MVC app. Up to now we have successfully linked paymant with Paypal options, but now we are at the stade of introducing and testing credit card options. So we are wondering if it is safe, even…
hsim
  • 2,000
  • 6
  • 33
  • 69
3
votes
3 answers

how to check if the credit card is valid or not for paypal

I have to take the user credit card details for payment through paypal. The first time the user enters the card's details the payment is done through paypal pro. If the card is not valid, the payment will not be done. The payment will be done only…
Avinash
  • 6,064
  • 15
  • 62
  • 95
3
votes
8 answers

PHP DateTime credit card expiration

I'm trying to use DateTime to check if a credit card expiry date has expired but I'm a bit lost. I only want to compare the mm/yy date. Here is my code so far $expmonth = $_POST['expMonth']; //e.g 08 $expyear = $_POST['expYear']; //e.g…
paul
  • 731
  • 2
  • 9
  • 13
3
votes
3 answers

How to process credit card from a RoR application ? Stripe is not available in my country

I wasn't sure where to ask this so decided to ask at SO, I have built an RoR app and want to process credit card of clients (monthly subscription), how can I do it (stripe is not available in my country) ? I meant what options I have (I can search…
3
votes
5 answers

What is a good tutorial or book to learn credit card processing using PHP?

I am looking for a good tutorial or book that explains how to process a customer's credit card from a form on your site. I read something about using curl, but it wasn't a complete tutorial. I am looking for a lesson that will take me from step 1 to…
zeckdude
  • 15,877
  • 43
  • 139
  • 187
3
votes
0 answers

Apple in-app recurring payments — what happens if authorized credit cards balance is zero?

From documentation it is not clear if Apple keeps trying to renew subscription after first unsuccesfull attempt (not enough money on the card, eg). Should I keep verifying receipt validity if it is not renewed in one hour after subscription is over?…
Samat
  • 511
  • 1
  • 6
  • 15
3
votes
1 answer

Correct API for accepting credit cards directly on my site using PayPal?

We need to accept credit cards (from anywhere in the world) directly on our website. We'd like to use PayPal, but NOT require a PayPal account. The user should be able to simply type in the credit card, date and cvv directly on our site and go. I'm…
Vern Jensen
  • 3,449
  • 6
  • 42
  • 59