Can't seem to get this to work properly.  

In config.py, the default return address is;
StringValue(PAYMENT_GROUP,
    'RETURN_ADDRESS',
    description=_('Return URL'),
    help_text=_('Where Paypal will return the customer after the purchase 
is complete.  This can be a named url and defaults to the standard checkout 
success.'),
    default="satchmo_checkout-success"),

Do I need to set it to the IPN url in settings.py?

            u'PAYMENT_PAYPAL': { 
                u'SSL': u'True',
                u'BUSINESS': u'[email protected]',
                u'BUSINESS_TEST': u'[email protected]',
                u'CURRENCY_CODE': u'USD',
                u'LIVE': True,
                u'POST_URL': u'https://www.paypal.com/cgi-bin/webscr',
#                u'RETURN_ADDRESS': u'satchmo_checkout-ipn',
            },


../modules/paypal/views.py def ipn only gets hit if I un-comment that line 
and then it doesn't have any data passed to it.  In fact it comes as a GET 
not POST.

If I don't set it, ipn() is never hit but the base 
payment/views/checkout.py: def success () does get hit.

I need to modify some other database tables once I know the payment was 
approved by paypal.   I guess I could look in success() and see if the 
order was a Paypal order (how?) and do what I need to do in that case.

Any help appreciated.
On Tuesday, February 2, 2010 12:24:52 PM UTC-6, Guybrush wrote:
>
> Hello everyone,
>
> I have been struggling to figure out why the cart is not getting cleared 
> after a paypal purchase. Item is successfully purchased and after I 
> click on "return to homepage" from paypal, it returns to the purchase 
> summary properly but the item still in the cart.
>
> I'm trying to look at the logs but I don't see anything. (I haven't 
> tried with excessive logs option yet)
>
> Is there something I have to do on paypals end to make it work?
> We are using paypal business account.
>
> It seems to work ok with my developer sandbox account.
>
> I'm using satchmo 0.9 and nginx server on webfaction
>
> Does satchmo paypal requires Website Payments Pro?
>
> Any help is appreciated!
> Thanks!
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/satchmo-users/-/tNKn3tHUBRQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to