django-paypal

how to get a notification of payment with django-paypal

半世苍凉 提交于 2020-01-16 07:15:06
问题 I have set everything up using the documentation for encrypted buttons on the django-paypal site. I just don't seem to be receiving any notification that the payment has happened. I know I must be missing something or doing something slightly wrong but I get no POST to any of there views unless after paying I click return to site. I need to get the notification of payment before I can move on. Thanks. here are my views: from django.http import HttpResponse from django.template import

how to deal with returnurl in django-paypal for paypal WPP

本小妞迷上赌 提交于 2019-12-24 00:59:46
问题 I am now developing my site using django. In integrating my site with paypal, I use pluggable application "http://github.com/johnboxall/django-paypal". Although the document is very clear for "Using PayPal Payments Pro (WPP)", but I still have some questions, especially the relationship between "returnurl" and "confirm_template". #views.py from paypal.pro.views import PayPalPro def buy_my_item(request): item = {"amt": "10.00", # amount to charge for item "inv": "inventory", # unique tracking

Multiple Items in django-paypal

ぃ、小莉子 提交于 2019-12-12 10:20:56
问题 I am using dcramer's version of django-paypal(but i think it shouldnt matter whether it is dcramer or johnboxall's). 1) How can i specify multiple items in my paypal_dict(to be used in PayPalPaymentsForm)? 2) Also, i need to suitably specify the shipping cost and the individual quantities in the Summary that appears in the Paypal screen - how do i do this? 回答1: I'm not fond of django-paypal. Just read the PayPal api: https://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/howto_checkout-outside. To

Get amount from django-paypal

只谈情不闲聊 提交于 2019-12-12 03:34:56
问题 I am using django-paypal to receive payment. I am currently paying as well as receiving payment using sandbox accounts. The payment procedure seems to be working fine. My problem is once I get back the signal valid_ipn_received, I am trying to get the amount of money from the transaction. I went through this list of variables returned by Paypal. I also went through this model to see where it is stored. It seems the amount is stored in auth_amount? However I'm getting a 'None' from that

django-paypal ipn not responding

我只是一个虾纸丫 提交于 2019-12-10 17:48:36
问题 i am using this app to implement paypal into my application. However when i make the payment and everything, django keeps on complaining that i don't have a csrf_token when i already inserted it into my template form. This is my template: <form method="post" action="/paypal/"> {% csrf_token %} <p> To change your subscription, select a membership and the subscription rate: </p> <select name="membership_input" id="id_membership"> <option>Silver</option> <option>Gold</option> <option>Platinum<

How do I allow django-merchant to receive paypal IPN conformations?

本小妞迷上赌 提交于 2019-12-08 20:12:54
I have found many similar questions, but it seems I still cannot make my set-up to work :( I am trying to use django-merchant to accept simple IPN paypal payments in my website; if I understand it right, once the set-up is correct: - django-merchant should serve a view for PayPal to call at an address that looks like myURL:myPORT/.../paypal-ipn-handler ; - the view mentioned above is the one found in paypal/standard/ipn/views.py, where paypal is the root directory of the django-paypal app, that django-merchant wraps At the moment I am using the debug version of paypal, and: - I can

How do I allow django-merchant to receive paypal IPN conformations?

不想你离开。 提交于 2019-12-08 03:56:37
问题 I have found many similar questions, but it seems I still cannot make my set-up to work :( I am trying to use django-merchant to accept simple IPN paypal payments in my website; if I understand it right, once the set-up is correct: - django-merchant should serve a view for PayPal to call at an address that looks like myURL:myPORT/.../paypal-ipn-handler ; - the view mentioned above is the one found in paypal/standard/ipn/views.py, where paypal is the root directory of the django-paypal app,

Why does Paypal retry IPN when using django-paypal

南楼画角 提交于 2019-12-07 14:18:24
问题 I have been attempting to get the django-paypal app working within my Django project. I'm using the dcramer fork, with Django 1.4. I am also using a Paypal developer account with business and personal accounts, processing transactions through the Paypal sandbox website. If I have no receiver function connected to the payment_was_successful signal, things seem to work as expected. After a transaction has occured, a new row is created in the paypal_ipn table of the database which has a value of

Why does Paypal retry IPN when using django-paypal

◇◆丶佛笑我妖孽 提交于 2019-12-05 21:13:46
I have been attempting to get the django-paypal app working within my Django project. I'm using the dcramer fork , with Django 1.4. I am also using a Paypal developer account with business and personal accounts, processing transactions through the Paypal sandbox website. If I have no receiver function connected to the payment_was_successful signal, things seem to work as expected. After a transaction has occured, a new row is created in the paypal_ipn table of the database which has a value of 'VERIFIED' in the response column. The Paypal IPN log reports that there were no retries for this

django-paypal IPN signals not being received

为君一笑 提交于 2019-12-04 19:41:08
At the bottom of models.py I have: from paypal.standard.ipn.signals import payment_was_successful, payment_was_flagged import pay payment_was_successful.connect(pay.paypal_success) payment_was_flagged.connect(pay.paypal_flagged) I'm using the Paypal Developer IPN simulator and it returns "IPN sent successfully", but the code in pay.paypal_success and pay.paypal_flagged isn't being executed. The paypal_ipn table is being populated, however I noticed under flag_info every row has: Invalid form. (<ul class="errorlist"><li>payment_date<ul class="errorlist"> <li>Enter a valid date/time.</li></ul><