keyboard_arrow_left Back to Knowledge Base

Testing the PayPal payment button before accepting real payments

Before you start accepting live payments through your calculator, we strongly recommend testing your PayPal button to make sure that it works correctly. Follow the steps below for information about how to set up your payment button for testing, and how to test it using the PayPal Sandbox environment.

Step 1 | Retrieve Your PayPal SandBox Key:

  1. Open https://developer.paypal.com.
  2. Click the Log into Dashboard button.
  3. Log in with your PayPal business account.
  4. Click My Apps & Credentials.
  5. Under REST API apps, click Create App button (if you already have the app created, click on it and jump to step 7). Create a new PayPal app
  6. Enter the App Name (it might be your business name, our website address or any other name) and click the Create App button. Name your new PayPal app
  7. Select the Sandbox tab at the top-right corner.
  8. Copy your Client ID. Copy a PayPal Sandbox Key (Client Id)

Step 2 | Set Up Your Payment Button for Testing:

  1. Login to your Calconic account
  2. Click My Calculators on the left side menu.
  3. Select the calculator you want to add a payment button to.
  4. Click the Plus icon.
  5. Click the Payment Button. Add a PayPal Payment button to your interactive
  6. Toggle the switch below the Environment label to the Sandbox position.
  7. Paste your PayPal Client ID to the PayPal Sandbox Client ID input field. Set up your PayPal button for testin

Step 3 | Get PayPal Sandbox Accounts:

  1. Open https://developer.paypal.com.
  2. Click the Log into Dashboard button.
  3. Log in with your PayPal business account.
  4. Navigate to Sandbox > Accounts.
  5. Click the three dots icon to see the details of your test accounts and change its password. Creating PayPal accounts for testing

You get two PayPal test accounts by default - business and personal. To test a typical PayPal transaction, you'll need to use both types of accounts. You can create more test accounts by clicking the Create account button at the top-right cornet. Use these accounts to test your calculator's payment button. All sandbox transactions are tracked on the Sandbox test site — https://www.sandbox.paypal.com.

See the PayPal Sandbox Testing Guide (paypal.com) for more information.

Build calculator for free!