visamasterpay: return gatewayResponse from GET /{id}/status
The status check now carries GBÜS's last stored response for the attempt alongside gatewayStatus - the fresh getOrderStatusExtended.do answer when it was just checked, the stored one when the attempt was already finalized, null if GBÜS never answered. The callback is unchanged: it is public and only reports paid plus a message. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9926,7 +9926,7 @@
|
||||
"BearerAuth": []
|
||||
}
|
||||
],
|
||||
"description": "For when the frontend can't rely on GBÜS's redirect having reached the callback (e.g. the user closed the hosted payment page first) - re-verifies the latest attempt with GBÜS server-to-server, the same way the callback does, and finalizes it if needed. Safe to call repeatedly.",
|
||||
"description": "For when the frontend can't rely on GBÜS's redirect having reached the callback (e.g. the user closed the hosted payment page first) - re-verifies the latest attempt with GBÜS server-to-server, the same way the callback does, and finalizes it if needed. gatewayResponse is GBÜS's last stored response for the attempt (null if GBÜS never answered). Safe to call repeatedly.",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
@@ -13030,6 +13030,9 @@
|
||||
"gatewayReference": {
|
||||
"type": "string"
|
||||
},
|
||||
"gatewayResponse": {
|
||||
"type": "object"
|
||||
},
|
||||
"gatewayStatus": {
|
||||
"type": "string"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user