Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PayPal IPN Questions


abilstein

Recommended Posts

Just installed PP IPN 0.96 and I have a few questions.

 

The first time I tested it, I saw the full IPN screen with credit card form fields, etc. I chose to login and pay through my PP account, and all seemed well. I tried ordering another product and I did not see the IPN section, only a PP login. Is this because of a PP cookie?

 

Second, if I go to the PayPal screen and then try to back out, the Confirm Order button no longer functions properly. I get stuck in a loop where pressing Confirm Order takes me back to the Payment Information screen. I select my payment, hit Continue, then Confirm Order on the next page, and I'm back on the payment screen. I was able to break the loop by emptying my shopping cart, adding the product again, and then going throught the checkout process. Is something wrong with my installation or is this a limitation of the IPN contribution.

 

I tried backing out under the normal PP module and it worked fine, I didn't get stuck in a loop.

...Alex

Link to comment
Share on other sites

the full IPN screen with credit card form fields, etc.

 

Sorry, there is no such thing as an "IPN screen". If PayPal recognizes you, it will ask you to log in. If it doesn't it will ask you to create an account.

 

I tried ordering another product and I did not see the IPN section, only a PP login. Is this because of a PP cookie?

This is pretty standard behavior for a site that you have to have an account for, isn't it?

 

Second, if I go to the PayPal screen and then try to back out, the Confirm Order button no longer functions properly. I get stuck in a loop where pressing Confirm Order takes me back to the Payment Information screen. I select my payment, hit Continue, then Confirm Order on the next page, and I'm back on the payment screen. I was able to break the loop by emptying my shopping cart, adding the product again, and then going throught the checkout process. Is something wrong with my installation or is this a limitation of the IPN contribution.

 

Neither. This would be an issue with PayPal, and has nothing whatsoever to do with the PayPal IPN contribution. I'm really not sure I see what the issue is anyway.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

I must not have been very clear, let me try again...

 

Second, if I go to the PayPal screen and then try to back out, the Confirm Order button no longer functions properly. I get stuck in a loop where pressing Confirm Order takes me back to the Payment Information screen. I select my payment, hit Continue, then Confirm Order on the next page, and I'm back on the payment screen. I was able to break the loop by emptying my shopping cart, adding the product again, and then going throught the checkout process. Is something wrong with my installation or is this a limitation of the IPN contribution.

 

Neither. This would be an issue with PayPal, and has nothing whatsoever to do with the PayPal IPN contribution. I'm really not sure I see what the issue is anyway.

 

It is a big problem as I see it. I am stuck in a loop on the OSCommerce side, not in PayPal. It is completely impossible to checkout by standard means once you are in this loop unless you empty your shopping cart and start over. I imagine most people will simply leave when they get stuck.

 

What I am saying is that you get to the first PayPal screen, and instead of logging in or opening an account, click your back button. You will be on the Confirm Order page of OSCommerce. Clicking on Confirm Order then takes you *back* t othe Payment screen in OSC, it is impossible to get back to PayPal.

 

Ugh, I just tried it on your site and did not get stuck in a loop, although it did kick me back to the payment screen from the confirm order screen one time. Our checkout must be screwed up somehow.

...Alex

Link to comment
Share on other sites

Ugh, I just tried it on your site and did not get stuck in a loop, although it did kick

 

No wonder I didn't see the issue, :lol:

 

I tried it mayself, and you are correct. It will kick you back to the payment option screen, but then I am able to checkout from there.

 

Try taking a look at the submit action. Sounds like it may be an issue there.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

Alex,

 

I moved tep_session_unregister('sendto'); to checkout_success.php

after $cart->reset(TRUE); I did not give it a lot of thought though.

 

my understanding is this statement means I don't want to remember shipping address anymore. that's why if you go back from paypal, it stuck in a loop. commenting it out means I still remember the shipping address.

moving after $cart->reset(TRUE); because your transaction is done and you cart is emptied, you can forget the address.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...