spookylukey / django-paypal

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

_xclick is not a valid choice #108

Closed lianhuilui closed 9 years ago

lianhuilui commented 9 years ago

The following error occurs: (Hidden field cmd) Select a valid choice. _xclick is not one of the available choices.

even when the variable is set manually. _cart shows a similar message.

spookylukey commented 9 years ago

You will need to explain what you are doing more clearly.

spookylukey commented 9 years ago

Please see the docs for how to use IPN/PDT:

https://django-paypal.readthedocs.org/en/stable/

slyapustin commented 8 years ago

@spookylukey There no related information of how to provide cmd value in current version of docs. @lianhuilui Did you find how to set cmd properly?

spookylukey commented 8 years ago

Yes, there is. If you read the docs, it links to the PayPal docs (which we are not going to duplicate), which documents the options for cmd. See https://developer.paypal.com/webapps/developer/docs/classic/paypal-payments-standard/integration-guide/Appx_websitestandard_htmlvariables/#technical-variables

slyapustin commented 8 years ago

Ok, created PR #155 to make docs more clear.