Gift card numbers may not exceed 30 characters #384
-
|
Hi, We are working with the Store Commerce app and have a custom payment connector for external gift cards. Now we notice that in the gift card dialog there is a limitation on the length of a gift card. Apparently it does not accept gift card numbers which are longer than 30 characters. The UI of the Store commerce app gives back the following error: "Gift card numbers may not exceed 30 characters." In the meanwhile I know how to develop a payment connector, but I'm new to making customizations to the POS. Can you help me or point me in the right direction about what to extend or customize to make it possible to enter gift cards longer than 30? Thx in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
If you have locally installed a CSU for testing, I believe you can look at the CommerceRuntime.config file. Location of this would be something like C:\Program Files\Microsoft Dynamics 365\10.0\Commerce Scale Unit\Microsoft\RetailServer\bin In this file, you should find a setting like this: < add name="featureState.Payments.IsPOSGiftCardLengthWarningEnabled" value="true" /> When using a cloud hosted CSU for sandbox/production, a ticket with the D365 Commerce Support Team would be required to have this value changed. Set the value to "false", restart your CSU and the warning should be disabled; however, you'll then be limited by the database field length which should be 50 characters. |
Beta Was this translation helpful? Give feedback.
If you have locally installed a CSU for testing, I believe you can look at the CommerceRuntime.config file. Location of this would be something like C:\Program Files\Microsoft Dynamics 365\10.0\Commerce Scale Unit\Microsoft\RetailServer\bin
In this file, you should find a setting like this: < add name="featureState.Payments.IsPOSGiftCardLengthWarningEnabled" value="true" /> When using a cloud hosted CSU for sandbox/production, a ticket with the D365 Commerce Support Team would be required to have this value changed.
Set the value to "false", restart your CSU and the warning should be disabled; however, you'll then be limited by the database field length which should be 50 characters.