I'm using laravel 5.2 with cashier package this is the form that i'm using in order to get the client creditcard token:
<form action="/your-server-side-code" method="POST">
<script
src="http://ift.tt/1doUtf9" class="stripe-button"
data-key="test_token"
data-amount="999"
data-name="Demo Site"
data-description="Widget"
data-image="http://ift.tt/1HOsSjY"
data-locale="auto">
</script>
</form>
after it the form is submitted automatically And i get the regular answer from the server that contain the client token.
How i can save the credit-card last 4 number and expire date that the user enter?
Thank!
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire