Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PP_IPN or not IPN ?


fredcasa007

Recommended Posts

Hi Guys

 

Running the standard paypal code, I had the situation where payment was made, email to customer was checked, but many prbblems:

- clicking on the return to merchant button was not working, althouth the link was correct... if entered manually... good luck)

- cart not checked out

- stock s not updated

so not easy...

 

New version seems more in line with what PP expects ... good.

But still, all orders stay in"preparing [paypal IPN]" mode, althought stocks are updated but no email is sent to customer from my site. He only has the PP email...

 

where should I see?

What did wrong?

 

I run OSC 2.2 and PayPal 2.4.5.1

 

help

Thanks

FRed

Edited by fredcasa007
Link to comment
Share on other sites

What did wrong?

nothing, as this is oscommerce bug, can be corrected by patching the checkout confirmation page.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

you mean checkout_process.php code?

 

thx

fred

 

No, checkout_confirmation.php file

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Link to comment
Share on other sites

No, checkout_confirmation.php file

 

 

Really??

 

Parametres sent to PP are correct, return adddress provided to PP is correct too...

and it points to checkout_process.php... is this the wrong info? should it return back when sucess to checkout_confirmation before going to check_out_success.php?

 

are the before and after_process function well defined?

 

function before_process() {

global $cart;

 

$cart->reset(true);

 

// unregister session variables used during checkout

tep_session_unregister('sendto');

tep_session_unregister('billto');

tep_session_unregister('shipping');

tep_session_unregister('payment');

tep_session_unregister('comments');

 

tep_session_unregister('cart_PayPal_IPN_ID');

 

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SUCCESS, '', 'SSL'));

}

 

function after_process() {

return false;

}

 

 

thanks

Rgds

Fred

Edited by fredcasa007
Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
Could someone please help me find this patch?

 

If the customer does not return to the site after paypal patching checkout_confirmation won't work. Patching ipn.php might, but I can't find an update/contrib/patch for it. Anyone?

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...