A
A
Alexey Verkhovtsev2018-02-07 10:10:34
Laravel
Alexey Verkhovtsev, 2018-02-07 10:10:34

How to transfer card number and other data using LARAVEL CASHIER?

Hello. I worked with stripe without using the framework, but now I need to connect with Laravel. I saw that there is Cashier, but I don’t understand something, but how and where to transfer the card number? Didn't find it in the documentation? When I screwed it myself, I connected js to build the form elements, then the token was transferred to the server in Ajax (if I don’t confuse anything), the token was accepted and the request was sent, but how should this work?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2018-02-07
@BorisKorobkov

You do not have the right to independently request the client's card details. Instead, you need to redirect it to the payment gateway website, and the gateway will inform you about the payment via API.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question