gjpinzino Posted September 27, 2017 Posted September 27, 2017 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? Quote
Jack_mcs Posted September 27, 2017 Posted September 27, 2017 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. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
gjpinzino Posted September 28, 2017 Author Posted September 28, 2017 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. Quote
gjpinzino Posted October 9, 2017 Author Posted October 9, 2017 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. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.