Thanks for all your help. I'll figure this out somehow.

As to my last question, is IPN really necessary when you can manually
set the order status?

-Alex

On Aug 13, 8:46 am, "Brian O'Connor" <[email protected]> wrote:
> I would have to imagine receiving a 500 when debug is true is very
> significant, and would explain why the permissions stuff didn't pop up in
> the code.
>
> As to what's causing it, I'm really not sure.
>
> You're probably getting a blank screen because there's no POST data when you
> visit the site in the browser.  If you're so inclined, I would maybe figure
> out what the URL is expecting and use curl to send a request in.
>
> When I reached these kinds of errors, I honestly just started putting debug
> output in the code to try and narrow it down,
>
>
>
>
>
> On Fri, Aug 13, 2010 at 5:23 AM, Alex Liu <[email protected]> wrote:
> > In my site settings the POST URL (https://www.sandbox.paypal.com/cgi-
> > bin/webscr <https://www.sandbox.paypal.com/cgi-%0Abin/webscr>) and RETURN
> > URL (satchmo_checkout-success) in the paypal
> > payment module are default.
>
> > Did you mean the right URL as in "http://www.robertmillerassoc.com/
> > checkout/paypal/ipn/<http://www.robertmillerassoc.com/%0Acheckout/paypal/ipn/>
> > "?
>
> > I put that in the IPN handler URL for the IPN Simulator in Paypal
> > Sandbox and picked "Cart Checkout"
>
> > Left everything as it was and clicked "Send IPN"
>
> > I still get the "IPN delivery failed. HTTP error code 403: Forbidden"
> > error.
> > When I set DEBUG = True in my settings.py, I get an "IPN delivery
> > failed. HTTP error code 500: Internal Server Error"
> > I wonder if this is relevant?
>
> > I checked my Access Log and it is getting hit by Paypal
> > 216.113.191.33 - - [12/Aug/2010:14:38:44 -0700] "POST /checkout/
> > paypal/
> > ipn/ HTTP/1.0" 403 1373 "-" "-"
>
> > Upon visiting the URL,
> >http://www.robertmillerassoc.com/checkout/paypal/ipn
> > I found that it is completely blank. I'm hoping that's normal.
> > Do you or anyone else have any suggestions? I'm using Satchmo 0.9.2-
> > pre hg-unknown and Django 1.2.1
>
> > I was wondering if IPN is really necessary. I could just manually
> > switch Order Status from None-->New-->Shipping-->Complete. Is the
> > purpose of IPN with Satchmo mainly for changing the Order Status after
> > payment? Is payment sent regardless?
>
> > I checked my Paypal Test Accounts and it had a receipt for the Buyer,
> > and a payment notification E-Mail for the Merchant. Thus, if IPN is
> > not set up, the store should still function (payments are still sent),
> > correct?
>
> > Thanks for your time
>
> > -Alex
>
> > On Aug 12, 8:41 am, "Brian O'Connor" <[email protected]> wrote:
> > > That's not the error I was getting.  I just took a quick look at the
> > paypal
> > > ipn view (
> >http://bitbucket.org/chris1610/satchmo/src/tip/satchmo/apps/payment/m...)
> > > and I'm not seeing any permissions based stuff, at first glance.
>
> > > Are you sure that you put the right url in for the configuration on
> > paypal?
>
> > > I haven't worked with this in a few months, sorry about lack of
> > immediately
> > > helpful information.
>
> > > Brian
>
> > > On Thu, Aug 12, 2010 at 4:52 AM, Alex Liu <[email protected]> wrote:
> > > > UPDATE
>
> > > > I looked it over again and it seems I have a "IPN delivery failed.
> > > > HTTP error code 403: Forbidden" problem when accessing the IPN page.
> > > > (Based on the Sandbox Paypal IPN simulator)
>
> > > > I looked this error up and it's caused by a permissions access, so how
> > > > exactly would I remedy this?
>
> > > > If I remember correctly, Paypal is supposed to send an IPN to my
> > > > website after checkout so that the order status can be set to new.
> > > > That explains why the order status is being set.
>
> > > > -Alex
>
> > > > On Aug 11, 2:51 pm, Alex Liu <[email protected]> wrote:
> > > > > Hi Brian,
>
> > > > > Thanks for your reply.
>
> > > > > I'm 95% sure I set up my Test Accounts correctly. I have a Business
> > > > > Test Account whose E-Mail Address is in the Paypal Test Account Email
> > > > > in Site Settings. When I checkout, although it's with a user created
> > > > > on my website with a different email address, I use the Personal Test
> > > > > Account to pay with Paypal (though I believe this has no relevance).
> > > > > All in all, everything looks to be setup correctly. The only thing
> > > > > that bothers me is that the Accounts aren't "verified" but in order
> > to
> > > > > do so I would have to link bank accounts to Paypal, which shouldn't
> > be
> > > > > the case in a real setting anyways.
>
> > > > > You mentioned something about editing code when the site received a
> > > > > "notification". Could you elaborate on that?
>
> > > > > Moreover, do you have any other ideas on how to fix this? I don't
> > want
> > > > > to start accepting real payments if I can't get the Order Status
> > > > > working.
>
> > > > > -Alex
>
> > > > > On Aug 11, 10:06 am, "Brian O'Connor" <[email protected]> wrote:
>
> > > > > > I definitely got it to work on Sandbox Paypal, albeit after some
> > > > hardships.
>
> > > > > > I forget if I had to modify the code, but I seem to remember a good
> > > > portion
> > > > > > fo the code being completed when the site receieved a
> > "notification" as
> > > > > > opposed to when the customer came back to the site.
>
> > > > > > My first check would be to make sure you have the test accounts set
> > up
> > > > > > properly.  that was my first error.
>
> > > > > > On Wed, Aug 11, 2010 at 3:17 AM, Alex Liu <[email protected]>
> > > > wrote:
> > > > > > > I know this thread has been made before and I already read
> > through
> > > > the
> > > > > > > other ones. (Or I believe I did)
>
> > > > > > > However, those other threads were mainly focused on Sandbox
> > Google
> > > > > > > Checkout.
>
> > > > > > > Now, I'm testing payment via Sandbox Paypal. The thing is,
> > whenever I
> > > > > > > use my test account to pay to my test recipient, even if the
> > payment
> > > > > > > gets accepted, the Order Status is still None. It's listed under
> > > > "View
> > > > > > > All Orders" but its order status is set to none.
>
> > > > > > > My question is: Is this considered standard during testing? If
> > not,
> > > > > > > please tell me what code I should provide and show in order to
> > help
> > > > > > > you with my problem.
>
> > > > > > > I remember reading somewhere that the cart is not cleared upon
> > > > checkout
> > > > > > > +payment in Paypal Testing but works with the real thing. I was
> > > > hoping
> > > > > > > this is kind of the same thing. Can anyone provide any insight?
>
> > > > > > > --
> > > > > > > You received this message because you are subscribed to the
> > Google
> > > > Groups
> > > > > > > "Satchmo users" group.
> > > > > > > To post to this group, send email to
> > [email protected].
> > > > > > > To unsubscribe from this group, send email to
> > > > > > > [email protected]<satchmo-users%2bunsubscr...@goog
> > > > > > >  legroups.com>
> > <satchmo-users%2bunsubscr...@goog legroups.com>
> > > > <satchmo-users%2bunsubscr...@goog legroups.com>
> > > > > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/satchmo-users?hl=en.
>
> > > > > > --
> > > > > > Brian O'Connor
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Satchmo users" group.
> > > > To post to this group, send email to [email protected].
> > > > To unsubscribe from this group, send email to
> > > > [email protected]<satchmo-users%2bunsubscr...@goog
> > > >  legroups.com>
> > <satchmo-users%2bunsubscr...@goog legroups.com>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/satchmo-users?hl=en.
>
> > > --
> > > Brian O'Connor
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Satchmo users" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<satchmo-users%2bunsubscr...@goog 
> > legroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/satchmo-users?hl=en.
>
> --
> Brian O'Connor

-- 
You received this message because you are subscribed to the Google Groups 
"Satchmo users" group.
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