Taking payments in production
Take a payment in production
Prerequisites
In order to take a payment in production, the following must be true:
- You have followed the steps of the Payment Form Setup Guide and can successfully create a nonce.
- You have followed the steps to Create a Payment and can successfully create a payment.
1. Use your production credentials
If you are ready to use the payment form in production, you will need to do the following:
- Remove the
sandbox
flag from the props. - Replace all your Sandbox credentials with production credentials
- Open your Application Dashboard.
- Click on the application you want to use for the payment form.
- On the top, toggle to "Production".
- Replace the following credentials with your production credentials:
- Application ID
- Location ID
- Access token
- Replace your backend payments URL from https://connect.squareupsandbox.com/v2/payments to https://connect.squareup.com/v2/payments