PayPal API, account verification - asp.net

Use-case
I am implementing a trading application
I am using PayPal API for express checkout
Subscribers should be able to sell & buy using PayPal account
Subscriber should associate his Trading application account with his PayPal account using the e-mail address registered with PayPal
Problem
Using PayPal API, Is it possible to verify that the PayPal account e-mail address provided is registered with PayPal? ( sending an e-mail activation link will not help here )
Any help will be appreciated

Try using the Paypal AddressVerify API: https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/AddressVerify_API_Operation_NVP/
AddressVerify can also check that your user's address and ZIP/postal code are correct.
AddressVerify API isn't provided by Paypal on default. I think you have to talk to customer support to give you access to it, and then contact them again for approval to have it on your site.

Related

Testing PayPal Donations with a Sandbox Account

I have a WordPress form that processes data and redirects to this url to complete the PayPal donation
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount= <amount>&return=http://example.local/about
However, when I submit the form I receive this error from PayPal
We can't complete your donation. This organization's account is inactive.
What am I missing? The reason I have it setup this way is because I want WordPress to save the form data and send a thank you/confirmation email after the payment is complete.
https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount=&return=http://example.local/about
When testing with any sandbox account, change the domain to point to the www.sandbox.paypal.com sandbox environment , i.e.
https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_donations&business=sb-5mepe4127835%40business.example.com&currency_code=USD&amount=&return=http://example.local/about

Silent payment using paypal without redirecting to paypal url

Is there a way I can pass the sellers credentials to the Paypal API and it can make a transaction without taking him to Paypal URL?
TL. DR.
I am trying to build an eCommerce website for a shop with Paypal as the payment medium. The payment for user has been implemented where he is redirected to the Paypal website and he can purchase an item. But under certain conditions he is allowed to cancel his purchase and his payment must be credited back to him.
I need this transaction to happen without navigating to the Paypal URL.The reason is that, the buyer is the one initiating the transaction. So there is no way he can authorize a transfer from sellers to buyers account. The buyer should be able to press the "Cancel Order" button and the payment should be immediately credited back to his paypal account.
I can store the sellers credentials in the server and send it to the API which should be able to authorize him but I was looking for an API which Paypal provides to make this happen.
My requirement is different from the anser provided in this question as here they still show a popup of paypal webpage.

Woocommerce Issue with 2 emails of same paypal account?

i noticed that i received an error about "Unpaid order cancelled – time limit reached. Order status changed from Pending Payment to Cancelled."
I know some say that to fix this simply clear out the hold stock option in "inventory" but i am wondering if there might be another issue.
In woocommerce paypal settings, for "paypal email" i have "payment#mycompany.com", for the "receiver email" i have my personal email set "myname#live.com"
On paypal, both of these email addresses are part of the same account but the primary email on paypal is my personal email. Any issues with this?
Make certain that the receiver email and your PayPal Email you are using in WooCommerce is a confirmed email on your PayPal Account. If the email is not confirmed then the funds will never go into your PayPal Account.
Woothemes PayPal Standard Instructions

How to change "Return to sellers.email#somemail.com" to "Return to Seller's Business Name" in Woocommerce?

I'm using Woocommerce for my current project. Everything is okay. But, when a customer purchases and makes payment through PayPal, PayPal shows messages with Seller's email address. Example:
Before payment:http://i.stack.imgur.com/fk78l.png
After payment http://i.stack.imgur.com/h252d.png
Is there anybody to help?
You will need to update your business name inside your paypal account.
Note : Your personal account cannot have a business name. Need to have a Business account.
login to your business account at www.paypal.com
My Account->My selling tools->My business information.
Update your business name.

Asp.net How can i get the transaction history of paypal account on my website using paypal email id and password

Asp.net How can i get the transaction history of paypal account on my website using paypal email id and password.As I want to Import the Paypal transaction logs in my website for financial management on my site...
You will only be able to do this if PayPal expose an API where you can obtain the information from - which I don't think they do.
Ok, StarMoney is doing screenscraping...
The answer to your question is: Its not possible to query another account just by submitting email and password to an API call.
But: You can use the TransactionSearch API call with the SUBJECT Parameter to specify the Pay Pal account you want to query.
For this to work, the other Pay Pal user has to grant access to your API registration beforehand.

Resources