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.
Related
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!
I need to integrate Paypal Payment in my application. I have integrated the same successfully by referring to the below links:
https://developer.paypal.com/docs/classic/mobile/ht_mpl-itemPayment-Android/
http://www.theappguruz.com/blog/integrate-paypal-in-android
Now, if I use a credit card for payment, I can process the payment using Paypal.
Concerned Issue
Now if I need to use the credit card again to perform some other payment. I need that the card should be saved in the vault of the paypal server and should be shown in my application wallet. and only required information such as CVV No. or Pin etc. should be entered by the user and the card can perform its operation.
I am using the below link. But it doesn't clear my thoughts how to use it.
https://developer.paypal.com/docs/integration/direct/rest-vault-overview/
Can anyone provide any help or guidance for this issue?
we can call vault pay pal api using retrofit library and following the steps mentioned in below two links of pay pal.First we have to call the first restful pay pal api to get access token.Once we get this access token we can call the vault api of pay pal to store credit card.Below are links for pay pal restful api:
1) https://developer.paypal.com/docs/integration/direct/make-your-first-call/
2) https://developer.paypal.com/docs/api/vault/
I was able to store credit card details using retrofit library and following proper steps to pass the parameters and using proper headers in retrofit.
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.
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.
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.