How-To: Enable Paypal Sandbox Mode



Funnel Buildr now has the ability to let you test your funnels using Paypal.  You have to go through the Paypal developer portal to get your sandbox API credentials.  The process is as follows:

2) Create a Paypal developer account.  You can use the same email address as your Paypal account.
  
   Note: If you already have a Paypal Developer account created for the same email address as your Paypal account, you will see a Developer link at the top of the Paypal window when logged in:

     Image Placeholder

You can click that to be taken to the developer portal.

3) Once logged in to your PP developer account, click Test and Go Live on the left sidebar:

Image Placeholder

4) Click on the Get Started link in the "Know before you code" section:

Image Placeholder

5) On the left sidebar, under SANDBOX click Accounts:

Image Placeholder

6) Next to Sandbox Accounts:  click on Create Account:

Image Placeholder

7) A popup will appear asking you to choose the Account Type and Country/Region.  Select the Business (Merchant Account) and click Create:

Image Placeholder

8) Paypal will then create a sandbox account for you.  It will look something like this:

Image Placeholder

9) Click on the 3 dots on the right side under Manage Accounts for the sandbox account you just created and click on View/Edit Account:

Image Placeholder

10) At the top, click on API Credentials:

Image Placeholder
You will need the information from all 3 fields to put into your FB Checkout Settings later.  Click Close when done.

11)  In the left sidebar, at the top, click on My Apps & Credentials:

Image Placeholder

12) Make sure the Sandbox box is selected then click the blue Create app button:

Image Placeholder

13) Enter in a name in the App Name field (we suggest Funnel Buildr to make it easy).  Make sure the Sandbox Business Account is the same as the username for the API credentials you created earlier:

Image Placeholder

Click Create App

14) After Paypal creates the app, you will need to note down the Client ID that shows next:

Image Placeholder

15) Now that you have your Sandbox API Username, password, signature (all from steps 7-10) and Sandbox client ID (step 11-14),  you can now go into the Funnel Buildr app on your store.

16) Click on Settings > Checkout Settings.  Here you will want to fill in the following fields:

Paypal Sandbox API Username
Paypal Sandbox API Password
Paypal Sandbox API Signature
Paypal Sandbox Reference Transactions (Enable/Disable as you wish for your testing)
Paypal Sandbox Client ID

Image Placeholder

With the information you noted down from the previous steps.  Once entered, click the blue Update button to save the changes:
Image Placeholder

17)  To enable test mode for your funnel, go to Funnels and edit the funnel you wish to test.  Once there, go to the Enable Sandbox dropdown and choose Yes:

Image Placeholder
And click the blue Save Settings button to save the changes:

Image Placeholder

18) To test purchases, you can use either the default BUYER account created when you signed up for a developer account, or you can go back to step 5 and create a new buyer account.  You would then use the sandbox buyer account and password when doing your checkout testing (https://developer.paypal.com/docs/api-basics/sandbox/accounts/ for more details)

19) After testing, be sure to come back to your funnel and change the Enable Sandbox setting to No to accept real payments.


References: