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:
@@ -2131,6 +2131,8 @@ definitions:
|
||||
type: number
|
||||
gatewayReference:
|
||||
type: string
|
||||
gatewayResponse:
|
||||
type: object
|
||||
gatewayStatus:
|
||||
type: string
|
||||
gbusFeeTmt:
|
||||
@@ -8872,7 +8874,8 @@ paths:
|
||||
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.
|
||||
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.
|
||||
parameters:
|
||||
- description: Visa/master payment order ID
|
||||
in: path
|
||||
|
||||
Reference in New Issue
Block a user