Skip to content

Commit 7c5e29a

Browse files
committed
add link to billing portal
1 parent ca0aeca commit 7c5e29a

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

app/Notifications/LicenseKeyGenerated.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function toMail(object $notifiable): MailMessage
4242
->line("**{$this->licenseKey}**")
4343
->line('When prompted by Composer, use your email address as the username and this license key as the password.')
4444
->action('View Installation Guide', url('/docs/mobile/1/getting-started/installation'))
45+
->line('If you need to manage your subscription for this license, you can do so on [Stripe](https://billing.stripe.com/p/login/4gwaGV5VK0uU44E288).')
4546
->line("If you have any questions, please don't hesitate to reach out to our support team.")
4647
->lineIf($this->subscription === Subscription::Max, 'As a Max subscriber, you also have access to the NativePHP/mobile repository. To access it, please log in to [Anystack.sh](https://auth.anystack.sh/?accountType=customer) using the same email address you used for your purchase.')
4748
->salutation("Happy coding!\n\nThe NativePHP Team")

resources/views/early-adopter.blade.php

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,13 +811,28 @@ class="mx-auto flex w-full max-w-2xl flex-col items-center gap-4 pt-10"
811811
<a
812812
href="https://zenvoice.io/p/67a61665e7a3400c73fb75af"
813813
onclick="event.stopPropagation()"
814-
class="inline-block underline"
814+
class="inline-block underline hover:text-violet-400"
815815
>
816816
follow the instructions here
817817
</a>
818818
to generate your invoice.
819819
</p>
820820
</x-faq-card>
821+
822+
<x-faq-card question="How can I manage my subscription?">
823+
<p>
824+
You can manage your subscription via the
825+
<a
826+
href="https://billing.stripe.com/p/login/4gwaGV5VK0uU44E288"
827+
onclick="event.stopPropagation()"
828+
class="inline-block underline hover:text-violet-400"
829+
aria-label="Stripe billing portal"
830+
target="_blank"
831+
>
832+
Stripe billing portal.
833+
</a>
834+
</p>
835+
</x-faq-card>
821836
</div>
822837
</section>
823838

0 commit comments

Comments
 (0)