Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Credit Card authorizations will not work: Wrong configuration variable name #7

Closed
moorena opened this issue Apr 22, 2024 · 0 comments
Closed

Comments

@moorena
Copy link

moorena commented Apr 22, 2024

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: #5 (comment)

@moorena moorena changed the title Wrong configuration variable name Credit Card authorizations will not work: Wrong configuration variable name Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants