Latest News: (loading..)

ezfindit

Members
  • Content count

    55
  • Joined

  • Last visited

1 Follower

About ezfindit

Profile Information

Recent Profile Visitors

3,012 profile views
  1. Yes, that file also contains the code that sends out the emails. However, in my extensive Sandbox testing (using multiple coding flags to identify which file sent the emails) that file was not called by the PayPal App. FYI, There are 3 different files that sent out the confirmation emails. /catalog/checkout_process.php /catalog/ext/modules/payment/paypal/standard_ipn.php /catalog/includes/modules/payment/paypal_standard.php
  2. EUREKA! Finally figured it out! Using the new PayPal App (v5.010) - Payments Standards means that this file sends out the notification emails (not checkout_process.php): /catalog/includes/modules/payment/paypal_standard.php Also, you have to use $order_id (NOT $insert_id): Here's the code for both customer and admin email notifications: Customer Email Notify tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $order_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); Admin Email Notify // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . ' ' . $order_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Phew.... Hope this helps other folks who struggled with this issue or who want to enhance the usability of the emails sent when processing an order by including the Order No information in the Subject.
  3. Here's my code: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . ' ' . $insert_id, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Get Email Subject = "Order Process" only! :(
  4. That's the first thing I tried, but it didn't work. See my code I sent via PM. Then I started trying other mods since that didn't work. It's driving me nuts!
  5. Hence my frustration! :)
  6. All the information inside the email works perfectly. Only the darn Email Subject is not displaying. Editing the paypal_standard.php file now with the same mods and re-testing...
  7. I wonder it that's the culprit. Let me fiddle with it and see. Thanks!
  8. I've tried both $order_id to $insert_id with the same result. No go! That's why I created this thread. It's so frustrating. It worked perfectly in v.2.2-MS2 (took me 15 minutes to code and test) and flawlessly for 10+ years!
  9. I'm using the PayPal App (latest version) with Payments Standard option. Which file needs to be modified? I've looked around but did not see the tep_mail code. (In my current v.2.2-MS2 I modified the includes/modules/payment/paypal_ipn.php file, but that no longer exists with the new PayPal App.)
  10. I've also tried various other ways that worked for v. 2.2 listed here: https://apps.oscommerce.com/Ea4wB None worked.
  11. I already tried using $order_id also! I get back only "Order Process" with no order number displayed. That's why I was asking for help.
  12. I already tried using that same mod that I previously implemented and it worked fine in v.2.2-MS2 for my current site for 10 years! I know the coding. However, that coding does not seem to work the same in 2.3.4 that's why I've tried a slight modification and still no go.
  13. There was an old contribution I successfully used (for v.2.2-MS2) that allowed me to insert the Order No. into the Email Confirmation Subject. Hence when the customer placed an order it displayed: "Order Process: 7899." This was also helpful when the admin got a copy of the order that displayed the order number. https://forums.oscommerce.com/topic/136025-order-number-and-status-in-update-emails/?page=2 I have modified /catalog/checkout_process.php from: tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); to: $new_mail_subject = EMAIL_TEXT_SUBJECT . $insert_id; tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], $new_mail_subject, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); AND from: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } to: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, $new_mail_subject, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } However, the Order Number is not inserted in the Email Subject! Instead of seeing: "Order Process: 7899" I get only "Order Process:" with no order number inserted in the Subject of the email confirmation received. Any thoughts on why the order number is not displayed? I think this would be useful mod for all store owners to have.
  14. In the new PayPall App (v.5.018) - Payments Standard - tab/option, in the settings area, under Preparing Order Status ("Set this to the order status level that customer prepared orders are assigned to.") we can select: Preparing [PayPal Standard] -or- Preparing [PayPal IPN] Which one is the best one to select? What is the difference between them? Also, in the General tab, under the Transactions Order Status (" Set this to the private order status level where transaction information should be stored.") we can select: PayPal [Transactions] -or- Preparing [PayPal Standard] Which one is the best one to select? What is the difference between them?