Obtaining Stripe Credentials
CPM requires that you obtain a publishable key from Stripe as well as a second key that is used to authenticate API calls made from Business Central to your Stripe account.
To obtain your Stripe credentials using the CPM for Business Central application:
- Download and install the CPM for Business Central application into your Stripe environment. A link to this application’s listing in the Stripe marketplace can be found here.
- Enable the Test Mode setting in the upper righthand corner of the Stripe Home page.
- Choose the Developers menu item (located next to the Test Mode setting).
- On the Developers dashboard, choose the Apps menu item.
- On the Apps page, choose the CPM for Business Central application.
- On the app page for CPM for Business Central, choose the menu button in the upper righthand corner, then choose the View app settings action.
- On the CPM for Business Central settings page, choose the View API keys button
- The API keys screen presents both your account’s publishable key as well as a new restricted key.
- Use the Copy buttons (you must first reveal the restricted key before you can copy it) on the screen and paste these values to your clipboard
Note: Suite Engine strongly recommends that you set up a restricted key for the purposes of your Stripe API communication, as this ensures that there is no inadvertent processing of activities that fall beyond the scope of CPM. In addition, if for any reason your CPM restricted key is compromised, you can reset it without impacting any other integrations that may be using your secret key to facilitate communication.
For additional information on Stripe’s API keys and how they are used, see here.