[Last Call] Learn how to a build a cloud-first strategyRegister Now



Posted on 2011-10-17
Medium Priority
Last Modified: 2012-08-14
How do I use Paypal "Standard" in a test mode?

Sp I can test charges with real credit cards; it chaecks everything but no actual charge is made?
Question by:Richard Korts
  • 3
  • 2

Accepted Solution

Eric67ct earned 2000 total points
ID: 36980936
What you're looking for is called the Sandbox.

Basic Sandbox Tips:

* Read the Sandbox Documentation first as you will spare yourself a bit of frustration.

Visit PayPal's Developer Central Website:
Select the "How To" Tab, then from the menu, select "Testing"

After that select the "Training Tab", scroll to the bottom of the Page and check out the last item titled "Getting Started with PayPal Sandbox".

* The Sandbox is a virtual world, it's not associated with your live PayPal Account in any way.
* You are not required to have a live PayPal Account to test code in the Sandbox.
* You will need a valid email address to setup your Sandbox Developer Account, suggest using an email not associated with your live PayPal Account. Get a FREE email address, Gmail, Hotmail, etc.
* In order to minimize confusion logging into your different Sandbox Accounts, simply use the same "password" for all of your Sandbox Accounts. This will also save some time as you toggle between accounts.
* Use the "Create a preconfigured buyer and or seller account" option. It's just easier as both bank accounts and credit cards are setup automatically.
* The Sandbox will automatically create an email address for both your Sandbox Business or Seller Account and your Sandbox Personal or Buyer Account. The email address created will be a variation of the address used for your Developer Account.
* All Sandbox "Notification Emails" sent stay in the Sandbox.
* "Hosted" item button code created in the Sandbox will only work in the Sandbox.
* "Hosted" item button created with your live PayPal Account will only work with your live PayPal Account.
* You must first be logged into your Sandbox Developer Account and remain logged in to test your item button code.
* Ensure you are using the same web browser for logging into your Sandbox Developer Account and testing your item button code. For example, if you login to your Sandbox Developer Account using IE, then attempt to test your item button code using Firefox, you will get unexpected results.

Other Notes -
* Sandbox URL: "https://www.sandbox.paypal.com/cgi-bin/webscr"
* Live Site URL "https://www.paypal.com/cgi-bin/webscr"
* If you create non-hosted or non-encrypted item button code in the Sandbox, you can use the same code in your live site by changing the URL of the action line to point to the live PayPal site and the business variable value that's associated with your live PayPal Account.


Author Comment

by:Richard Korts
ID: 36981052
To Eric67ct:

Yes, it's frustrating already. Amazing how complicated they make it.

I went to https://developer.paypal.com/. You didn't give a link, I looked that up on Google.

I logged in with the account access given me by the customer. It works for setting up buttons, etc. It does NOT WORK on the developer site.

Don't know what to do now.

Expert Comment

ID: 36981351
OK....You need to build API's to use in the sandbox environment.  Unless you have developing experience, there is not much more to offer.  Here's a start on Adaptive API's:



Author Comment

by:Richard Korts
ID: 36981445

I have a lot of developing experience.

But I think I'm just going to make "real" charges & the customer will refund me; I've already discussed that with them.

It's difficult for me to understand why PayPal (supposedly the "world leader" in on-line payment), can't give a SIMPLE way to test something as simple as the "Standard" method.

Expert Comment

ID: 36981480
OK....sorry I couldn't be of further assistance.  Good luck!

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

WooCommerce is becoming the most powerful e-commerce plugin for Wordpress. And why not. The platform comprises of numerous core plugins that may come in handy, powerful options to make your website development task much easier.
Do online retailers and e-commerce sites even need to bother with the season? Is it lucrative to update and prepare your site for Black Friday and Cyber Monday shoppers? We'll find out now.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
Suggested Courses

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question