I have made an android app which uses Paypal as payment gateway. If due to some reason I want to refund back the amount to the user from my android app, how can I do that?
You can refer Paypal developer documentation. There they have listed sample code to integrate. On sandbox.paypal.com you can create test account and test your integration. Sharing the link for sale refund below:
https://developer.paypal.com/docs/api/payments/#sale_refund
Related
I have followed below link for shopping payment using paypal and I successfully developed it.
http://www.androidhive.info/2015/02/android-integrating-paypal-using-php-mysql-part-1/
But now I need to transfer money from one paypal account to another paypal account.I searched on google I came across below link.
How to send money to any paypal account
But now I don't know how to use Adaptive Payments API in android app?I do not have any source code regarding Adaptive Payments or any other way of transferring amount from one paypal account to another paypal account in android.
If anyone have any piece of code or solution for this,then please assist me.
Thanks in advance.
In Current Mobile SDK https://developer.paypal.com/docs/integration/mobile/mobile-sdk-overview/ , it doesn't support the Adaptive payment feature.
PayPal has an old MPL package which can support it. https://developer.paypal.com/docs/classic/mobile/gs_MPL/?mark=MPL , but it's deprecated and lack of support. But you can take a look.
I had referred the android sample application (Application Name: PizzaApp-Complete) which is provided by PayPal. The Application is based on Simple Payment. While transferring money to Business-Pro Account, the PayPal is not asking for Guest Payment.It directly shows paypal login dialog. I am using Sand-Box for testing. Why PayPal is not asking for Guest Payment? Also I had upgraded my Business Account to Business Account Pro, so that it will accept Credit/Debit payments made by user.
Check in your PayPal profile under Payment Receiving Preferences and make sure PayPal Account Optional is enabled.
Unfortunately the legacy MPL does not support guest checkout.
I want to implement Paypal functions in my own android app like what I can do anything from my web Paypal account I want to do in app.
is there any API of paypal for this purpose which will give me the login details of user and will help the user to perform transactions from mobile app.
I'm not talking about receiving payment from my own Paypal account, I want to do what I can do in my web Paypal account.
Any help would be much appreciated. Thanks :)
Yeah check out the Paypal Android SDK, where you can accept credit card and PayPal payments in your mobile apps.
In my Android app, I am using the MPL library to allow users to pay with PayPal. I am able to make purchases in the Sandbox and everything seems fine. I would like to go live but am confused about a few issues.
First, the PayPal docs refer to to "Classic APIs" and "Adaptive APIs". I have no idea what they are talking about. What is MPL using? Doing a Google search, I find posts like "MPL is based upon Adaptive APIs". Well that sure doesn't tell me much. "Based upon" in my English language doesn't necessarily mean it "is" Adaptive APIs.
The PayPal docs say that you need an API Caller account in addition to the Buyer and Seller account. Yet the code in my app only uses a single account and that is where the payment ends up at. So do I need an API Caller account or not? In the Sandbox accounts, all I see are options for creating buyer and seller accounts.
MPL library uses Adaptive payment.
Adaptive Payment allows sellers to use your Paypal merchant(business account) to pay to the buyers. So, if a seller has only a personal paypal account he can use your application, through adaptive payment he will be able to pay to a buyer's paypal account. You can send money to one or multiple receivers.
You will get to know more about Adaptive payment from here:
http://youtu.be/GjEPcf7fvkM
To make your MPL library live, you need a Live Paypal Business account. If you don't have one create it here:
https://www.paypal.com/us/webapps/mpp/merchant
Then you go to your "My Account > Profile > My Selling Tools"
Click Selling Online > API Access > Update to display the API Access page. If Update option is not there you will see create option. You will get this info in the youtube video link above.
Below is the doc to make your app live:
https://developer.paypal.com/docs/classic/lifecycle/goingLive/
Then you go to apps.paypal.com and then login using your live paypal credentials, and then create an application there. You have to enter description and flow of your app. Once they approve it you will get a "Live App ID". You need to use it in your MPL to make it live.
I m wrkng on a passenger app. A passenger is able to book a vehicle through this app and he can also pays his fair through app. I want that the passenger pays the money by his credit card onL9 through this app but I nvr worked before with any kind of payment functionality. Is there any one who helped Me for this? just tell Me any link, any tutorial, any kind of APi used for payments, or any other example link etc.
Thanks in advance
1.You can integrate PayPal, and accept the payments through Paypal. You can integrate Paypal in your app using ExpressCheckoutSDK. You will though have to create a Paypal seller account, and also integrate Paypal on your server to check that the payments have been done, etc.
2.You can use Google In-App Billing to make the payments through PlayStore.