How to use NSDL PAN(Permanent Account Number) number verification API in php - account

NSDL APIS has Java sample code.
https://onlineservices.tin.egov-nsdl.com/TIN/JSP/security/DownloadCodesForOPV.jsp

This API is compatible only for RBL
Bank’s internal business use.

Checkout this Pan Card Verification API, gives you all info about the PAN Card number you enter.
Pan Card verification API

Related

Kotlin - Autofill SMS without READ_SMS permission

I need to do a feature to read the OTP from SMS and fill my field.
The only way today to do it is using SMS Retriever API from Google?
Nothing without a 3rd party lib?
I mean, Apple has it native.
We are avoiding using Retriever API because we don't want to change the SMS template we have.
Is there something that I can do about it?
The only alternative that is available now is to use SMS consent API, other than that it's not possible to detect the SMS now.
You can check about this by following the below link
https://developers.google.com/identity/sms-retriever/user-consent/request

How some whatsapp auto reply apps can use our own phone number to do auto reply? I want to build using PHP

I'm applying from Twilio to use their WhatsApp API service they are providing to build a WhatsApp auto-reply bot. But the problem here is that they want us to use the phone number they provide to us which we need to buy from them.
I tried using the URL 'https://api.whatsapp.com/send?phone=15551234567' but it just redirects to a page to send a message which I need to click 'Send' in order for it to submit our message. Besides that, we need to be able to trigger the application that a message is received from a recipient so we still need to access the API.
So how exactly is it I want to build a Whatsapp Auto Reply service to the public if Twilio provides it's own phone number only to reply. I want to reply using phone numbers that my clients register with me which is their own phone numbers.
As we know Whatsapp API is not open for public but how other Whatsapp Auto Reply apps are able to use our phone number to auto-reply to our recipients?
Would love some feedback or solutions from StackOverflow community. Thanks.
Twilio developer evangelist here.
Currently the Twilio documentation on using numbers on WhatsApp says:
Currently, we are unable to enable WhatsApp on non-Twilio numbers; support for this is coming soon and we will update these docs once available.
So this is just a current limitation and will be changed in the future.

In-App Payment, is it possible to save a list of user's credit card in Android App

I'm trying to build up an android platform that takes in user credit card info and charge it on use without inserting the credit card details after saving one. But I don't seem to actually see any possible work ways in the "In-App Payment" SDK and I think I see it under Square's java SDK. But as researched in github, their official reply is that I'm unable to use java SDK in android app.
So I'm trying to figure out has anyone done this before or face the same issue?
In-App Payments SDK is solely meant for generating a card nonce on your mobile application. All other API endpoints must be done on a server or service due to security reasons (you don't want to store your personal access token within your application). Once you have that nonce, you need a server or service running that your mobile application will talk to. Ie the most basic is passing the nonce to the Charge endpoint to charge a customer.
On that same note, we have another endpoint called CreateCustomerCard, which you can pass the nonce as well as customer_id to in order to save the card to this particular customer's profile. So, at the very least you'll need to create a customer in order to have their id.
For info around saving cards on file, see this post: Hot to generate card nonce for repeated transactions without making users to enter card details?

PayPal adaptive payment flow on React Native

I'm creating an app with react native that have a payment module with credit card and PayPal as payment module. The payment is automatically transferred to a vendor account subscribed in our platform
(Buyer -> Platform -> Vendor).
I already successfully created this payment flow in the credit card payment module using stripe as a payment gateway but i didn't find a way to do it with PayPal.
Here's a list of what i tried:
Adaptive payment: the problem with PayPal adaptive payment is that's it's not mobile friendly, the standard checkout page is not even close to being responsive. The lightbox checkout page need to open a new Popup which is not possible with RN WebView. And the Mini-Browser one do not return a response after the payment is done (check out this link)
Braintree SDK: Braintree has a pretty great SDK for RN that i already tested and it works great, the problem is that i need to use Braintree's master-merchant and sub-merchants technique to achieve the payment flow i need, but this technique is only available in the US and the funds needs to be in USD and my application is deployed in France using EUR as a currency.
Braintree SDK with PayPal payout: I could create a Braintree account to receive all the funds and then send each one to it's receiver (vendor) automatically but i couldn't find a way to do this
If anyone have an idea of how could i create this flow with PayPal on RN.
Fixed with using the PayPal express checkout with a payee object.
If you want to know more about this functionality i advice you to read more about it here: https://www.paypal-engineering.com/2017/01/03/setting-payee/ .
Now instead of calling the Adaptive Payment API i use the regular payment API with a custom payee and then give the user the express checkout link generated dynamically and finally i call the execute payment API to make the payment after having the client authorization.

OmniPay support for 2checkout API token payments?

Does anyone know how / if it is possible to use token billing? The 2Checkout API supports it and OmniPay supports token billing, but I've not had much luck and a quick look at the Official Gateway code doesn't seem to show support for it?
Anyone doing this / have any idea?
I can categorically state that it's possible to use token billing, I do so regularly. I'm not that familiar with 2Checkout but I have used token billing on stripe, paypal, PaymentWall, MultiCards, Fat Zebra and other gateways.
Is there a specific problem you're having that you can illustrate with some example code?
Does 2Checkout support token billing? Yes, and it works. However, there are some quirks with it:
You have to turn Demo Mode off on the dashboard or the 2Checkout and OmniPay API doesn't seem to work properly.
You have to send a Billing Address in order for the transactions to go through. If that doesn't work for you, such as for digital downloads, then you'll want to consider another payment gateway.
The billing address must contain a customer email and cannot be empty. Again, if that doesn't work well in your sales workflow, then you'll want to consider another payment gateway.
The billing address must contain a phone number, but CAN be empty.
I discuss this here as well as provide an OmniPay sample code snippet: https://stackoverflow.com/a/36807292/105539
Take a look at my project, TokenPay. I've weeded through the confusing docs and got it working on 2CO.
P.S. Don't ever forget your sandbox password -- they don't tell you this in the docs, but found out via tech support that their password reset on the sandbox login doesn't look disabled, but is disabled. (It would have been nice if they made that quite clear.) Instead, you'll have to create another sandbox account entirely when you forget a password there.