payment-history: apiClientName, formUrl/successUrl after finalizing, callbackStatus
To match the old online payment history page:
- apiClientName: billing_visa_master_username / billing_sber_username
- formUrl falls back to the logged register.do response, so finalized
attempts keep it; successUrl is the returnUrl logged with register.do
- callbackStatus ("received") and callbackAt from the attempt's first
callback_received log
- index visa_master_payment_logs (order_id, step) for those lookups
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
28
docs/docs.go
28
docs/docs.go
@@ -10045,7 +10045,10 @@ const docTemplate = `{
|
||||
"type": "number"
|
||||
},
|
||||
"apiClient": {
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber) and Description the text sent with register.do -\nboth as visamasterpay's Pay picks them.",
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber), ApiClientName the branch setting it comes from\n(billing_visa_master_username or billing_sber_username), and\nDescription the text sent with register.do - all as visamasterpay's\nPay picks them.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiClientName": {
|
||||
"type": "string"
|
||||
},
|
||||
"bankFeeTmt": {
|
||||
@@ -10057,6 +10060,13 @@ const docTemplate = `{
|
||||
"branchName": {
|
||||
"$ref": "#/definitions/shared.LocalizedText"
|
||||
},
|
||||
"callbackAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"callbackStatus": {
|
||||
"description": "CallbackStatus is CallbackReceived once GBÜS's redirect reached the\ncallback for this attempt, at CallbackAt (its first time); both are\nunset if it never did (e.g. finalized by a /status check instead).",
|
||||
"type": "string"
|
||||
},
|
||||
"cardholderName": {
|
||||
"description": "CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended\ncardAuthInfo, so they're only known once an attempt has been\nfinalized by the callback/status check (unset while pending, and for\nattempts that never reached the card form).",
|
||||
"type": "string"
|
||||
@@ -10080,7 +10090,7 @@ const docTemplate = `{
|
||||
"type": "number"
|
||||
},
|
||||
"formUrl": {
|
||||
"description": "FormUrl/SuccessUrl are only set while the attempt is still pending\n(awaiting the customer to finish paying on GBÜS's hosted page) - once\nan attempt is finalized (success/failed), gateway_response no longer\nholds a formUrl, so there's nothing left to resume.",
|
||||
"description": "FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it\nwas registered with - set for every attempt register.do accepted,\nfinalized ones included (unset if registration failed).",
|
||||
"type": "string"
|
||||
},
|
||||
"gatewayReference": {
|
||||
@@ -10160,7 +10170,10 @@ const docTemplate = `{
|
||||
"type": "number"
|
||||
},
|
||||
"apiClient": {
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber) and Description the text sent with register.do -\nboth as visamasterpay's Pay picks them.",
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber), ApiClientName the branch setting it comes from\n(billing_visa_master_username or billing_sber_username), and\nDescription the text sent with register.do - all as visamasterpay's\nPay picks them.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiClientName": {
|
||||
"type": "string"
|
||||
},
|
||||
"bankFeeTmt": {
|
||||
@@ -10172,6 +10185,13 @@ const docTemplate = `{
|
||||
"branchName": {
|
||||
"$ref": "#/definitions/shared.LocalizedText"
|
||||
},
|
||||
"callbackAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"callbackStatus": {
|
||||
"description": "CallbackStatus is CallbackReceived once GBÜS's redirect reached the\ncallback for this attempt, at CallbackAt (its first time); both are\nunset if it never did (e.g. finalized by a /status check instead).",
|
||||
"type": "string"
|
||||
},
|
||||
"cardholderName": {
|
||||
"description": "CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended\ncardAuthInfo, so they're only known once an attempt has been\nfinalized by the callback/status check (unset while pending, and for\nattempts that never reached the card form).",
|
||||
"type": "string"
|
||||
@@ -10195,7 +10215,7 @@ const docTemplate = `{
|
||||
"type": "number"
|
||||
},
|
||||
"formUrl": {
|
||||
"description": "FormUrl/SuccessUrl are only set while the attempt is still pending\n(awaiting the customer to finish paying on GBÜS's hosted page) - once\nan attempt is finalized (success/failed), gateway_response no longer\nholds a formUrl, so there's nothing left to resume.",
|
||||
"description": "FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it\nwas registered with - set for every attempt register.do accepted,\nfinalized ones included (unset if registration failed).",
|
||||
"type": "string"
|
||||
},
|
||||
"gatewayReference": {
|
||||
|
||||
@@ -10039,7 +10039,10 @@
|
||||
"type": "number"
|
||||
},
|
||||
"apiClient": {
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber) and Description the text sent with register.do -\nboth as visamasterpay's Pay picks them.",
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber), ApiClientName the branch setting it comes from\n(billing_visa_master_username or billing_sber_username), and\nDescription the text sent with register.do - all as visamasterpay's\nPay picks them.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiClientName": {
|
||||
"type": "string"
|
||||
},
|
||||
"bankFeeTmt": {
|
||||
@@ -10051,6 +10054,13 @@
|
||||
"branchName": {
|
||||
"$ref": "#/definitions/shared.LocalizedText"
|
||||
},
|
||||
"callbackAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"callbackStatus": {
|
||||
"description": "CallbackStatus is CallbackReceived once GBÜS's redirect reached the\ncallback for this attempt, at CallbackAt (its first time); both are\nunset if it never did (e.g. finalized by a /status check instead).",
|
||||
"type": "string"
|
||||
},
|
||||
"cardholderName": {
|
||||
"description": "CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended\ncardAuthInfo, so they're only known once an attempt has been\nfinalized by the callback/status check (unset while pending, and for\nattempts that never reached the card form).",
|
||||
"type": "string"
|
||||
@@ -10074,7 +10084,7 @@
|
||||
"type": "number"
|
||||
},
|
||||
"formUrl": {
|
||||
"description": "FormUrl/SuccessUrl are only set while the attempt is still pending\n(awaiting the customer to finish paying on GBÜS's hosted page) - once\nan attempt is finalized (success/failed), gateway_response no longer\nholds a formUrl, so there's nothing left to resume.",
|
||||
"description": "FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it\nwas registered with - set for every attempt register.do accepted,\nfinalized ones included (unset if registration failed).",
|
||||
"type": "string"
|
||||
},
|
||||
"gatewayReference": {
|
||||
@@ -10154,7 +10164,10 @@
|
||||
"type": "number"
|
||||
},
|
||||
"apiClient": {
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber) and Description the text sent with register.do -\nboth as visamasterpay's Pay picks them.",
|
||||
"description": "ApiClient is the branch's GBÜS merchant username for this order type\n(visa/master or sber), ApiClientName the branch setting it comes from\n(billing_visa_master_username or billing_sber_username), and\nDescription the text sent with register.do - all as visamasterpay's\nPay picks them.",
|
||||
"type": "string"
|
||||
},
|
||||
"apiClientName": {
|
||||
"type": "string"
|
||||
},
|
||||
"bankFeeTmt": {
|
||||
@@ -10166,6 +10179,13 @@
|
||||
"branchName": {
|
||||
"$ref": "#/definitions/shared.LocalizedText"
|
||||
},
|
||||
"callbackAt": {
|
||||
"type": "string"
|
||||
},
|
||||
"callbackStatus": {
|
||||
"description": "CallbackStatus is CallbackReceived once GBÜS's redirect reached the\ncallback for this attempt, at CallbackAt (its first time); both are\nunset if it never did (e.g. finalized by a /status check instead).",
|
||||
"type": "string"
|
||||
},
|
||||
"cardholderName": {
|
||||
"description": "CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended\ncardAuthInfo, so they're only known once an attempt has been\nfinalized by the callback/status check (unset while pending, and for\nattempts that never reached the card form).",
|
||||
"type": "string"
|
||||
@@ -10189,7 +10209,7 @@
|
||||
"type": "number"
|
||||
},
|
||||
"formUrl": {
|
||||
"description": "FormUrl/SuccessUrl are only set while the attempt is still pending\n(awaiting the customer to finish paying on GBÜS's hosted page) - once\nan attempt is finalized (success/failed), gateway_response no longer\nholds a formUrl, so there's nothing left to resume.",
|
||||
"description": "FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it\nwas registered with - set for every attempt register.do accepted,\nfinalized ones included (unset if registration failed).",
|
||||
"type": "string"
|
||||
},
|
||||
"gatewayReference": {
|
||||
|
||||
@@ -1348,8 +1348,12 @@ definitions:
|
||||
apiClient:
|
||||
description: |-
|
||||
ApiClient is the branch's GBÜS merchant username for this order type
|
||||
(visa/master or sber) and Description the text sent with register.do -
|
||||
both as visamasterpay's Pay picks them.
|
||||
(visa/master or sber), ApiClientName the branch setting it comes from
|
||||
(billing_visa_master_username or billing_sber_username), and
|
||||
Description the text sent with register.do - all as visamasterpay's
|
||||
Pay picks them.
|
||||
type: string
|
||||
apiClientName:
|
||||
type: string
|
||||
bankFeeTmt:
|
||||
type: number
|
||||
@@ -1357,6 +1361,14 @@ definitions:
|
||||
type: integer
|
||||
branchName:
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
callbackAt:
|
||||
type: string
|
||||
callbackStatus:
|
||||
description: |-
|
||||
CallbackStatus is CallbackReceived once GBÜS's redirect reached the
|
||||
callback for this attempt, at CallbackAt (its first time); both are
|
||||
unset if it never did (e.g. finalized by a /status check instead).
|
||||
type: string
|
||||
cardholderName:
|
||||
description: |-
|
||||
CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended
|
||||
@@ -1378,10 +1390,9 @@ definitions:
|
||||
type: number
|
||||
formUrl:
|
||||
description: |-
|
||||
FormUrl/SuccessUrl are only set while the attempt is still pending
|
||||
(awaiting the customer to finish paying on GBÜS's hosted page) - once
|
||||
an attempt is finalized (success/failed), gateway_response no longer
|
||||
holds a formUrl, so there's nothing left to resume.
|
||||
FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it
|
||||
was registered with - set for every attempt register.do accepted,
|
||||
finalized ones included (unset if registration failed).
|
||||
type: string
|
||||
gatewayReference:
|
||||
type: string
|
||||
@@ -1439,8 +1450,12 @@ definitions:
|
||||
apiClient:
|
||||
description: |-
|
||||
ApiClient is the branch's GBÜS merchant username for this order type
|
||||
(visa/master or sber) and Description the text sent with register.do -
|
||||
both as visamasterpay's Pay picks them.
|
||||
(visa/master or sber), ApiClientName the branch setting it comes from
|
||||
(billing_visa_master_username or billing_sber_username), and
|
||||
Description the text sent with register.do - all as visamasterpay's
|
||||
Pay picks them.
|
||||
type: string
|
||||
apiClientName:
|
||||
type: string
|
||||
bankFeeTmt:
|
||||
type: number
|
||||
@@ -1448,6 +1463,14 @@ definitions:
|
||||
type: integer
|
||||
branchName:
|
||||
$ref: '#/definitions/shared.LocalizedText'
|
||||
callbackAt:
|
||||
type: string
|
||||
callbackStatus:
|
||||
description: |-
|
||||
CallbackStatus is CallbackReceived once GBÜS's redirect reached the
|
||||
callback for this attempt, at CallbackAt (its first time); both are
|
||||
unset if it never did (e.g. finalized by a /status check instead).
|
||||
type: string
|
||||
cardholderName:
|
||||
description: |-
|
||||
CardholderName/MaskedPan come from GBÜS's getOrderStatusExtended
|
||||
@@ -1469,10 +1492,9 @@ definitions:
|
||||
type: number
|
||||
formUrl:
|
||||
description: |-
|
||||
FormUrl/SuccessUrl are only set while the attempt is still pending
|
||||
(awaiting the customer to finish paying on GBÜS's hosted page) - once
|
||||
an attempt is finalized (success/failed), gateway_response no longer
|
||||
holds a formUrl, so there's nothing left to resume.
|
||||
FormUrl is GBÜS's hosted payment page and SuccessUrl the returnUrl it
|
||||
was registered with - set for every attempt register.do accepted,
|
||||
finalized ones included (unset if registration failed).
|
||||
type: string
|
||||
gatewayReference:
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user