I am using liliac and trying to setup Cybersource, and am getting the same issue as
and
which is that the Card Details section is greyed out. I explored that those are the dummy fields in the payment mfe that are meant to be replaced by cybersource javascript to allow cybersource to get the card details without us ever getting the burden of securly handling card details. But those fields never get replaced… also, it looks like the the cybersource configuration details for payment_processors in the readme of GitHub - overhangio/tutor-ecommerce: Ecommerce plugin for Tutor are redundant since this commit
Consolidate the Cybersource and CybersourceREST payment processors · openedx/ecommerce@b69e7e3 · GitHub (as it looks like only some of them are necessary).
So I defined the config values as described fields lines 141-143
Is there something I might be missing here? But am still getting the card details section greyed out.
What I suspect is that the error is coming from is the lines 154-156
Who is supposed to set up those flex_shared_secret_key_id
and other flex related variables… if I am supposed to set them up and not the Cybersource, where do I get those from Cybersource?
The specifc error that I am getting, as capture from the tutor logs is as follows:
core 0)
ecommerce_1 | 2021-11-23 17:50:25,456 ERROR 11 [ecommerce.extensions.basket.views] /openedx/ecommerce/./ecommerce/extensions/basket/views.py:637 - Error generating capture_context
ecommerce_1 | Traceback (most recent call last):
ecommerce_1 | File "/openedx/ecommerce/./ecommerce/extensions/basket/views.py", line 635, in _add_capture_context
ecommerce_1 | response['capture_context'] = payment_processor.get_capture_context(self.request.session)
ecommerce_1 | File "/openedx/ecommerce/./ecommerce/extensions/payment/processors/cybersource.py", line 188, in get_capture_context
ecommerce_1 | api_instance = KeyGenerationApi(self.cybersource_api_config)
ecommerce_1 | File "/openedx/venv/lib/python3.8/site-packages/CyberSource/apis/key_generation_api.py", line 42, in __init__
ecommerce_1 | self.api_client.set_configuration(merchant_config)
ecommerce_1 | File "/openedx/venv/lib/python3.8/site-packages/CyberSource/api_client.py", line 150, in set_configuration
ecommerce_1 | mconfig.validate_merchant_details(config, mconfig)
ecommerce_1 | File "/openedx/venv/lib/python3.8/site-packages/authenticationsdk/core/MerchantConfiguration.py", line 220, in validate_merchant_details
ecommerce_1 | authenticationsdk.util.ExceptionAuth.validate_merchant_details_log(logger,
ecommerce_1 | File "/openedx/venv/lib/python3.8/site-packages/authenticationsdk/util/ExceptionAuth.py", line 19, in validate_merchant_details_log
ecommerce_1 | sys.exit(1)Preformatted text
The payment processor variables I am setting are
access_key: HIDDEN
cancel_checkout_path: /checkout/cancel-checkout/
merchant_id: HIDDEN
payment_page_url: https://testsecureacceptance.cybersource.com/pay
profile_id: HIDDEN
receipt_page_url: /checkout/receipt/
secret_key: HIDDEN