-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,34 @@ | ||
<template> | ||
<AlertBanner | ||
title="Due to RBI regulations, we need to collect a mandate/consent from you to process payments from your card. Please remove and add your card again. Contact support for any further details." | ||
type="warning" | ||
> | ||
<Button class="ml-auto shrink-0" route="/billing" variant="outline"> | ||
Update Card | ||
</Button> | ||
</AlertBanner> | ||
<div> | ||
<AlertBanner | ||
title="Due to RBI regulations, we need to collect a mandate/consent from you to process payments from your card." | ||
type="warning" | ||
> | ||
<Button | ||
class="ml-auto shrink-0" | ||
@click="showAddCardDialog = true" | ||
variant="outline" | ||
> | ||
Update Card | ||
</Button> | ||
</AlertBanner> | ||
<StripeCardDialog | ||
v-model="showAddCardDialog" | ||
message="Due to RBI regulations, we need to collect mandate/consent from Indian customers to process auto debit from your card. Please add your card again. Contact [email protected] for further details." | ||
/> | ||
</div> | ||
</template> | ||
<script> | ||
import AlertBanner from './AlertBanner.vue'; | ||
import StripeCardDialog from './StripeCardDialog.vue'; | ||
export default { | ||
name: 'AlertMandateInfo', | ||
components: { AlertBanner } | ||
components: { AlertBanner, StripeCardDialog }, | ||
data() { | ||
return { | ||
showAddCardDialog: false | ||
}; | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters