Page 120 of 202 FirstFirst ... 2070110118119120121122130170 ... LastLast
Results 1,191 to 1,200 of 2020
  1. #1191
    Join Date
    Nov 2007
    Location
    USA
    Posts
    882
    Plugin Contributions
    5

    Default Re: Super Orders 2.0

    Email text question.

    Why is MODULE_PAYMENT_PURCHASE_ORDER_TEXT_EMAIL_FOOTER showing up on order emails? These are the emails I receive when an order is placed.

  2. #1192
    Join Date
    Jan 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Quote Originally Posted by carlvt88 View Post
    Further update: I now get paypal express checkout payments and full and partial refunds to show up correctly as SO payments. Refunds are negative value payments and not refunds, but I'll live with this for now.

    What I did was take Frank's code snippet (above) to modify cc_line_item in super_order.php. During the checkout process, this adds a so_payments record with info from the paypal transaction. I also modified order.php as indicated above so that this would get called during checkout.

    Next I added a function to modules/payment/paypal/paypal_functions.php:
    Code:
    function ipn_create_so_payments_array($new_order_id, $txn_type) {
        $sql_data_array = array('orders_id' => $new_order_id,
                              'payment_number' => $_POST['txn_id'],
                              'payment_name' => $_POST['last_name'],
                              'payment_amount' => $_POST['mc_gross'],
                              'payment_type' => $txn_type,
                              'date_posted' => datetime_to_sql_format($_POST['payment_date']),
                             );
        return $sql_data_array;
      }
    Then, in ipn_main_handler.php, I inserted this for txn_type parent. Starting line 279:
    Code:
        if ($txn_type == 'parent') {
          $sql_data_array = ipn_create_order_array($ordersID, $txn_type);
          zen_db_perform(TABLE_PAYPAL, $sql_data_array);
          
          // put refund info into SO
          require(DIR_WS_CLASSES . 'super_order.php');
          $sql_data_array = ipn_create_so_payments_array($ordersID, $txn_type);
          zen_db_perform(TABLE_SO_PAYMENTS, $sql_data_array);     
        } else {
    This probably still isn't complete, I've only tested a couple of transactions, but I've seen many asking for this feature and I hope it helps some. I'm sure I could have done this more completely or more consistently - feedback welcome!
    How about using Super Orders with Paypal Website Payments Pro for all credit card transactions?

    Would this be an easy thing to add? I have NO idea on coding!

    Thank you for your help.

  3. #1193
    Join Date
    Sep 2007
    Location
    Herne Bay, Kent, England
    Posts
    182
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Hi.

    I am trying to add Google checkout to my site. As I have added several contributions including Super Orders, I am using the manual installation option. Frank has said in the Google checkout thread that you should make the same modifications to admin/super_orders.php that you would to admin/orders.php. My problem is that for the second modification (the long one), I can't find a match for the code I need to replace - the nearest I can get is

    PHP Code:
     if ( ($check_status->fields['orders_status'] != $status) || zen_not_null($comments)) { 
    and no more

    Could anyone please help!

    Thanks

    Philip

  4. #1194
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    The trouble is that super_orders20.zip has a super_orders.php which although more recently released was originally based on a 2005/ 2006 zen-cart page.

    What exactly are you trying to acheive with the module, what new features does it add ? I have an orders.php that has been modified and it appears to do something with the order_notification, like mark it up if google notified the customer instead of the built in zen emailer.

    I suggest editing the orders.php that you have on your systems and then using the URL to see what new functions it adds, as I've only briefly scanned the code and there may be somthing further down that I am missing.

    Thank you
    Philip.

  5. #1195
    Join Date
    Sep 2007
    Location
    Herne Bay, Kent, England
    Posts
    182
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Quote Originally Posted by philip_clarke View Post
    The trouble is that super_orders20.zip has a super_orders.php which although more recently released was originally based on a 2005/ 2006 zen-cart page.

    What exactly are you trying to acheive with the module, what new features does it add ? I have an orders.php that has been modified and it appears to do something with the order_notification, like mark it up if google notified the customer instead of the built in zen emailer.

    I suggest editing the orders.php that you have on your systems and then using the URL to see what new functions it adds, as I've only briefly scanned the code and there may be somthing further down that I am missing.

    Thank you
    Philip.
    Thanks Philip

    My site went live with super orders, so I have never used the standard orders.php set-up. I am reluctant to to change horses now. As you know (I'm sure I've seen your name in the Google checkout thread as well) Blindside says it's possible - I'm probably just being thick!

    Regards

    Philip

  6. #1196
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    There's nothing thick about trying to apply 2008 instructions to a 2005 file, it almost certainly is possible to get the "extra features" I just don't know if it's worth it. I have a site with the checkout and super_orders installed, I'll put a normal "orders" and modified "orders" up sometime this evening and compare the difference and see if it's possible to modifiy super orders, really the original authors need to pull a ZC 1.3.8 orders.php and modify into a new version of super_orders.php that but I don't know them and haven't seen them around for a long time.

  7. #1197
    Join Date
    Jul 2007
    Posts
    45
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Quote Originally Posted by philip56 View Post
    Hi.

    I am trying to add Google checkout to my site. As I have added several contributions including Super Orders, I am using the manual installation option. Frank has said in the Google checkout thread that you should make the same modifications to admin/super_orders.php that you would to admin/orders.php. My problem is that for the second modification (the long one), I can't find a match for the code I need to replace - the nearest I can get is

    PHP Code:
     if ( ($check_status->fields['orders_status'] != $status) || zen_not_null($comments)) { 
    and no more

    Could anyone please help!

    Thanks

    Philip
    One part does of the code does go after that line 113 and before 115
    PHP Code:
    // ** GOOGLE CHECKOUT **
              
    chdir("./..");
              require_once(
    DIR_WS_LANGUAGES $_SESSION['language'] . '/modules/payment/googlecheckout.php');
              
    $payment_valueMODULE_PAYMENT_GOOGLECHECKOUT_TEXT_TITLE;
              
    $result $db->Execute("select google_order_number from google_orders where orders_id= ". (int)$oID);
              
    $num_rows $result->RecordCount();

              if(
    $num_rows != 0) {
                
    $customer_notified google_checkout_state_change($check_status$status$oID
                                   (@
    $_POST['notify']=='on'?1:0), 
                                   (@
    $_POST['notify_comments']=='on'?$comments:''));
              }
              
    $customer_notified = isset($customer_notified)?$customer_notified:'0';
    // ** END GOOGLE CHECKOUT ** 
    You will also need to add it to super_batch_status as well if you use this. You will need to change the email part of googlecheckout in the super_orders_functions.php file found in admin/includes/functions/extra_functions.

    If you need any help PM me with your email address and I can email you across the files I have changed. I have tested it on testsite and it does work but we don't use it on our live site.

    Regards
    Trevor
    England's 1st Juggling Shop www.oddballs.co.uk

  8. #1198
    Join Date
    Dec 2007
    Posts
    34
    Plugin Contributions
    0

    help question Re: Super Orders 2.0

    Using ZenCart v1.3.7. Everything been working just fine, now all of a sudden we get the following error in our Super Orders admin panel and the "Quick Info" sidebar on the right (whatever it is called) has dissapeared.

    Code:
    Fatal error: Cannot access empty property in /home/content/... /html/eshop/admin/super_orders.php on line 1250
    I have honestly no clue what could have caused it. I haven't modified anything! Any ideas?

    Thanks,
    ae

  9. #1199
    Join Date
    Sep 2008
    Posts
    605
    Plugin Contributions
    6

    Default Re: Super Orders 2.0

    That line (if it is that line and PHP hasn't made a mistake) is only

    Code:
      $contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_SUPER_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . zen_href_link(FILENAME_SUPER_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>');
    That produces a link in the contents box out of buttons, to other places. $oInfo->orders_id is the order id or a specific order (the one selected from the row) has anything gone through the system that could have corrupted a particular order ? Feel free to PM me on this.

  10. #1200
    Join Date
    Dec 2007
    Posts
    34
    Plugin Contributions
    0

    Default Re: Super Orders 2.0

    Somehow a file/files must have gotten corrupted on the server. I've downloaded a fresh copy of the package, reuploaded all SO files and ... voila, the error dissapeared, the sidebar is back.

    Thanks for taking the time to respond!

    ae

 

 

Similar Threads

  1. v150 Super Orders v4.0 Support Thread for ZC v1.5.x
    By DivaVocals in forum Addon Admin Tools
    Replies: 804
    Last Post: 18 Apr 2025, 12:04 AM
  2. v139h Super Orders v3.0 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1018
    Last Post: 28 Apr 2014, 11:38 PM
  3. RE: Super Orders v3.0 Support Thread
    By Johnnyd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Jun 2011, 09:28 AM
  4. Super Orders 2.0 postage marks with Super Orders
    By sketchhgal in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 Mar 2009, 03:05 PM
  5. Edit Orders and Super Orders, anyone doing that?
    By swamyg1 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 4 Feb 2009, 06:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR