@extends('frontend.layouts.master')
@section('title', ($success ? 'Payment confirmed' : 'Payment not completed') . ' - ' . (settings('name') ?: 'Travelio'))
@section('page', 'payment-result')
@section('content')
{{--
The mobile app opens the checkout in a web view and watches for this URL.
It reads data-payment-status / data-payment-reference instead of scraping
the copy, so wording can change without breaking the app.
--}}
{{ $success ? 'Payment confirmed' : 'Payment not completed' }}
@if(!empty($from_app))
{{--
This checkout was started from the mobile app: try to hand the payer
straight back via the app's travelio:// scheme. The button above stays
as the fallback for browsers that block scripted scheme launches.
--}}
@endif
@endsection