#bilalameen - laravel
1 messages · Page 1 of 1 (latest)
Hello
Our recommended ways to accept a payment with Stripe are mentioned here: https://stripe.com/docs/payments/accept-a-payment?platform=web
- With "prebuilt Checkout page", you create a Checkout Session on your backend, and then redirect your customer to our hosted page
- With "custom payment flow", you create a PaymentIntent on the backend, and then use the Payment Element on the frontend to collect the payment information
I don't want to use the prebuilt page
There's also the card element if you just want to collect card details (and not other payment methods): https://stripe.com/docs/payments/accept-card-payments?platform=web&ui=elements
we are creating an online learning platform where we will sell courses, when users click on the course purchase button on the mobile app, it shows the payment screen where the user will put the payment detials after that it will proceed with the payment, which we want to do on the server-side. Hopefully, things will clear up.
I am using stripe package in Laravel
Could you please share the tutorial related my issue
It will be helpful
You There?
Sorry for the delay.
No problem
If you want to accept multiple payment method and without a prebuilt page, you should use the Payment Element: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Okay, Will check and update you