You would need to create a custom module/action for your project, (suggest that you do this all as plugin for reuse with other projects you do) and then point the form action to the module/action, i.e.: url_for('module/action')
- Joshua Estes -= Contact Me =- Google Voice: 567-482-0034 or JOSHUA-0034 Cell: 423-432-7562 -= Web Sites =- http://www.ScenicCityLabs.com - Making the internet pretty! -= Twitter =- @JoshuaEstes @ScenicCityLabs On Mon, Aug 2, 2010 at 9:11 PM, Diego Bello <dbe...@gmail.com> wrote: > Hi guys, > > I'm building an e-commerce site with Symfony 1.4. Right now I have the > shopping cart and I want to do the payment with Paypal. I got the > expresscheckout.php and paypalfunctions.php files but I don't know where to > put them. > > So far, I have a cart in .../web/frontend.php/cart/show/id/1 and the paypal > button appears there as shown in the code from the paypal development site: > > <form action='expresscheckout.php' METHOD='POST'> > <input type='image' name='submit' > src='https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif' border='0' > align='top' alt='Check out with PayPal'/> > </form> > > When I click on it, it sends me to > .../web/frontend.php/cart/show/id/expresscheckout.php > > Does anybody knows how should I handle this, or how to use the paypal files? > > Regards, > -- > Diego Bello Carreño > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en