Payment Configuration
From version 2.18.0 the Stripe API key configuration has been moved from a CE environment variable to the payment processor entity.
Feature Overview
From version 2.18.0 the Stripe API key configuration has been moved from a CE environment variable to the payment processor entity. This entity has a field level security protected field (by default only sys admins can access it) to store the configuration. The value should be a JSON string, and can either contain the key (this is not encrypted, but is limited to sys admins) or a keyvault location.
If you are using the keyvault location, you need to configure the managed identity for the utilities plugin as per the CE Utilities documentation on Docsie.
It is strongly recommended to use keyvault for production keys to avoid exposure.
The JSON syntax is as follows:
{"APISecret": "xyzabc"}
or
{"KeyvaultUrl": "https://xxx.vault.azure.com/stripekeysecret" }
The URL for the keyvault can be retrieved from Azure. Please ensure the managed identity that you configure for the utilities plugin has access to read the secrets from the keyvault for this to work.
Payment Processor Configuration

Code is used for Payfurl for the publicly accessible key
External reference is used for Payfurl to distinguish between Sandbox and Production
Payment Processor is a dropdown of supported product payment gateways. Currently Stripe and Payfurl. Externally managed bypassed product logic and assumes logic is implemented by the delivery team, to magane client specific requirements or client specific gateways.
Priority is used when the system needs to decide which gateway to use, if it is not specified by the processing records. The processor with the lowest number will be chosen.
Set API Recurring flag toggles whether or not recurring payments sets a provider specific flag to indicate possible future transactions on the same payment method. This was added as a setting with default false to allow for backward compatibility, but it is recommended to turn this on to help with payment compliance processing and help prevent undue payment blocking on the banking side. For Payfurl the "Recurring" flag and initiator="Merchant" is set when this flag is enabled, and for Stripe the "setup_future_usage" is set to Off-Session. This only applies to recurring payments processed by Dynamics.
Configuration is explained above.
Assumptions
- You are using stripe in CE and on the portal.
- If you use keyvault, you have configured the managed identity for the plugin and granted it access to the keyvault.
Dependencies
None
Security Considerations
- The field is Field level secured in dynamics, and by default all system admins can edit this field. No one else can read it. Moving the value to keyvault is even more secure.
Last updated on