Hello! I'm new to CyberSource and I'm currently exploring the sample projects available on the GitHub page. However, I'm facing some challenges with understanding and correctly using the Organization ID and Merchant ID. I would greatly appreciate your guidance on how to properly utilize these IDs within the context of the sample projects. Could you please provide me with detailed instructions or explanations on how to effectively work with the Organization ID and Merchant ID? Thank you so much for your assistance!
Solved! Go to Solution.
08-17-2023 11:10 PM
Jamssyyy,
When you set up an Account at Authorize Net, the setup will created the Organization ID and Merchant ID values, along with some other required values, such as Transaction Key.
When posting to authorize.net you will include those values in the body of the post:
$HTTP_Request_Body_ob:=New object("createTransactionRequest"; \
New object(\
"merchantAuthentication"; New object("name"; Merchant_Name_t; "transactionKey"; Merchant_Key_t); \
"refId"; String([Account]AccountNo); \
"transactionRequest"; \
New object("transactionType"; "authCaptureTransaction"; "amount"; String([Payment]Amount); \
"payment"; New object("opaqueData"; New object("dataDescriptor"; $Data_Descriptor_t; \
"dataValue"; $Data_Value_t)); \
"billTo"; New object(\
"firstName"; [Account]Bill_To_First_Name; \
"lastName"; [Account]Bill_To_Last_Name; \
"address"; [Account]Bill_To_Address; \
"city"; [Account]Bill_To_City; \
"state"; [Account]Bill_To_State; \
"zip"; [Account]Bill_To_Zip; \
"country"; "US"); \
"customerIP"; IPRemote_t)))
https://developer.authorize.net/api/reference/index.html#gettingstarted-section-section-header
08-18-2023 10:55 AM
Jamssyyy,
When you set up an Account at Authorize Net, the setup will created the Organization ID and Merchant ID values, along with some other required values, such as Transaction Key.
When posting to authorize.net you will include those values in the body of the post:
$HTTP_Request_Body_ob:=New object("createTransactionRequest"; \
New object(\
"merchantAuthentication"; New object("name"; Merchant_Name_t; "transactionKey"; Merchant_Key_t); \
"refId"; String([Account]AccountNo); \
"transactionRequest"; \
New object("transactionType"; "authCaptureTransaction"; "amount"; String([Payment]Amount); \
"payment"; New object("opaqueData"; New object("dataDescriptor"; $Data_Descriptor_t; \
"dataValue"; $Data_Value_t)); \
"billTo"; New object(\
"firstName"; [Account]Bill_To_First_Name; \
"lastName"; [Account]Bill_To_Last_Name; \
"address"; [Account]Bill_To_Address; \
"city"; [Account]Bill_To_City; \
"state"; [Account]Bill_To_State; \
"zip"; [Account]Bill_To_Zip; \
"country"; "US"); \
"customerIP"; IPRemote_t)))
https://developer.authorize.net/api/reference/index.html#gettingstarted-section-section-header
08-18-2023 10:55 AM