This course is still being released! Check back later for more chapters.
Procesador de Pagos con Lemon Squeezy
Kickstart your e-commerce journey with Lemon Squeezy integration in Symfony. Build a full checkout system to sell your digital products with a merchant of record to handle global tax compliance with ease
- intermediate
- 134 students
- EN/ES Captions
- EN/ES Script
- Certificate of Completion
Your Guides
About this course
Note
Hay varias opciones para el servicio MoR, en este curso utilizamos Lemon Squeezy, pero puedes utilizar lo que enseñamos aquí en Paddle, Polar, o cualquier otro servicio que te guste. No tenemos ninguna preferencia, simplemente elegimos Lemon Squeezy para este curso.
¿Tienes un producto increíble que quieres vender a tus clientes? ¿Buscas un procesador de pagos que sea un Merchant of Record que se encargue del cumplimiento de las obligaciones fiscales para que puedas centrarte en obtener más ingresos? ¡Lemon Squeezy al rescate! Empieza a vender tus productos digitales de forma rápida y sencilla.
En este tutorial, crearemos un sistema de pago completo para nuestro impresionante producto y aprenderemos todo sobre los siguientes temas:
- Gestiona tu tienda en el panel de control de Lemon Squeezy
- Uso de la vitirna de Lemon Squeezy para vender productos
- Cobrar una tarifa única con pagos únicos
- Utiliza la API para hablar con Lemon Squeezy y vender productos directamente desde tu sitio web
- Utiliza el script
Lemon.js
para transmitir el flujo de trabajo de pago a través de la superposición - Rellena previamente la información del cliente y añade datos personalizados
- Facturación automática por correo electrónico cuando el pedido se realiza correctamente
- Vincula los clientes de Lemon Squeezy a los usuarios de nuestra base de datos
- Utiliza webhooks para sincronizar datos en nuestra base de datos
- Manejo del evento webhook
order_created
- Manejo de webhooks en vivo con Ngrok
- Prueba los webhooks simulando su envío con datos falsos
Por último, un extra: las credenciales de las tarjetas de los usuarios nunca se envían a nuestros servidores, sino directamente a Lemon Squeezy. Eso significa que no guardamos credenciales de tarjetas sensibles en nuestros servidores. ¡Sí!
Next courses in the Symfony 7: Learn More Tricks section of the Symfony 7 Track!
9 Comments
Hey John!
I'm thrilled to hear it! We're actively working on releasing it, so it should be released in full in a few weeks :)
Cheers!
What is the purpose of limiting PHP in composer.json?
"platform": {
"php": "8.2"
},
The problem is that I don't have all the extensions loaded, including sqlite, so when I run symfony server:start, it fails, but when I run bin/console doctrine:fixture:load, etc. it works fine (obviously, symfony console will fail). And the application works fine in PHP 8.4. So what's the benefit to restriction it to 8.2?
As discussed privately with @Tac-Tacelosky, the issue was using the GitHub repo not the "Download Course Code" zip file we recommend. This code has this restriction removed.

Hey @Tac-Tacelosky
That's a good question. It is useful to force Composer to install packages compatible with that PHP version, which brings stability to the project. You can try pumping it up to version 8.4, it will likely work, but there may be some incompatible packages - you could remove it as well
Cheers!
I understand, but I don't agree that it's valuable to have. I just want to do "composer install" and have it work. Not change my PHP version, or change the code to allow it to run. Especially since it does work with 8.4!
I'd rather have it break (and report the errors) than force me to use a version of PHP that doesn't have all the extensions installed.

Good point! I also think the course code should not come with that version constraint. I'll share your feedback with the team
Thanks!
Hey Skm,
Thanks for your interest in SymfonyCasts tutorials! :)
Cheers!
So excited about this course!
In advance, Thanks heaps for all the effort creating it.