In file link_cybersource\cartridges\int_cybs_sfra_base\cartridge\scripts\http\payments.js
Line 125 Uses the variable Cybersource_CreditCardTransactionType:
if (dw.system.Site.getCurrent().getCustomPreferenceValue('Cybersource_CreditCardTransactionType').value === 'sale' ){
but the configuration value is defined in link_cybersource\metadata\payments_metadata\meta\Core.xml as:
Cybersource_CardTransactionType
In file
link_cybersource\cartridges\int_cybs_sfra_base\cartridge\scripts\http\payments.js
Line 125 Uses the variable
Cybersource_CreditCardTransactionType
:if (dw.system.Site.getCurrent().getCustomPreferenceValue('Cybersource_CreditCardTransactionType').value === 'sale' ){
but the configuration value is defined in
link_cybersource\metadata\payments_metadata\meta\Core.xml
as:Cybersource_CardTransactionType
See comment in the PR: https://github.com/CyberSource/cybersource-plugins-rest-salesforceb2ccommerce/pull/5#discussion_r1575018077