configuring visa code checkout

kaoutar
New Contributor

configuring visa code checkout

Hello! i'm currently trying to execute the visa code checkout but i'm having hard times understanding the fields within the config.cng.

# Section 1: API Authentication
# Sub-Section 1a: For Two-way mutual SSL authentication
AUTHENTICATION_METHOD = TWO_WAY_SSL
USERNAME = <YOUR USERNAME>
PASSWORD = <YOUR PASSWORD>
KEY_STORE_PATH = <YOUR KEYSTORE PATH>
KEY_STORE_PASSWORD = <YOUR KEYSTORE PASSWORD>
PRIVATE_KEY_PASSWORD = <YOUR PRIVATE KEY PASSWORD>
# ----------------
# Sub-Section 1b: For X-Pay-Token authentication
#AUTHENTICATION_METHOD = X_PAY_TOKEN
#APIKEY = <YOUR API KEY>
#SHARED_SECRET = <YOUR SHARED SECRET>
# --------------------------------

# Section 2: Field Level Encryption
ENCRYPTION_KID = <YOUR ENCRYPTION KEY>
# Sub-Section 2a: For Asymmetric Encryption using Visa public key
ENCRYPTION_METHOD = ASYMMETRIC
ENCRYPTION_PUBLIC_KEY_PATH = <FULL PATH OF PEM FILE PROVIDED BY VISA FOR ENCRYPTION>
# ----------------
# Sub-Section 2b: For Symmetric Encryption using Shared secret
#ENCRYPTION_METHOD = SYMMETRIC
#ENCRYPTION_SHARED_SECRET = <YOUR ENCRYPTION SHARED SECRET>
# --------------------------------

# Section 3: General Section
HOST = https://sandbox.api.visa.com/
# HOST = https://cert.api.visa.com/

# Section 4: Proxy Section
PROXY_HOST_NAME = <YOUR PROXY HOST>
PROXY_PORT_NUMBER = <YOUR PROXY PORT>

 

I only know where to get data related to X-pay-Token authentication. i have no idea where do i get the bunch of the other keys.
i would appreciate a help ASAP thank you 

1 REPLY 1
SyedSa
Community Moderator

Re: configuring visa code checkout

Hi @kaoutarThank you for reaching out! One of our agents will look into this and get back to you soon. Until then, if any community members know a solution, feel free to reply to this thread.