Products
2.10.3
Orders
1.11.4
Cart
1.7.5
CGEcommerceBase
1.2.4
CGPaymentGatewayBase
1.0.9
PriceBasedShipping
1.1.1
PaypalGateway
2.3.3
I have spent over a month working through bugs, customizing templates, and customizing layouts. I am close to finishing this site, but the logic behind notification of completed orders seems broken to me.
This is a description of the issue that needs to be resolved:
There is some weird logic surrounding Orders and Paypal IPN. IPN notifications of an order approval trigger user e-mails with "approved" status. Redirects backs to my site from paypal always set the order status to "pending" and trigger user e-mails with "pending" status. This order of e-mail notifications ("Order approved" then "Order pending") is confusing to a customer. The order history shows "approved" then "pending". The admin log shows events in this sequence as well. The user always lands back on the cmsms site with a "pending" message instead of "order completed" message. I THINK the problem has to do with the logic class.orders_gateway_helper.php script but I can't say for sure. If I use PDT instead of IPN, everything works well, but if the customer closes the browser before redirecting back to the site then the order administrator does not receive an e-mail notification, and the customer does not recieve an 'order confirmed' e-mail.
It seems like a shame for me to abandon this project after so much time and effort has been spent learning these modules, learning more about cmsms and, at times, learning more about myself too

The site is in dev so I don't mind sharing access to the backend or paypal developer accounts.
Thanks,
-Chris