Closed gusreyes01 closed 7 years ago
You should pass the required value of the rm
parameter in the initial
dict argument to PayPalPaymentsForm
- see https://django-paypal.readthedocs.io/en/stable/standard/ipn.html
@spookylukey Thanks, just to be sure , would this work?:
paypal_dict = {
"business": "receiver_email@example.com",
"amount": "10000000.00",
"item_name": "name of the item",
"invoice": "unique-invoice-id",
"notify_url": "https://www.example.com" + reverse('paypal-ipn'),
"return_url": "https://www.example.com/your-return-location/",
"cancel_return": "https://www.example.com/your-cancel-location/",
"custom": "Upgrade all users!", # Custom command to correlate to some function later (optional),
"rm": 1,
}
I can't answer support requests like this - this is an issue tracker for bugs in django-paypal, not a support forum. Try it!
@spookylukey will do, thanks!
I've noticed in some ocations paypal "return_url" is sent as a post. I've seend the docs and know there is an
rm
to use GET only.How can I achieve this?