Merged in fix/change-ref-id-to-query-param (pull request #1578)
fix: my stay now uses ref id in query param rather than path param to support legacy * fix: my stay now uses ref id in query param rather than path param to support legacy Approved-by: Michael Zetterberg
This commit is contained in:
committed by
Linus Flood
parent
3efa303d20
commit
7ddca4acba
@@ -24,7 +24,7 @@ export default async function GuaranteePaymentCallbackPage({
|
||||
const status = searchParams.status
|
||||
const confirmationNumber = searchParams.confirmationNumber
|
||||
const refId = searchParams.refId
|
||||
const myStayUrl = `${hotelreservation(lang)}/my-stay/${encodeURIComponent(refId)}`
|
||||
const myStayUrl = `${hotelreservation(lang)}/my-stay?RefId=${refId}`
|
||||
|
||||
if (status === "success" && confirmationNumber && refId) {
|
||||
console.log(`[gla-payment-callback] redirecting to: ${myStayUrl}`)
|
||||
|
||||
Reference in New Issue
Block a user