Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.


PayPal Checkout Process not completing

Recommended Posts

I am running the PayPal app v.5.010 on osC 2.3.4 in Sandbox mode using PayPal Payments Standard. The payment process proceeds smoothly, and when PayPal returns to osC it shows checkout success. The problem is no confirming emails are sent.


I have planted “die” commands at various points in the checkout_process.php code and it appears that that the processing leaves checkout_process when it instantiates the payment class, never to return (about line 47).  I have set the PayPal Auto Return parameter to both checkout_process and checkout_success and get the same result – no confirmations. It looks lie there are over 100 lines of code that never see the light of day.


How do I fix this?

Share this post

Link to post
Share on other sites

First, you should upgrade to the latest version of the app. You can easily do that in your admin with just a few clicks.

Second, I haven't used the sandbox in a very long time but the way it used to work is that emails were not sent. They were just shown in the sandbox account. The better approach is to test the module with a live account. If you don't know of another account you can use, then create a new paypal account just for testing purposes.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Share this post

Link to post
Share on other sites

Thanks Jack for your comments. I guess some clarification is needed. The PayPal App I downloaded was 5.010, but when I installed it, I recall that it installed some updates. I see now that I have version 5.018. I assume that is the current version. As for the emails, you are right that PayPal does not send out its emails, but they are available in the sandbox. I am concerned about the confirmation sent by osC and some custom emails I have created. I use the Send Mail Server Tool which is a handy little tool which gets around having to configure an email server in PHP. It captures the messages that osC attempts to mail and stores theme in a directory on my server. Those emails are not forthcoming, and they are the ones I am concerned about.

Any information you, or anyone else, might have about the program flow in processing checkout would be appreciated.

Share this post

Link to post
Share on other sites

I fixed the problem, but it is not very elegant. I moved the email notification code to the checkout_success page. It seems to be working there.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now