2022-11-23 07:27:43 +01:00
|
|
|
@extends('portal.ninja2020.layout.clean')
|
|
|
|
@section('meta_title', ctrans('texts.purchase'))
|
|
|
|
|
|
|
|
@section('body')
|
2022-12-22 06:53:48 +01:00
|
|
|
@livewire('billing-portal-purchasev2', ['subscription' => $subscription->id, 'db' => $subscription->company->db, 'hash' => $hash, 'request_data' => $request_data, 'campaign' => request()->query('campaign') ?? null])
|
2022-11-23 07:27:43 +01:00
|
|
|
@stop
|
|
|
|
|
|
|
|
@push('footer')
|
|
|
|
<script>
|
|
|
|
|
2024-01-27 08:59:56 +01:00
|
|
|
document.addEventListener('livewire:init', () => {
|
2024-01-14 02:00:51 +01:00
|
|
|
|
|
|
|
Livewire.on('beforePaymentEventsCompleted', () => {
|
|
|
|
setTimeout(() => {
|
|
|
|
document.getElementById('payment-method-form').submit()
|
|
|
|
}, 2500);
|
|
|
|
});
|
|
|
|
|
2024-01-09 16:07:18 +01:00
|
|
|
});
|
2024-01-14 02:00:51 +01:00
|
|
|
|
2022-11-23 07:27:43 +01:00
|
|
|
</script>
|
|
|
|
@endpush
|