Paypal pro configuration issues in Opecart - paypal

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.

Related

sandbox paypal integration

I am trying to integrate the paypal sandbox using the paypal developer link.
I have searched many examples. But the sandbox paypal(https://www.sandbox.paypal.com) is totally different from https://paypal.com.
In sandbox has the Merchant id, user id, password and signature.
how to i find out the "demo_sandbox_client_id"?
Is Merchant ID is same as client id?
To get the client_ID, you need to make an app in developer.paypal.com. Remember that you need a sandbox business account to be able to make an app, and for that, you can log in to the developer website with any personal or business paypal account. You then need to follow the link there to connect your sandbox business account to your developer account (by logging in with your sandbox credentials in paypal.com).
Go to https://developer.paypal.com/developer/applications
Sign in using your email account.
Under Dashboard > My apps and credentials > REST API apps
Create an app (if not yet existing)
Click the app, then use the clientID as the sandbox ID
To know which account to use to pay, go to right menu > SANDBOX > Accounts
Copy the email with the buyer keyword. Change the password.
To check if the sandboxId works, use this site (supply the sandbox key with the clientId)
https://developer.paypal.com/demo/checkout/#/pattern/checkout

Can't log in to PayPal sandbox account

I am trying to log into a PayPal sandbox account for testing purposes. But, I am continually met with the same error:
"We're sorry, something went wrong during sandbox account linking. Please try again."
Here are the steps to replicate the issue (happens in FireFox and Chrome).
Login to developer.paypal.com using live PayPal account credentials.
Navigate to Dashboard>>Sandbox Accounts
Click Create Account button.
Create account using any variety of options, e.g. personal, business account. New account is created.
Tick the checkbox next to new account listing.
Click link "Click here and provide credentials of your sandbox account."
Fill in login form using sandbox account credentials.
Click agree to terms button.
Redirected back to Sandbox Account page with "We're sorry" error.
This happens over and over with newly created accounts and existing sandbox accounts. I've tried changing passwords and settings for the accounts. I know a few years ago Chrome had a hard time juggling different cookies and sessions when logging in and out of sandbox accounts. So, I've also tried using multiple different browsers. Nothing seems to alleviate the issue.
Also, I thought maybe this issue was a temporary PayPal sandbox glitch, but I've been experiencing it for over a week.
Okay, I spoke with PayPal's technical support. It turns out that they are having some internal issues with the sandbox at the moment. If anyone else is having an issue with logging into one of their sandbox test accounts do the following:
Go back to the Sandbox Test Accounts page where it list all your test accounts.
Click on the email address of any sandbox account. There will be a drop down of "Profile" & "Notification".
Click on Profile and you shall see an iframe with a few tabs. You would be able to see the change password, change password.
Use this url to login to your sandbox account. https://www.sandbox.paypal.com/home
The key here is step 4. Don't click on the provided link labeled "Click here and provide credentials of your sandbox account." Copy and past the above URL into your browser instead.
When you are re-directed to the PayPal page to login, what URL is shown in the address bar ?
If it's "www.paypal.com" then you need to use your production account credentials.
If it's "www.sandbox.paypal.com" then you need to use your sandbox account credentials.

Cannot access Paypal Sandbox Accounts

PayPal:
Cant access paypal sandbox - if trying to appraoch directly, you are being redirected to the paypal main site.
If trying to reach the sandbox via the paypal developer site,
browsed to Dashboard>Sandbox>accounts,
(find the facilitator and buyer accounts - which apperently do require decent passwords to work) than press "Click Me" just to fail again by being redirected to a page indicating:
"We're sorry.
Relying party validation error: client_id or redirect_url provided in the request does not match any of the registered clients. Please check the request and try again."
OK, found a way aroudn this.
Problem: For some reason if you are a PayPal user and also wish to use the sandbox (in my case I have a seperate private account and a business account, and the sandbox is used by the busienss account), any attempt to approach the sandbox results in being redirected to paypal main site (at least in my region).
Solution: Use a seperate cognito or private window for the sandbox - never login to you your own account while working with the sandbox, and if you do, restart the browser and get a new private window.

shows an empty page and says you should login first to use the sandbox

hi i am trying to integrating paypal standard in nop commerce 2.4. after i set required things in admin panel, when i don't use sandbox, the cart shows up alright. but, when i enabled "use sand box" and after proceeding to payment for paypal, the site redirect to paypal to show the paypal cart, it shows an empty page and says you should login first to use the sandbox, a message like that. but when I put the site in live mode, the redirect loads the paypal checkout page as usual. i don't understand what's the problem.
i searched the internet for past few days and i am stuck in the situation.. please help me out.
as i am not rep 10 i can't upload image:
please see the link for the screen appears for my cart
When you set your cart to the sandbox, this is used for testing. You would need to set up a developer account with PayPal at PayPal's Developer Site. Once you have your developer account set up, you need to set up a test sandbox seller and buyer account. Then you would configure your shopping cart with your sandbox acct credentials if you are going to be testing with the sandbox. Then in a separate tab, log into PayPal's Developer Account if you are not already logged in. Then in a different tab, you can go through and test your checkout with the sandbox.

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/