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": {
|
||||
|
||||
Reference in New Issue
Block a user