C# PayPal API get balance - api

How can I get my PayPal balance via .NET PayPal API and my API credentials?
I have already added the API to Visual Studio 2017.

I think the answer as of now is that there isn't an answer.
Here is what I do know though.
In a discussion here, someone claims that there is a whole separate API called Balance Accounts API, but the link is broken or the API is deprecated.
On the GitHub link I linked in this solution you'll see the following dialog between two users:
#AMRITPK Correct me if I am wrong, but as I see it, this API is only for PayPal partners, for retrieving balances of your internal customers. Or am I mistaken?
yes #andrey-zav , it works only if the caller is a third party... But work around is you can give permissions to your own account to call this api .. not sure if this is right approach.
So, I'm not really sure what to take out of that.
In addition, you can stay tuned to me fighting the PayPal automated bot-responsive "human" moderators on the PayPal tech support forum here.
As far as I know though, you have to be a PayPal Partner and then use some convoluted way to incorrectly ping your own account via the API to get your PayPal balance account.
I hope this helped.
UPDATE: Through exhaustive searching I found a C# .NET implementation of how to get the PayPal Account Balance using their NVP API here. You'll have to install the PayPal Merchant Nuget Package. In addition, you will have to set up your web config file using the information found here. I'm assuming this works on live as well. I have only tested it in sandbox mode, and it did indeed work.

Related

Paypal API Setup for Paypal Pro

I am having difficulty figuring out how to set up the API for the Paypal pro accounts. They list it as the NVP/SOAP account. https://developer.paypal.com/docs/classic/lifecycle/apps101/
I have researched this and created a sandbox test API app for the sandbox credentials. I am just unsure of where the API doc is that I need to include and then what else I need for it. I found this, but it confuses me even more. https://developer.paypal.com/docs/classic/api/gs_PayPalAPIs/ ...
I am unsure of what I need to put where and how to even process this. I have integrated the authorize.net API and there was a base template for it that required only modification and it was very straight forward.
Could anyone provide me with some insight to how I can do this?
Refer this link
https://developer.paypal.com/docs/classic/paypal-payments-pro/gs_PayPalPaymentsPro/?mark=paypal%20pro
You need to first setup the authentication parameters
PWD : // password
SIGNATURE : // signature
USER : // user id
VERSION
and then calls the different paypal methods like DoDirectPayment etc with their list of parameters..
Refer the documentation for the individual paypal methods and their list of parameters.
Also first create a paypal sandbox account to get the API credentials

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.

Can the Yodlee API be used to retrieve the transactions on any credit card?

A client I work with wants to know if it's possible to use the Yodlee API to look up recent transactions on any credit card.
They'd like it to work without the user needing to be signed up with Yodlee, either directly at the site, or indirectly through a branded partner.
I assume this would be possible if the credit card company itself shared it's transaction data with Yodlee directly, and made it available to their API customers, but I haven't been able to figure this out from the docs available on their website, and haven't been able to reach anyone at Yodlee themselves to ask.
I work for Yodlee. Sorry to hear you're having a hard time getting a hold of us. To answer your question, yes the user has to explicitly authorize any application that leverages the Yodlee API and explicitly add access to their financial accounts for that application.
Best,
Grace
Yodlee screenscrapes websites to retrieve it's information.
Which means that they physically (but in an automated fashion) visit the website in a browser (IE8). Thus to pull any information down they have to visit the website, log in successfully, (optionally but more so on more banks; authenticate the computer) and then they can see all of the information that the user sees. Their API acts as a real time bridge between you (the end user using your website or app) and this browser.
So you have to either implement their very much so convoluted Yodlee API or use one of their generic hosted pages and direct the user to it where upon he/she enters the necessary information. You also have to have an agreement with them too. You also have to convince the user to do it :)

Passing variable to paypal, no login, and no use of DB, is it possible?

how do I get paypal to pass a few variables. I don't want the user to have to login to my website. Just pay. So, they fill in some data related to my service. my site does a calculation, and for the answer, they have to pay. What's happening now, is they pay, but, they have to fill in all the boxes again. I want them to pay, and go back to the page that they filled everything in on.
I would need more information to be able to provide you with a specific answer, such as what PayPal service are you using? Are you using Payflow Link, Payflow Pro, Website Payments Standard, Express Checkout, or Website Payments Pro? Depending on what service you are usnig, there are different ways you can pass information over to PayPal, just as there are different ways that you can get information back from PayPal.
If you are trying to get information back from PayPal and are using Website Payments Standard, Website Payments Pro, or Express Checkout you can use IPN to get data back to your site. You could also use API's suce as the GetTransactionDetails API to get information back. If you are using Payflow Link, you could use SilentPost to get databack to your site.
If you are just trying to to send data over to PayPal, there are different variables that you can populate and send over to PayPal. Depending on which service you are using, these variables may be different. I would suggest looking at the developer's guide to see what variables you can use.

Paypal and Payoneer users' validation API

I wrote a web-site and I want to connect the users at some point to there Paypal and Payoneer accounts.
I saw some very old posts (even in Stack overflow) that said it wasn't possible.
Does someone know if something has changes? Is it possible to do so?
I haven't used the API myself, but here is the link for the Paypal Account Authentication API. I couldn't find much about Payoneer, except that they are thinking about making a SDK.