Entering your Stripe/Usio Account Credentials
You will have access to production and test environment. This allows you to test out new products and processes in a separate environment from the live platform on which actual payments are processed. Although these two environments are set up under the same account, they have their own, dedicated credentials.
It is necessary to link your payment platform to your Stripe or Usio account. It is recommended that you initially perform this activity against your test environment. Once you have completed the necessary testing activities and are comfortable with how CPM integrates with the external payment platform, you can switch these settings to point to your production environment.
Before you can associate your Stripe credentials to your payment platform in Business Central, it is necessary for you to obtain this information from Stripe/Usio.
- Obtaining Stripe Credentials
- Obtaining Usio Credentials
Once you have your credentials, you can link them in your CPM Payment Platform.
- Choose the looking glass inside of Business Central
- Enter CPM Payment Platform and choose the related link
- Open the payment platform that you want to link to your Stripe account.
- In the Payment Platform Mode field, select Test.
- On the Stripe Information FastTab, fill in the following fields
- Stripe API Base URL: enter a URL of https://api.stripe.com in this field. This is the standard URL that is used by Stripe for API calls to its platform.
- Stripe Publishable Test Key: enter the publishable key you copied from your Stripe test environment.
- Choose the Enter Stripe API Key action on the Setup tab in the ribbon.
- In the CPM User Input page, enter the restricted key you copied from your Stripe test environment in the Stripe API Key field.
- Choose the OK button to close the page.
- To validate that your credentials have been entered correctly, choose the Actions tab in the ribbon, then select the Setup group and choose the Test Platform Communication action. If notification message will inform you as to whether the communication test was successful.
Note: CPM takes extra precautions to safely store your restricted keys in a protected area of Business Central, using encrypted isolated storage to ensure that no one (including developers attempting to access these values through code or another application) can view or obtain this information.
Your payment platform is now linked to your Stripe test environment. When you are ready to go live with CPM, you will want to update this payment platform with the credentials for your Stripe production environment.
Next: Configuration of CPM Payment Platform