Skip to content

Commit

Permalink
Create order_status_failure_response
Browse files Browse the repository at this point in the history
Merchant container order status failure response
  • Loading branch information
prabu-juspay authored Aug 27, 2024
1 parent 03af28f commit b3547ab
Showing 1 changed file with 186 additions and 0 deletions.
186 changes: 186 additions & 0 deletions merchantContainer/order_status_failure_response
Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"event_name": "ORDER_FAILED",
"content": {
"order": {
"txn_list": [
{
"payer_app_name": "com.dreamplug.androidapp",
"payer_vpa": "FILTERED",
"payment_method": "UPI",
"payment_gateway_response": {
"network_error_message": null,
"txn_id": "juspay-123-1-1",
"rrn": "11223344",
"auth_id_code": null,
"resp_message": "Transaction failed",
"epg_txn_id": "asdf1234",
"gateway_merchant_id": null,
"resp_code": "U30",
"created": "2024-01-01T04:32:24Z",
"network_error_code": null,
"arn": null
},
"txn_id": "juspay-123-1-1",
"gateway_reference_id": null,
"txn_detail": {
"response_message": "Transaction failed",
"txn_id": "juspay-123-1-1",
"order_id": "123",
"error_code": "U30",
"txn_flow_type": "INTENT",
"status": "AUTHENTICATION_FAILED",
"express_checkout": false,
"gateway_id": 100,
"error_message": "Transaction failed",
"offer_deduction_amount": null,
"tax_amount": null,
"currency": "INR",
"txn_amount_breakup": [
{
"amount": 1520,
"method": "ADD",
"sno": "FILTERED",
"name": "BASE"
}
],
"txn_amount": 1520,
"created": "2024-01-01T04:31:58Z",
"gateway": "DUMMY",
"surcharge_amount": null,
"last_updated": "2024-01-01T04:32:24Z",
"txn_uuid": "moz********zpi",
"net_amount": 1608,
"redirect": true,
"metadata": {
"payment_channel": "ANDROID"
},
"response_code": "TXN_FAILURE"
},
"status": "AUTHENTICATION_FAILED",
"offers": [],
"resp_message": "Transaction failed",
"refunded": false,
"gateway_id": 100,
"effective_amount": 1520,
"auth_type": "",
"resp_code": "TXN_FAILURE",
"upi": {
"payer_vpa": "FILTERED",
"txn_flow_type": "INTENT",
"payer_app": "com.dreamplug.androidapp"
},
"payment_method_type": "UPI",
"txn_uuid": "moz*******zpi",
"resp_category": "GENERIC_ERROR",
"bank_error_code": "U30",
"metadata": {
"payment_page_client_id": "juspay",
"merchant_container_list": "FILTERED",
"payment_page_sdk_payload": "FILTERED",
"payment_links": {
"mobile": "https://payments.juspay.in/payment-page/order/ordeh_123",
"web": "https://payments.juspay.in/payment-page/order/ordeh_123",
"iframe": "https://payments.juspay.in/payment-page/order/ordeh_123"
},
"merchant_payload": "{\"customerEmail\":\"1111111\",\"customerPhone\":\"1111111\",\"metadata.merchantContainerList\":\"[{\\\"payment_method\\\":\\\"JUSPAY_WALLET\\\",\\\"payment_method_type\\\":\\\"MERCHANT_CONTAINER\\\",\\\"display_name\\\":\\\"Juspay Wallet\\\",\\\"walletIconURL\\\":\\\"https://juspay.in/wallet-icon.png\\\",\\\"balance_amount\\\":88.0,\\\"eligible_amount\\\":88.0,\\\"isPreSelected\\\":true}]\"}"
},
"bank_error_message": "Transaction failed"
},
{
"payment_method": "JUSPAY_WALLET",
"txn_id": "juspay-123-1-2",
"gateway_reference_id": null,
"txn_detail": {
"txn_id": "juspay-123-1-2",
"order_id": "123",
"error_code": null,
"status": "TO_BE_CHARGED",
"express_checkout": false,
"gateway_id": 267,
"error_message": "",
"offer_deduction_amount": null,
"tax_amount": null,
"currency": "INR",
"txn_amount_breakup": [
{
"amount": 88,
"method": "ADD",
"sno": "FILTERED",
"name": "BASE"
}
],
"txn_amount": 88,
"created": "2024-01-01T04:31:58Z",
"gateway": "MERCHANT_CONTAINER",
"surcharge_amount": null,
"last_updated": "2024-01-01T04:31:58Z",
"txn_uuid": "moz*******SPH",
"net_amount": 1608,
"redirect": false
},
"status": "TO_BE_CHARGED",
"offers": [],
"resp_message": null,
"refunded": false,
"gateway_id": 267,
"effective_amount": 88,
"auth_type": "",
"resp_code": null,
"payment_method_type": "MERCHANT_CONTAINER",
"txn_uuid": "moz*******BSPH",
"resp_category": null,
"bank_error_code": "",
"metadata": {
"payment_page_client_id": "juspay",
"merchant_container_list": "FILTERED",
"payment_page_sdk_payload": "FILTERED",
"payment_links": {
"mobile": "https://payments.juspay.in/payment-page/order/ordeh_123",
"web": "https://payments.juspay.in/payment-page/order/ordeh_123",
"iframe": "https://payments.juspay.in/payment-page/order/ordeh_123"
},
"merchant_payload": "{\"customerEmail\":\"1111111\",\"customerPhone\":\"1111111\",\"metadata.merchantContainerList\":\"[{\\\"payment_method\\\":\\\"JUSPAY_WALLET\\\",\\\"payment_method_type\\\":\\\"MERCHANT_CONTAINER\\\",\\\"display_name\\\":\\\"Juspay Wallet\\\",\\\"walletIconURL\\\":\\\"https://juspay.in/wallet-icon.png\\\",\\\"balance_amount\\\":88.0,\\\"eligible_amount\\\":88.0,\\\"isPreSelected\\\":true}]\"}"

},
"bank_error_message": ""
}
],
"customer_phone": "FILTERED",
"order_id": "123",
"customer_id": "8235314",
"amount": 1608,
"status": "AUTHENTICATION_FAILED",
"status_id": 26,
"product_id": "",
"date_created": "2024-01-01T04:31:48Z",
"id": "ordeh_123",
"merchant_id": "juspay",
"return_url": "https://www.juspay.in/v2/payment-status/123",
"effective_amount": 1608,
"currency": "INR",
"customer_email": "1111111",
"additional_info": {},
"last_updated": "2024-01-01T04:32:24Z",
"payment_links": {
"mobile": "https://payments.juspay.in/payment-page/order/ordeh_123",
"web": "https://payments.juspay.in/payment-page/order/ordeh_123",
"iframe": "https://payments.juspay.in/payment-page/order/ordeh_123"
},
"amount_refunded": 0,
"metadata": {
"payment_page_client_id": "juspay",
"merchant_container_list": "FILTERED",
"payment_page_sdk_payload": "FILTERED",
"payment_links": {
"mobile": "https://payments.juspay.in/payment-page/order/ordeh_123",
"web": "https://payments.juspay.in/payment-page/order/ordeh_123",
"iframe": "https://payments.juspay.in/payment-page/order/ordeh_123"
},
"merchant_payload": "{\"customerEmail\":\"1111111\",\"customerPhone\":\"1111111\",\"metadata.merchantContainerList\":\"[{\\\"payment_method\\\":\\\"JUSPAY_WALLET\\\",\\\"payment_method_type\\\":\\\"MERCHANT_CONTAINER\\\",\\\"display_name\\\":\\\"Juspay Wallet\\\",\\\"walletIconURL\\\":\\\"https://juspay.in/wallet-icon.png\\\",\\\"balance_amount\\\":88.0,\\\"eligible_amount\\\":88.0,\\\"isPreSelected\\\":true}]\"}"
}
}
},
"date_created": "2024-01-01T04:32:24Z",
"id": "evt_V2_0afsjfksdhfkds2432332d62"
}

0 comments on commit b3547ab

Please sign in to comment.