Logging in to test button using sandbox

Johnmcc150
Contributor
Contributor

I want to test an updated Paypal button. I have located the sandbox within the developers menus, but it seems to want me to sign in again. When I enter my email and usual password, the system does not recognize me. The option seems to be to create another account. That seems odd, when I already have one.

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

MTS_Justin
Moderator
Moderator
Hello,

You will have a login for your production or live PayPal account, but this login information will not work with sandbox accounts.

Each sandbox account has it's own unique email address and password. You can view your sandbox accounts from within our PayPal Developer site : https://developer.paypal.com/developer/accounts

You can view / change the password for a sandbox account by following the instructions below :

1. Login to PayPal Developer : https://developer.paypal.com (using a production account email address & password)

2. Go to the "accounts" section, which is found under the "sandbox" column.

3. Locate the sandbox account for which you want to view / change the password and click on the three dots to the right of the email address.

4. On the menu which is displayed, click on "view/edit account".

5. On the account profile page which is displayed next, you will see the system-generated password which you can use or you can change the password by choosing that option on the page.


(note: the password recovery flow on https://www.sandbox.paypal.com does not work, you need to use PayPal Developer to update the password for a sandbox account)

Thanks !

Was my post helpful? If so, please give me a kudos!

View solution in original post

Login to Me Too
2 REPLIES 2
Solved

MTS_Justin
Moderator
Moderator
Hello,

You will have a login for your production or live PayPal account, but this login information will not work with sandbox accounts.

Each sandbox account has it's own unique email address and password. You can view your sandbox accounts from within our PayPal Developer site : https://developer.paypal.com/developer/accounts

You can view / change the password for a sandbox account by following the instructions below :

1. Login to PayPal Developer : https://developer.paypal.com (using a production account email address & password)

2. Go to the "accounts" section, which is found under the "sandbox" column.

3. Locate the sandbox account for which you want to view / change the password and click on the three dots to the right of the email address.

4. On the menu which is displayed, click on "view/edit account".

5. On the account profile page which is displayed next, you will see the system-generated password which you can use or you can change the password by choosing that option on the page.


(note: the password recovery flow on https://www.sandbox.paypal.com does not work, you need to use PayPal Developer to update the password for a sandbox account)

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

RaseOne
Contributor
Contributor

Assuming that you're using a standard "buy now" or "add to cart" button...

 

Apparently, to create a test transaction the PayPal payment form must be directed to the sandbox testing site. I did not find this in the developer documentation. I hacked it myself on a hunch and it worked.

 

In the PayPal button code change:
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
to:
<form target="paypal" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">


Adding the "sandbox subdomain allowed the test purchases to complete.

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.