This is a discussion on Paypal_ipn and stock levels within the Paypal forums, part of the Payment Modules category; Ok, I am aware that when using the paypal_ipn module, the order gets added to the DB before the customer ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
#1
| ||||
| ||||
| Ok, I am aware that when using the paypal_ipn module, the order gets added to the DB before the customer goes to Paypal web site, but stock level doesn't go down *YET* on the purchased items. Then payment is done, customer is redirected to checkout_process.php, and stock gets sutracted, emails get sent, etc. Problem comes when the customer does not return to the store for whatever reason, that the item will be sold but stock won't be sutracted... I hope this won't be a big deal, and that most people will go back to the store after doing the payment. --- Ok, I went too fast. Checking out paypal_ipn.php I see that stock gets sutracted from there, AND emails also get sent from there, on function confirmation() which I suppose is called from checkout_process.php. I wouldn't even have noticed if it wasn't because I had modified the emails that get sent from checkout_process.php so the subject would be "EMAIL_TEXT_SUBJECT (# order number)" instead of just "EMAIL_TEXT_SUBJECT", and I noticed that my test purchases did not have the order number on the subject. Wonder why they would be sending the email from there, instead of leting checkout_process.php handle it...? I would say I am not even asking for anything on this post. What was the answer...? Oh well. |
|
#2
| ||||
| ||||
| I guess there is a small bug/glitch on paypal_ipn.php , since it is using its own code to email the customer after the purchase is finished, it does not have a small change that "purchase without account" added on checkout_process.php, which makes the email received by the customer NOT have a link to an invoice. Since the customer has not created an account, he can not access an invoice on the store, but customers who purchase without account AND pay with paypal_ipn will get the link on their email. So the following code should be done on /includes/modules/payment/paypal_ipn.php on line 523: PHP Code: PHP Code: PHP Code: PHP Code: |
|
#3
| ||||
| ||||
| OPS... Micheal please edit my typo on the issue summary I opened on the bugtracker... payed=paid ![]() 235: Purchases done by customer without account get an invoice link on order email if payed with paypal_ipn - Bug Tracker - open source Commerce Maximized :: osCMax |
| ||||
| Posted By | For | Type | Date | |
| 235: Purchases done by customer without account get an invoice link on order email if payed with paypal_ipn - Bug Tracker - open source Commerce Maximized :: osCMax | This thread | Refback | 10-04-2007 12:37 PM | |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fatal error: /paypal_ipn.php on line 521 | monoxide | Paypal | 6 | 10-02-2007 07:57 PM |
| Errors with paypal_ipn | RobPrince | Paypal | 4 | 07-01-2007 05:24 AM |
| SEO Friendly urls on top levels only | aaanativearts | osCMax v2 Features Discussion | 1 | 05-10-2007 06:08 PM |
| Maximum Stock Quantity on Stock Page? | Dubious | osCMax v2 Features Discussion | 0 | 08-18-2006 02:17 PM |
| Search Box to have 2 levels.. | ozstar | osCMax v2 Customization/Mods | 1 | 11-06-2005 09:00 AM |