Created
June 27, 2018 04:40
-
-
Save studio-fars-company/579fee25c5076f6d8fd102c586f6184a to your computer and use it in GitHub Desktop.
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
@extends('layouts.app') | |
@section('content') | |
<div class="container"> | |
<div class="row"> | |
<div class="col-md-8 col-md-offset-2"> | |
<div class="panel panel-default"> | |
<div class="panel-heading">Dashboard</div> | |
<div class="panel-body"> | |
@if (session('status')) | |
<div class="alert alert-success"> | |
{{ session('status') }} | |
</div> | |
@endif | |
<form action="{{ asset('subscribe_process') }}" method="POST"> | |
{{ csrf_field() }} | |
<script | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button" | |
data-key="{{ env('STRIPE_KEY') }}" | |
data-amount="1000" | |
data-name="Stripe Demo" | |
data-label="定期決済をする" | |
data-description="Online course about integrating Stripe" | |
data-image="https://stripe.com/img/documentation/checkout/marketplace.png" | |
data-locale="auto" | |
data-currency="JPY"> | |
</script> | |
</form> | |
<br> | |
<form action="{{ asset('subscribe_cancel') }}" method="POST"> | |
{{ csrf_field() }} | |
<button>キャンセル</button> | |
</form> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
@endsection |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment