Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Commit

Permalink
Added stripe billing portal button
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Feb 28, 2021
1 parent 1beb9aa commit ec266df
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@
<jet-secondary-button @click.native="$inertia.visit(route('billing-portal.payment-method.index'))">
Payment methods
</jet-secondary-button>

<jet-secondary-button @click.native="$inertia.visit(route('billing-portal.portal'))">
Stripe Billing Portal

<svg
viewBox="0 0 24 24"
class="w-4 h-4 ml-1"
>
<path
fill="currentColor"
d="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z"
/>
</svg>
</jet-secondary-button>
</div>
</template>

Expand Down

0 comments on commit ec266df

Please sign in to comment.