keyboard_arrow_left back to knowledge base

Testing PayPal payment button before accepting real payments

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

Step 1 | Retrieve PayPal SandBox Key:

  1. Open https://developer.paypal.com.
  2. Click 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).
  6. Enter an App Name (it might be your business name, our website address or any other name) and click Create App button.
  7. Select the Sandbox tab at the top-right corner.
  8. Copy your Client ID.

Step 2 | Set up your payment button for testing:

  1. Login to your Calconic account
  2. Click My Calculators at the left side menu.
  3. Select a calculator you want to add a payment button.
  4. Click + icon.
  5. Click Payment button.
  6. Toggle the switch below Environment label to Sandbox position.
  7. Paste your PayPal Client ID to PayPal Sandbox Key input field.

Step 3 | Get PayPal Sandbox accounts:

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

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 Create account button at the top-right cornet. Use these accounts for your calculator's payment button testing. All sandbox transactions are tracked on the Sandbox test site — https://www.sandbox.paypal.com.

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