Paypal, kredi kartı doğrulama

3 Cevap php

I want to check that the credit card number provided by customer to my site is valid or not for further transaction. for that i wand to only verify taht the CC no is valid or not by Paypal. A method for that can be with paypal api step 1: DoDirectPayment with PAYMENTACTION=Authorization for amt of $1, then step 2: DoVoid that request

Does any one can tell me is any amount is charged by paypal for doing tis stuff? or any other better way you know?

Sitem PHP olduğunu ..

3 Cevap

Ben PAYPAL API DoVoid Fonksiyon yardımı ile yaptım. Ben kimlik doğrulaması modunda 1 $ bir ödeme yapıyorum ve bu başarı dönerseniz ben döndü işlem-id ile DoVoid kullanıyorum.

If you are concerned about whether or not the credit card is valid, you can always check it before posting the transaction to PayPal. I have written a CakePHP component for doing just that. This component could very easily be switched to a class and used for credit card validation: http://github.com/cdburgess/components/blob/master/billing_validation.php

Bu kontrol de çok kapsamlı:

  • what type of card it is (visa, master card, etc.)
  • if the card is in fact valid (using the luhn algorithm)

Önce PayPal gönderme için sisteminizde kart doğrulama avantajı gidiş dönüş maliyeti yoktur. Anlamı, sen doğrulama yapmak için PayPal API için bir istek göndermek zorunda değilsiniz. Şansı onlar zaten benim fatura doğrulama yapar aynı doğrulama yapacağız vardır. Bu sunucu üzerinde hızlı sağ yapılabilir.

Unutmayın, bu sınıf yakalamak olmaz tek şey kredi kartı dolandırıcılığı olduğunu. Bu bir servis gerektirir. Kart hakkında komik bir şey olup olmadığını satın fon işlemek için çalışırken Ancak, genellikle, paypal çekecektir.

Mutlu Kodlama!

Bir işlem değil bir yetkilendirme, yapıldığında PayPal ücretleri. PayPal izinler için ücret o zaman yetkili, kredi kartı girmiş, ancak daha sonra satın alma terk insanlar için ödemek zorunda kalacak.

Bu soru https://www.x.com/docs/DOC-1613 sorulması gereken