Android Google Pay Integration - android

In the google pay API one needs to mention the gateway for tokenization for payment details.
tokenizationSpecification: {
type: 'PAYMENT_GATEWAY',
gateway: 'example',
gatewayMerchantId: 'exampleGatewayMerchantId',
}
So do I first need to buy a supported payment gateway? If so, why won't I accept payments from the gateway itself rather than from GPAY.

So do I first need to buy a supported payment gateway?
Yes, you need to sign up with a supported payment gateway. The reason for this is because Google Pay doesn't process payments, it facilitates it. What I mean by that is it provides you (the merchant) with a secure method of sharing a customer's payment details (through Google Pay) with a payment gateway for processing. In this setup, only saved payment details are only known to Google and the payment gateway.
If so, why won't I accept payments from the gateway itself rather than from GPAY.
The reason that you should consider using Google Pay is that entering payment and contact details can be difficult on a mobile device. Giving your customers access to re-use information that they have already saved on their device makes it easy and convenient for them to complete their purchase which reduces the chances of them from dropping out.

"So do I first need to buy a supported payment gateway? If so, why won't I accept payments from the gateway itself rather than from GPAY."
Not true.. what you need is to setup your account on Google Pay Merchant Account, from there you can get the parameters you need for your development

Related

How payment api's can bill automatically?

Is there Mobile API for Android that have an option to charge clients automatically or in the end of the month? And also can handle wallet information? (I don't want to keep card information on my own server)
For example taxi, Lime (scooters) apps that charges automatically in the end of ride (card information was entered before), or even Google Ads that charges in the end of the month.
Which payment services they are use? Someone familiar?
For PayPal on Android, a partial answer would be the Native SDK: https://developer.paypal.com/docs/business/native-checkout/ (not the web Checkout SDK referenced in another answer)
This does not address recurring billing / future transactions, however. For that with PayPal you need a feature called 'reference transactions' to be able to save or vault a billing agreement with each user. The PayPal business account owner can contact PayPal's general support (not their technical support) to inquire about enabling reference transactions with their service, and explain the business need for it. On review, PayPal may or may not approve the request, which is necessary for auto billing.
Most merchant services should provide you with one. Here is paypals, but you would only want to use it if paypal is your merchant.
https://github.com/paypal/Checkout-Java-SDK
Really, you should contact your merchant services (the company you are running the credit cards through)

Setting up Google Pay to send users money

I want to set up my Android app to accept money from users Google Pay accounts and disperse money to Google Pay accounts all from the app. I have seen people mention that Google Pay returns a token, and I need to use a payment processor, however I am not sending the money to their bank accounts. I want the entire transaction to go from their Google Pay account, to my Google Pay account, back to their Google Pay account. Is that possible or does Google Pay simply return an instance of their banking information even when they're using Google Pay as well?
Unfortunately, the Google Pay API does not offer this functionality. It's used by merchants to accept payments from their customers and it thus requires a payment processor.
Google Pay Send is a feature inside of Google Pay which is used for peer-to-peer payments and it doesn't offer an API.
In short, you can't leverage Google Pay for third party money transfers directly - you would need to use a payment processor or gateway to facilitate the transfers.

How to set Up A Payment Gateway in Android App using My Bank Account For Testing

I am developing an android app which accepts payment through Netbanking as well as Credit Cards. I am residing in India currently. My requirement is;
The User owe me (me here is my company) $100. He types in the amount and click on pay button.
Now here the user should redirect to payment gateway where he enters credit card details or netbanking.
When he press pay the money should get to my company account (I will use my personal account for testing). The personal account I will be using is ICICI Bank.
My Doubts
What is the feasibility of such a service. Is there any free payment gateway's available for testing or limited transaction?
How does invoking the external payment gateway works? Is it like a POST request where I will send the customers details to this third party gateway?
What will be the system that Amazon, Flipkart, Mytra will be using for collecting the money from customer?
Since you want to integrate bank specific payment gateway then you need to setup a merchant account with your bank, then they will provide you libraries and technical documents for guideline of integrating their payment gateway.
Other option is to go with third party payment gateways like PayPal, CCAvenue or InstaMojo to name a few.
each has their pros and cons.
I would recommend Instamojo, because of their easy integration steps.
For setting up a test account with them you can signup on
http://test.instamojo.com
Hope this answers your query.

Android PayPal SDK Receive Single Payment

I'm creating some Android apps that require a very small payment for $0.99 per magazine. I was looking to use Paypal as my payment method but my app keeps rejecting login in I read that is because is in testing sandbox and see this:
Upgrade your PayPal account as necessary
Before attempting to use a live app to directly accept credit cards, go to the Account Eligibility page. In order to use a live app to directly accept credit cards, you may need to sign up for PayPal Payments Pro (a paid subscription).
Additionally, please note that you must have a PayPal Business account to accept PayPal as a payment method.
Is necessary to Upgrade my personal account and pay monthly fees for in app purchasing?
If so is there any other way to receive payments that doesn't cost monthly?I don't think this magazine app will do much money.
Additionally, please note that you must have a PayPal Business account to accept PayPal as a payment method.
You need to do that and make your account business validated. Without verified business account you will not be able to go live with your app as you won't get production API access.

Not able to send shipping address using PayPal android SDK with single Payment

I am using PayPal Android SDK for Single Payment. When user checkout via "Pay with card", in this case, once payment is done in sandbox, in merchant account ,it shows below things in transaction detail page.(i.e. in https://www.sandbox.paypal.com)
Payment Status: Completed
-Seller Protection
Not Eligible
We have no shipping address on file.
Name:(The sender of this payment is Unregistered)
Email: No email address included
Payment Type:Website Payments Pro API Solution
AVS:
CSC:
I have added addAppProvidedShippingAddress method in code. But shipping address and name is not coming.
Thanks in advance
The ability to pass through a shipping address for a direct credit card payment is not currently implemented in the REST APIs. Since the mSDK runs on the REST APIs, there's not going to be an address tied to the transaction details in your account. That particular feature is only supported for PayPal payments.

Categories

Resources