credit-card

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

随声附和 提交于 2019-12-06 07:47:21
问题 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 if the card is valid. The first time the user enters a valid card details and the payment is done, if such user modifies the credit card details at that time i need to check again if the card is valid for paypal or not. So are there any APIs which

iOS credit card autofill persists on drop down inputs

不羁岁月 提交于 2019-12-06 06:25:05
I have come across a bug on a website I am working on with the credit card autofill iOS offers. I cannot offer a working example of this is as it requires a genuine SSL certificate in order for the autofill to appear on an iOS keyboard however I can actually get this to occur on Amazon's checkout too. In essence the issue is that after having been offered to autofill having focused on any credit card enabled input it looks like all drop down input keyboards will also offer to autofill your credit card. This happens even after a page refresh and even across different domains. All dropdowns will

Not scanning credit/debit cards using card.io

天涯浪子 提交于 2019-12-05 18:09:27
I am using card.io_ios_sdk_3.8.0 , I followed exactly what is mentioned in https://github.com/card-io/card.io-iOS-SDK . I am unable to scan credit or debit cards (VISA , Discover, etc). I get "NSScanner: nil string argument". I know I am making a mistake but I don't know how to track that. Is there any country based? - (IBAction)scanCard:(id)sender { CardIOPaymentViewController *scanViewController = [[CardIOPaymentViewController alloc] initWithPaymentDelegate:self]; scanViewController.appToken = @"<I have entered my app token>"; // get your app token from the card.io website [self

Integrating POS application with VeriFone terminal [closed]

北城以北 提交于 2019-12-05 14:54:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 11 months ago . Currently I'm working in a team creating a custom POS solution. We came to a point were we'd like to integrate with a IC/Credit Card terminal (like VeriFone which we have, i.e. Vx510). I think the simplest mode is to allow Cashier to manually enter into the terminal the amount a client has to pay. In more

Stripe: No such token.. a similar object exists in test mode, but a live mode key was used to make this request

时光怂恿深爱的人放手 提交于 2019-12-05 12:32:41
问题 When using Stripe in live mode I get this PHP error: No such token tok_fgfhn.. a similar object exists in test mode, but a live mode key was used to make this request Everything works well in Stripe test mode, and and I've switched to a live API key. I create a new customer like this: $token = $_POST['stripeToken']; $email = $_POST['email']; $customer = \Stripe\Customer::create(array( 'email' => $email, 'card' => $token )); //charge for user ads $charge = \Stripe\Charge::create(array(

Which algorithm does CreditCardAttribute use for credit card number format validation

落爺英雄遲暮 提交于 2019-12-05 11:50:42
.NET 4.5 includes a new validation attribute named as CreditCardAttribute and this attribute specifies that a data field value is a credit card number. When I decompile the assembly which contains this class, I can see the following code for the credit card number validation: public override bool IsValid(object value) { if (value == null) { return true; } string text = value as string; if (text == null) { return false; } text = text.Replace("-", ""); text = text.Replace(" ", ""); int num = 0; bool flag = false; foreach (char current in text.Reverse<char>()) { if (current < '0' || current > '9'

How to prevent the credit-card number field being cached by the browser

荒凉一梦 提交于 2019-12-05 09:09:23
I have an input field on a webpage that contains a credit-card number. What is the best way of preventing the browser from caching this value? Any solution needs to work on a large selection of browsers. Put attribute autocomplete="off" to your html form. E.g. <form name="form1" id="form1" method="post" autocomplete="off" action="http://www.example.com/form.cgi"> [...] </form> See this page . <asp:TextBox Runat="server" ID="Textbox1" autocomplete="off"></asp:TextBox> 来源: https://stackoverflow.com/questions/2715171/how-to-prevent-the-credit-card-number-field-being-cached-by-the-browser

Purchases in Android

此生再无相见时 提交于 2019-12-05 07:02:44
问题 How are purchases of physical products handled in android? Are there any limitants and/or considerations? As I read in this article: http://developer.android.com/guide/market/billing/index.html Android developers are only considering digital products not physical. Nevertheless,I just found an office depot app which let us choose physical products from their store, add them to a shopping car and check them out. Furthermore, when cheking out we also have the chance to add a payment account i.e.

Android payment processing through paypal/credit card

时光毁灭记忆、已成空白 提交于 2019-12-05 01:02:08
问题 hi guys i need an idea about how to process the payment by paypal/ credit card from the android app. Right now i have been converting an online website into an android app. And the final process is processing paypal/credit card payment. I dont know how to go about this. Looking for the response. Thanks in Advance... 回答1: If you want to continue with Paypal then this link will help you read (1,2,3 article) & download pay[pal API from it https://www.x.com/docs/DOC-2991 This api also have source

How to save credit card data in a database?

烂漫一生 提交于 2019-12-04 22:33:26
问题 I am working on an application in which it is required to store whole credit card numbers. Is this possible to do using any API? I have read about Authorize.net's Customer Payment Profile option, but it gives only last 4 digits when you try to retrieve that payment profile. I have also checked Braintree's v.zero API which gives first 6 and last 4 digits and also Stripe's customer creation option but it also gives only last 4 digits. If there is no API available, the only way to store credit