Skip to content

Instantly share code, notes, and snippets.

@studio-fars-company
Created June 25, 2018 07:04
Show Gist options
  • Save studio-fars-company/e0721d3c4161086609c66b608009bfcb to your computer and use it in GitHub Desktop.
Save studio-fars-company/e0721d3c4161086609c66b608009bfcb to your computer and use it in GitHub Desktop.
<div class="content">
<form action="{{ asset('charge') }}" 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>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment