Merged in fix/STAY-67-redirect-to-webview-after-gla (pull request #2795)
fix(STAY-67): redirect to webview after guarantee on my stay * fix(STAY-67): redirect to webview after guarantee on my stay * fix(STAY-67): add callback page for guarantee on webview Approved-by: Linus Flood
This commit is contained in:
@@ -8,6 +8,10 @@ export function hotelreservation(lang: Lang) {
|
||||
return `/${lang}/hotelreservation`
|
||||
}
|
||||
|
||||
export function webviewHotelreservation(lang: Lang) {
|
||||
return `/${lang}/webview/hotelreservation`
|
||||
}
|
||||
|
||||
export function bookingConfirmation(lang: Lang) {
|
||||
return `${hotelreservation(lang)}/booking-confirmation`
|
||||
}
|
||||
@@ -41,6 +45,8 @@ export function alternativeHotelsMap(lang: Lang) {
|
||||
return `${hotelreservation(lang)}/alternative-hotels/map`
|
||||
}
|
||||
|
||||
export function guaranteeCallback(lang: Lang) {
|
||||
return `${hotelreservation(lang)}/gla-payment-callback`
|
||||
export function guaranteeCallback(lang: Lang, isWebview: boolean) {
|
||||
return isWebview
|
||||
? `${webviewHotelreservation(lang)}/gla-payment-callback`
|
||||
: `${hotelreservation(lang)}/gla-payment-callback`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user