Hello, 

If you still need help please email me and I can assist you. also look at 
this page 
<http://stackoverflow.com/questions/42943041/understanding-where-to-put-the-ipn-reciever-function-in-django-paypal/42966163#42966163>

Michael Goytia

On Wednesday, March 1, 2017 at 7:11:08 PM UTC-7, Agoulou Zegouna wrote:
>
> Thanks all ! I tried to Use django-paypal. can you please give me a 
> concrete example after from step 5 to 6? I have no idea of what to do?
> https://django-paypal.readthedocs.io/en/stable/standard/ipn.html
>
>
> On Wed, Mar 1, 2017 at 1:46 PM, Mario Gudelj <[email protected] 
> <javascript:>> wrote:
>
>> You should use Django-PayPal app. It has views for IPN and PDT, stores 
>> transaction details in DB, does TX verification and it fires of a signal 
>> when when a successful transaction comes in to your webhook. 
>>
>> All you have to do is specify some URLs and settings. It'll even render 
>> that front end form for you using a Django form. It really is a bomb. 
>>
>> Cheers,
>>
>> M
>>
>>
>>
>> On Wed, 1 Mar 2017 at 11:10 pm, Melvyn Sopacua <[email protected] 
>> <javascript:>> wrote:
>>
>>> On Tuesday 28 February 2017 21:13:39 [email protected] <javascript:> 
>>> wrote:
>>>
>>> > hello! I am trying to update my database after paypal has received 
>>>
>>> > the payment from customer. The problem is that I don't really know to
>>>
>>> > do it. This is what I am doing now
>>>
>>>  
>>>
>>> This code is all irrelevant. This is the important URL:
>>>
>>> > <input id="id_return_url"
>>>
>>> > name="return" type="hidden" value="http://www.example.com/thank-you";>
>>>
>>>  
>>>
>>> Wouldn't name it "thank-you" either. That would be the final page, but 
>>> the flow is:
>>>
>>>  
>>>
>>> - Submit to PayPal
>>>
>>> - At above return_url, receive data from PayPal:
>>>
>>> - Check for success / failure
>>>
>>> - If success:
>>>
>>> set paid to True, redirect to /thank-you
>>>
>>> - else:
>>>
>>> display error and cart
>>>
>>>  
>>>
>>> -- 
>>>
>>> Melvyn Sopacua
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected] <javascript:>.
>>> To post to this group, send email to [email protected] 
>>> <javascript:>.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/3452662.H3dCPjKHmD%40devstation
>>>  
>>> <https://groups.google.com/d/msgid/django-users/3452662.H3dCPjKHmD%40devstation?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/django-users/ZUBd-vcyjrs/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAHqTbjmeT%3D8U0wPqLTPBcb6FxSPnECiaFR0Y99-%2B0ooZhKQK6Q%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CAHqTbjmeT%3D8U0wPqLTPBcb6FxSPnECiaFR0Y99-%2B0ooZhKQK6Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ee529326-3a6a-4cb4-bdb6-b294204a978a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to