Skip to content

feat(fiservcommercehub): map merchant_order_id to merchantOrderId for FiservCommerceHub - #2177

Open
aniketburman014 wants to merge 2 commits into
mainfrom
fiserv_commercehub/populate-order-id
Open

feat(fiservcommercehub): map merchant_order_id to merchantOrderId for FiservCommerceHub#2177
aniketburman014 wants to merge 2 commits into
mainfrom
fiserv_commercehub/populate-order-id

Conversation

@aniketburman014

@aniketburman014 aniketburman014 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Description

Added merchant_order_id to FiservcommercehubTransactionDetailsReq in FiservCommerceHub, populated for Authorize, Capture, and RepeatPayment flows.

Motivation and Context

Additional Changes

  • This PR modifies the API contract
  • This PR modifies application configuration/environment variables

How did you test it?

Via HS

{
    "amount": 1000,
    "currency": "ZAR",
    "confirm": true,
    "capture_method": "automatic",
    "authentication_type": "no_three_ds",
    "profile_id": "pro_niZ5nw8wQsfi7FXWA3CR",
    "customer": {
        "id": "cust_757925533435ree33444354134",
        "name": "John"
    },
    "three_ds_data": {
    "authentication_cryptogram": {
      "cavv": {
        "authentication_cryptogram": "3q2+78r+ur7erb7vyv66vv////8="
      }
    },
    "ds_trans_id": "c4e59ceb-a382-4d6a-bc87-385d591fa09d",
    "version": "2.1.0",
    "eci": "05",
    "transaction_status": "Y",
    "exemption_indicator": "low_value"
  },
    "payment_method": "card",
    "payment_method_type": "credit",
    "payment_method_data": {
      "card": {
        "card_number": "4111111111111111",
        "card_exp_month": "12",
        "card_exp_year": "2031",
        "card_holder_name": "John Doe",
        "card_cvc":"123"
      }
    },
    "billing": {
      "address": {
        "first_name": "John",
        "last_name": "Doe",
        "country": "IT"
        
      },
      "email": "customer@example.com"
    },
    "browser_info": {
        "user_agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36",
        "accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
        "language": "nl-NL",
        "color_depth": 24,
        "screen_height": 723,
        "screen_width": 1536,
        "time_zone": 0,
        "java_enabled": true,
        "java_script_enabled": true,
        "ip_address": "125.0.0.1"
    },
    "merchant_order_reference_id": "123454332"
    
}

Raw response Log

image

@aniketburman014
aniketburman014 requested a review from a team as a code owner August 25, 2026 08:34
@aniketburman014 aniketburman014 changed the title feat(fiservcommercehub): map merchant_order_id to merchantOrderId for Fiserv CommerceHub feat(fiservcommercehub): map merchant_order_id to merchantOrderId for FiservCommerceHub Aug 25, 2026
@aniketburman014 aniketburman014 self-assigned this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(fiservcommercehub): map merchant_order_id to merchantOrderId for FiservCommerceHub

1 participant