|
|
@@ -72,10 +72,17 @@ onMounted(async () => {
|
|
|
})
|
|
|
|
|
|
if (payment.status !== 'paid') {
|
|
|
- throw new Error(payment.failure_message || 'Pagamento não confirmado.')
|
|
|
- }
|
|
|
+ throw new Error(payment.failure_message || 'Pagamento não confirmado.')
|
|
|
+ }
|
|
|
+
|
|
|
+ $q.notify({
|
|
|
+ type: 'positive',
|
|
|
+ message: 'Pagamento confirmado!',
|
|
|
+ position: 'top',
|
|
|
+ })
|
|
|
|
|
|
- success.value = true
|
|
|
+ onDialogOK()
|
|
|
+
|
|
|
} catch (e) {
|
|
|
console.error('Erro ao pagar:', e)
|
|
|
|