mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
update: address comments.
This commit is contained in:
@@ -16,7 +16,9 @@
|
||||
if (page.url.searchParams.has('clientSecret')) {
|
||||
const clientSecret = page.url.searchParams.get('clientSecret');
|
||||
const paymentMethodId = page.url.searchParams.get('paymentMethodId');
|
||||
await confirmPayment({ clientSecret, paymentMethodId });
|
||||
if (clientSecret && paymentMethodId) {
|
||||
await confirmPayment({ clientSecret, paymentMethodId });
|
||||
}
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
import type { Models } from '@appwrite.io/console';
|
||||
|
||||
export let show = false;
|
||||
export let invoice: Models.Invoice;
|
||||
export let invoice: Models.Invoice | null = null;
|
||||
|
||||
let name: string;
|
||||
let state: string = '';
|
||||
|
||||
Reference in New Issue
Block a user