How can I get information about google pay transaction? - android

I am new to Android and I am trying to build a simple application that catches the information of a transaction every time I do a payment using contactless with my phone (with Google Pay). However, I have only found information on how to integrate Google Pay inside the application for doing payments in the application (this is not what I want) but nothing regarding if it is possible to "catch" the data from the contactless transaction.
Thank you for any help!

Related

How to save Credit card with Paypal without Paypal account?

I need to implement the payment transactions with paypal account and credit/debit card using paypal on my mobile application (Android and iOS SDK's).
In one hand I understand the part of having a paypal account and paying with it, but in the other hand I took a look at Uber and I found that the users can save their credit card without creating a paypal account. How can I achieve this behavior? Do I have to save this credit cards on my server? or is this a feature of Paypal?
PD: I already know Uber uses BrainTree, but I have seen the same feature on other apps with Paypal.
What you're looking for is called "reference transactions" or "vaulted credit cards". PayPal saves the card data on their server, and then you just save the transaction ID on your server. When you submit a reference transaction request you just include the transaction ID from the original transaction you processed (could be an Auth or Sale transaction) along with the new amount you need to process.
Depending on what you're using to process the cards, though, the API you would use for the reference / vaulted transaction would be different.
If you're using Payments Pro you would be using either DoDirectPayment / DoReferenceTransaction or the PayFlow API setup as a reference transaction.
If you're working with REST that's where the vaulted transactions would come into play.

PayPal SDK Direct payments details in PayPal

I'm no expert but I created an android app that accepts a payment for a download then gives the customer that download once payment is confirmed. I used the PayPal SDK for Android, their example app is here https://github.com/paypal/PayPal-Android-SDK which I am basing my code on.
My little app works well, I'm very pleased with it. I have one BIG issue, should a customer want a refund I go into PayPal to issue it, if they paid via PayPal login it's easy, scroll down, look for their name or email and click refund. If they paid by direct card payment it's very different. If you go into papa and look you can spot the card payments quite clearly, they have no name or email attached to them, in fact there is no personal detail to associate the payment to them at all.
How on earth is that acceptable? I can't locate a customers payment in PayPal to even know if they really are a customer. Surely it should at leafs be able to give you a name?
Am I missing something in the SDK? Is there perhaps a field I'm not populating that puts detail into the Paypal transaction?
Any help and / or code snippets would be very much appreciated.
At this time, your app should correlate the payment ID returned by the SDK with your customer/sale and communicate this back to your server. This way, you can use the payment ID to get the associated transaction ID to refund.

Implement paypal payment in app Android

I would like to implement payment via paypal.
I downloaded the example samplepaypalsdk and I tye to modify:
NFIG_CLIENT_ID
CONFIG_RECEIVER_EMAIL
with the data generated from the center of development.
In addition I have also modified
EXTRA_CLIENT_ID, "buyer#paypalsandbox.com"
EXTRA_PAYER_ID, "mypayer"
I run the app and I bought the jeans, now I would see the status of transaction?
I tried to search in developer center, but I didn't find it. I would understand how can I manage a transaction...
There is currently a problem displaying AdaptivePayment transactions in the developer console. (AdaptivePayments is the name of the "classic" API that is used by the Mobile SDKs to process PayPal transactions).
However, you can see the notification generated by this transaction in the notifications section, and you can log in to the sandbox webapp as either buyer or seller to see the transaction record.

Integrating Mobile Express Checkout on IOS

I was using Paypal to make payments from my application using MPL. Now I want to enable users to make card payments using Paypal. I have found that to implement this feature I have to move to MPECL. When I am using MPL I used to get call backs regarding the payment status whether its success or failure within my app. Now my issue is
If I use MPECL will I get callbacks to my IOS app about the payment
status?
Are there any nice tutorials in integrating MPECL in IOS/Android?
Also is it possible to use MPL and still accept card payments from
user?
Thanks
1) By callbacks are you referring to IPN notifications? If so, then yes, you'll get them the same way, although the txn_type value may be different.
2) According to this documentation, MPL and MPECL have been replaced by PayPal iOS and Android SDK's. I'd recommend using those instead. There are samples included with the SDK's.
3) Yes, users will be able to pay via PayPal or a credit card when going through the payment flow. If you want to process credit cards directly within your app you can use the new REST API for credit cards or you could use PayPal Payments Pro.

Does Paypal process credit/debit cards in Android applications without logging into a paypal account and how?

Ok, I called paypal today and asked them if they can take debit/credit cards through a mobile application. They said no. However, online people write it like there is a way.
Also, I emailed a mobile company pretending I didn't feel secure about giving them my card info and asked them how they were taking credit/debit cards through their application and they responded that they used Paypal for that!
So I am confused. Anyone here has taken a credit/debit card payment in android without logging in to Paypal?
I searched everywhere including here in stackoverflow:
Android payment processing through paypal/credit card
But I am still uncertain. Can anyone have a definite answer and not just send me to some some other link.
Update: It seems this can be done, does anyone have a tutorial on how to do this?
UPDATE 2: I gave up with paypal trying to do this. I now use zooz. I highly suggest anyone going into the trouble of getting paypal working for them to use zooz. Its soo easy. Btw, I don't work for zooz, I use them for my apps. Their website is zooz.com
Thanks!
It is possible to take PayPal payments through your mobile device, and it's not all that difficult either. Just use PayPal payments and embed their payment gateway (webpage) into a WebView. You can optionally receive feedback through IPN, and fire off a GCM event to your app.
No, you will not be able to take the customer's credit card number and other information, feed it to PayPal and process the payment. But the point of using PayPal is that all the security of capturing, transferring and storing that info (including the significant liability that comes with handling it securely!) is PayPal's responsibility, not yours.
Keep in mind that you would violate the Google Play/Market TOS if you're using PayPal to charge for your app or digital content within the app. If you're creating a shopping app, however, you should be ok.

Categories

Resources