How to accept a paypal transaction automatically - paypal

Is their a way that i can accept a paypal transaction automatically without going to the paypal dashboard and click on accept?Like calling an API ?Thanks

convert your paypal account to a business account. its free.
Log in to your PayPal account.
Click the Profile icon next to "Log out."
Click Upgrade to a business account.
Enter your business information and click Continue.

This is how I managed this feat (100,000 experience points).
My Profile -> My Selling preferences -> Website Preferences.
And then I added a Return URL, Switched on 'Block Non-encrpyted Website'. Unclear which action solved the problem.
Good luck.

Related

How do I configure the NopCommerce PayPal Standard Plugin to use my sandbox account?

I am hoping someone will be able to help me make some sense of PayPal. I am attempting to add PayPal to a nopCommerce 3.8 site for a client. The PayPal Standard plugin is already there, so I am trying to configure it so I can test it.
I have a PayPal developer account, which I set up about 2 years ago when I was working on a site for a different client, but i'm hoping I can still use that for this. All of the information I've been able to find about this seems to be several years old, and doesn't reflect the current PayPal websites.
I am wondering where to find the Business Email, PDT Identity Token, and IPN Handler which are all options on the plugin configuration page. I set up the PayPal accounts using an email address like first.last#domain.co.uk - should the Business Email be first.last-facilitator#domain.co.uk?
Anyway, since the documentation for both the PayPal website and the PayPal Standard plugin are so poor, i'm hoping someone has figured this out and can at least point me, and anyone else struggling with this, in the right direction. Thanks!
1) In the sandbox account click Profile, and then My selling preferences.
2) The Business Email is the Email Address on the displayed page.
3) Click the My selling preferences tab
4) Click the Update button next to Website Preferences
5) Set Auto Return to On
6) Enter a Return URL (for a nopcommerce site this will be http://www.yourStore.com/Plugins/PaymentPayPalStandard/PDTHandler)
7) Set Payment Data Transfer to On and click Save
8) Click the My selling preferences tab again
9) Click the Update button next to Website Preferences
10) The PDT Identity Token is the Identity Token shown in the Payment Data Transfer section
Checking the Enable IPN box sets the plugin to use it's own handler, so the IPN Handler is not required.

Paypal: Pending payments with Express Checkout

I have implemented Paypal Express Checkout on my website. So far everything seems to work in my sandbox, except that the payments are not processed. Every payment is "pending".
The only reason I get is
RECEIVING_PREFERENCE_MANDATES_MANUAL_ACTION
in the API response after executing the payment via API.
I cannot find any documentation on the reason, does anyone know how to fix it?
You have probably already solved the problem, but maybe someone else has similar problem.
I believe the reason for this is because the payments are in a currency that you do not hold, you need to configure your Payment Receiving Preferences in your PayPal account. Otherwise, your payment status might be pending until you manually approve the payment in your PayPal account.
Log in to your PayPal business account at www.paypal.com. Click the profile icon (Profile menu) on the top right side of the page. From the Business Profile menu, select Profile and Settings. (Note: If you do not see the profile icon on the top right, select Profile which appears in the top menu when the My Account tab is selected.)
From the left menu, click My selling tools.
In/under the Getting paid and managing my risk section, click the Update link for the Block Payments item.
Update Allow payments sent to me in a currency I do not hold to "Yes, accept and convert them to U.S. Dollars") and click Save.

Paypal pro configuration issues in Opecart

I am develop site with Opencart. Integrate PayPal Website Payment Pro with test mode. Select Test Mode yes in admin panel.
But in front side when i go for payment and enter visa card number and other stuff and click confirm payment then display error This transaction cannot be processed due to an invalid merchant configuration.
I follow below steps:
Log out Paypal account
clearing browser cache and cookies (I use firefox).
Go to developer.paypal.com and login with the real paypal account (not the Sandbox one)
Go to Applications
Click on Sandbox accounts
(Optional) Import your old accounts from your former Sandbox account after the redirect to the accounts page
Click on the account you want to log in to
Choose Sandbox site
Log in to that site using your test bussiness account
Go to My Profile
In Account information click on Request API Credentials
Still i have same issue. Before i got Secury header is not valid. I try lots of time but not getting proper mistake.
You don't really need to use Sandbox to do testing, there are other alternatives, such as to use another paypal and transact $0.01 via Authorization mode. (This way you can reject the payment)
Try using Paypal Express Checkout instead. All you need to do is to fill up the API credentials and everything will work.
You need to upgrade your Sandbox account to Business Pro.
Login to https://developer.paypal.com
Go to Dashboad and open Sandbox -> Accounts
Choose an account and click Profile
On the Profile tab click Upgrade to Pro.
Note that you should have a Business Sandbox account to be able to upgrade it to pro.

How do I set the IPN URL in the new PayPal website?

It's been 2 days now that I'm working on my PHP application which processes IPN notifications. Now that it's mostly finished I want to test it. So I go to my personal account and create a button. The problem is that I just don't see any field to enter my IPN URL. I've searched the WEB for an answer but most answers refer only to the old website by going to my profile -> my selling tool. I just don't see anything IPN related. Please help this is very frustrating.
Thank you.
From the Profile menu (or Settings) -> Selling preferences -> Instant Payment Notification preferences
But currently PayPal are updating or something and everything is very confusing, slow and frustrating. So there could be some problem with your account or the option is present only on some types of business accounts (for example the one I am looking at the moment is an Express Checkout for Digital goods)
If you can't find the option in the menu - just contact PayPal support here https://www.paypal.com/us/webapps/helpcenter/helphub/home/

Creating sandbox paypal pro account

i have some difficulties creating test account in sandbox. I found some similar topics but i still can't understand what to do.
For example this one "How to create test account with PayPal Payments Pro (Use to represent yourself as a merchant using Pro) option selected in sandbox?"
It says login in developers site, ok, done with that. Then "click on the link Preconfigured". What link? I can't find it. It just does not exist on that page and on any other that i searched.
Why i cannot login to https://www.sandbox.paypal.com with my seller account from sandbox, but it's possible to login using clients accounts (personal) from sandbox.
Do i need to apply to Paypal Payments Pro after i registered my sandbox account, and if i need why do i get "Service is not responding due to an internal error. Please contact customer service at +1-888-883-9770.". Also what social security number do i have to use(i just want to check integration with paypal, i dont have any bank accounts or social security numbers. i'm not even from usa)?
Do i need to accept licence agreement and where can i find it? According to this document https://ppmts.custhelp.com/app/answers/detail/a_id/642/kw/10501 it's located somewhere inside the "Merchant Services" tab. After about an hour of search i found it in old interface. When i click it i'm being redirected to "My account".
Please, help me somebody. I'm sick and tired of that buggy, laggy and terribly designed paypal's site.
Once you are logged into developer.paypal.com, click "Applicatons", then click "Sandbox accounts". You see a blue button at the top of the page that says "Create Account". When you create a business account, you will automatically be signed up for PayPal Payments Pro.
You can then grab your API credentials by clicking the "Profile" link from developer.paypal.com.
Edit:
Updating answer with additional information about creating test accounts.
https://developer.paypal.com/webapps/developer/docs/classic/lifecycle/ug_sandbox/