Hi there!
When it comes to payment gateways, there are several options available. Stripe is indeed a popular choice due to its extensive documentation and Laravel's built-in support via Cashier. However, if you're looking for alternatives, you might want to consider the following:
-
PayPal: PayPal is a widely used payment gateway and it supports a large number of countries. You can use the srmklive/laravel-paypal package for integrating PayPal into your Laravel application.
-
Braintree: Braintree is another payment gateway owned by PayPal. It supports a wide range of payment methods. Laravel also has a Cashier package for Braintree.
-
Redsys: Since you're from Spain, Redsys might be a good option. It's a payment gateway widely used in Spain. You can use the ssheduardo/redsys-laravel package for integrating Redsys into your Laravel application.
As for the shopping cart, you have two main options:
-
Use a package: There are several packages available for this purpose, such as darryldecode/laravelshoppingcart or Crinsane/LaravelShoppingcart. These packages provide a lot of built-in functionality and can save you a lot of time.
-
Build it yourself: If you have specific requirements that aren't covered by the available packages, or if you just want to learn more about how shopping carts work, you can build it yourself. This will likely take more time, but it will give you full control over the functionality.
Remember, when dealing with payments, security is paramount. Always ensure that your application is secure and complies with all relevant regulations and standards.
I hope this helps! Let me know if you have any other questions.