spookylukey / django-paypal

A pluggable Django application for integrating PayPal Payments Standard or Payments Pro
MIT License
729 stars 208 forks source link

Added get_endpoint to form example. #155

Closed slyapustin closed 8 years ago

slyapustin commented 8 years ago

Added PayPal form example, with action set to form.get_endpoint() value.

spookylukey commented 8 years ago

AFAICS, the form render() method includes it's own <form> tag:

https://github.com/spookylukey/django-paypal/blob/master/paypal/standard/forms.py#L186

That is how it works for me in all my projects. Something else must be going on here.