Zen Cart Logo
Forums / All Other Contributions/Addons / OLD Super Orders 2.0 (See v3.0 thread instead)

OLD Super Orders 2.0 (See v3.0 thread instead)

Locked

Views: 456,069

Results 1,101 to 1,120 of 2,020
This thread is locked. New replies are disabled.
18 Aug 2008, 8:33 PM
#1101
tech_e avatar

tech_e

Zen Follower

Join Date:
Jan 2007
Posts:
159
Plugin Contributions:
0

OLD Super Orders 2.0 (See v3.0 thread instead)

I have been using Super Orders for several months and it has been working great.

It just started having problems recognizing payments from Authorize.net AIM. The last few orders display a message on the Order Detail pages that says, "No Payment Data Available", even though the Authorize.net authorization codes do display in the Status History. The order total shows $0.00 for the Amount Applied and a Balance Due of whatever the order total is.

I have not made any changes to the site recently, other than offering free shipping for orders over $50. All the recent orders exhibiting the problem are over $50.

I have seen this issue mentioned a few times, but have not seen a resolution. Do anyone know how to resolve this?

Could this have anything to do with the free shipping offer?

I can manually apply the payment, so it is not a critical problem. It is just an annoyance

19 Aug 2008, 1:07 AM
#1102
jazzman avatar

jazzman

New Zenner

Join Date:
Aug 2008
Posts:
5
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

I had previously installed Purchase Module 1.3.7 before I fully understood what exactly Super Orders did. I think I completely uninstalled it, but now I am getting this in the fields when placing an order with a purchase order in the purchase order area:

Payment Method:
MODULE_PAYMENT_PO_TEXT_TITLE
MODULE_PAYMENT_PO_TEXT_TITLE
MODULE_PAYMENT_PO_TEXT_ACCOUNT_NAME
12345
MODULE_PAYMENT_PO_TEXT_ACCOUNT_NUMBER
65432
MODULE_PAYMENT_PO_TEXT_PO_NUMBER
54789

(this is on the Order Confirmation page).

Any quick thoughts you could give me to nail this one down? Otherwise I think that Super Reports is FABULOUS :clap: and if knighthood is an option for Contributors, I'll vote for ya!

BTW, I'm pretty much a rank n00b when it comes to Zen Cart, so please accept my apologies if there is bone simple solution I was just too dense to recognize.

Thanks so much in advance,

Jim :cry:

19 Aug 2008, 4:03 PM
#1103
jazzman avatar

jazzman

New Zenner

Join Date:
Aug 2008
Posts:
5
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

"I had previously installed Purchase Module 1.3.7 before I fully understood what exactly Super Orders did. I think I completely uninstalled it,"

I mentioned this in my post because it provides some context. I installed Purchase Module, then attempted to de-install it, then installed Super Orders. The error I am getting is after doing all of the above. I hope that clarifies things.

Thanks,

Jim

21 Aug 2008, 3:17 AM
#1104
jazzman avatar

jazzman

New Zenner

Join Date:
Aug 2008
Posts:
5
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

:smile:

After digging a little more and removing the purchaseorder.php (and po.php) module(s) and reinstalling I finally got things to work correctly.

Just one little problem. I need to be able to have the user enter a PO number when ordering. Is there anything within this solution that allows for the user to enter a PO number or is there an easy fix?

Thanks in advance,

Jim

25 Aug 2008, 6:31 PM
#1105
semaxd avatar

semaxd

New Zenner

Join Date:
May 2008
Location:
Ventura Co.
Posts:
82
Plugin Contributions:
1

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

will this mod allow me to print all my invoices at once

3 Sep 2008, 5:52 PM
#1106
kjohn avatar

kjohn

New Zenner

Join Date:
Aug 2008
Posts:
30
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

Hi,

Super Orders is awesome, glad I found it! Just one question, don't know if this has been answered and if so please point me to the post.

The Store Last 4 CC Digits mod- The code block is different in my authorizenet_aim.php file than the one that is described in the README. I tried using the code anyway, could not get it to work. I really need to see the entire CC number in the Detail Screen, is there an update to this block of code for the newest version of Zen Cart?

Thanks,

KJohn

8 Sep 2008, 12:25 PM
#1107
brettw avatar

brettw

New Zenner

Join Date:
Mar 2008
Posts:
64
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

Hi All,

Firstly great module, its saved me a lot of time.

Now a quick question about the super_packingslip.php and showing $SHIPPING_METHOD_DETAIL rather than $shipping_method. (This was from one of the email templates)

I have found the code where this is however think that Im missing something that gets this info from the data base as when I replace the above it doesnt give me anything.

Any help in the right direction would be great.

Thanks

Brett

8 Sep 2008, 8:28 PM
#1108
cjayosburn avatar

cjayosburn

New Zenner

Join Date:
Jul 2008
Location:
Emporia, Virginia
Posts:
7
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

I have finally got Super Orders installed, but have no Super Orders in the Admin Configuration Menu, nor do I have the Store Phone and Store Fax defines under My Store. Any suggestions.

Thanks

Jay

9 Sep 2008, 3:52 PM
#1109
cjayosburn avatar

cjayosburn

New Zenner

Join Date:
Jul 2008
Location:
Emporia, Virginia
Posts:
7
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

cjayosburn:

I have finally got Super Orders installed, but have no Super Orders in the Admin Configuration Menu, nor do I have the Store Phone and Store Fax defines under My Store. Any suggestions.

Thanks

Jay

All fixed now...:clap:
I copied and pasted only the parts of the SQL code that I needed and the Store Fax and Store Phone are on the My Store page and the Super Orders Config page is where it should be.

Thanks Again

For all of you who look at this forum and think that Super Orders is not worth the time or trouble, think again. This is a great mod.

Jay

11 Sep 2008, 1:12 AM
#1110
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

dealbyethan.com:

Does anyone know how to make the product image smaller on Super packing slip? At the moment, it looks too big and stretched. Thanks in advance.So I've been through this whole thread.. Did I miss the answer to this.. I've got SO installed, and so far so good, but I'm still gonna take it through it's paces just to make sure before I sign off on this and breathe easy that it works.. The only glitch is the product image on the packing slip.. It is pulling in the full size image versus the thumbnail.. I'd be super grateful for an assist..

11 Sep 2008, 1:42 AM
#1111
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

Okay so I think I know WHAT needs to be changed.. I just need to know HOW to modify it so that it displays the thumbnail of the product images on the packing list:

In the admin/super_packingslip.php file, on or around line 201 in the I found:

          echo '        <td class="dataTableContent" align="left">' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> </td>';

I am hoping that someone ran into this same issue and knows the answer.. If not, I guess I'll start experimenting with how to remove the product image from the packing list altogether..

11 Sep 2008, 7:17 PM
#1112
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

DivaVocals:

Okay so I think I know WHAT needs to be changed.. I just need to know HOW to modify it so that it displays the thumbnail of the product images on the packing list:

In the admin/super_packingslip.php file, on or around line 201 in the I found:

      echo '        <td class="dataTableContent" align="left">' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> </td>';
So for now I changed the code and added the relative path to a "generic" image to appear in place of the product image.. (In this case I used my "no_image" file because I replaced the default with a custom "no_image" file) I also changed the header row in the table to not call the header row constant for the product image column heading text. (it was faster doing it that way than changing the language file):cool:
14 Sep 2008, 4:09 PM
#1113
carlvt88 avatar

carlvt88

Zen Follower

Join Date:
Aug 2007
Location:
Williston, Vermont
Posts:
180
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

Partial progress - I now have paypal payments showing up on the order. In addition to the code that BlindSide provided for cc_line_item (quoted below), I needed to modify includes/classes/order.php to call the function:

      if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number']) || $this->info['payment_module_code'] == 'paypalwpp') {

Works great - now when an order is placed with paypal, the amount from paypal[mc_gross] is applied as a payment.

However, while the so_payments[orders_id] and [payment_amount] are filled in, the [payment_name] and [payment_number] are not. Don't know why.....

Also, this is done at order creation. I think if this were done at report generation instead, you could pick up multiple paypal payments, paypal refunds, and maybe even current status of e-checks (haven't had much experience here).

Other than that- if any other hackers are making progress here, I'd love to know.

Frank - love the SO work you've done - it's really helped me out!

Thanks,
Carl

BlindSide:

Admin > Localization > Payment Types

Like wickedclown said, I have code to automate PayPal payments made at checkout for the next version. If you're feeling adventurous, here's the code for the modified function. Just replace the entire function as it exists in [catalog]/includes/class/super_order.php...

function cc_line_item() {
global $db;

// first we look for credit card payments
$cc_data = $db->Execute("select cc_type, cc_owner, cc_number, cc_expires, cc_cvv, date_purchased, order_total
                         from " . TABLE_ORDERS . " where orders_id = '" . $this->oID . "' limit 1");
if ($cc_data->RecordCount() ) {
  // collect payment types from the DB
  $payment_data = $db->Execute("select * from " . TABLE_SO_PAYMENT_TYPES . "
                                where language_id = " . $_SESSION['languages_id']);
  $cc_type_key = array();
  while (!$payment_data->EOF) {
    $cc_type_key[$payment_data->fields['payment_type_full']] = $payment_data->fields['payment_type_code'];
    $payment_data->MoveNext();
  }

  // convert CC name to match shorthand type in SO payment system
  // the name used at checkout must match name entered into Admin > Localization > Payment Types!
  $payment_type = $cc_type_key[$cc_data->fields['cc_type']];
  $new_cc_payment = array('orders_id' => $this->oID,
                          'payment_number' => $cc_data->fields['cc_number'],
                          'payment_name' => $cc_data->fields['cc_owner'],
                          'payment_amount' => $cc_data->fields['order_total'],
                          'payment_type' => $payment_type,
                          'date_posted' => 'now()',
                          'last_modified' => 'now()');

  zen_db_perform(TABLE_SO_PAYMENTS, $new_cc_payment);
}

// now look for PayPal data
$pp_data = $db->Execute("select * from " . TABLE_PAYPAL . " where zen_order_id = " . $this->oID);
if ($pp_data->RecordCount() ) {
  $new_pp_payment = array();
  while (!$pp_data->EOF)  {
    $name = $pp_data->fields['first_name'] . ' ' . $pp_data->fields['last_name'];
    $new_pp_payment[] = array('orders_id' => $this->oID,
                              'payment_number' => $pp_data->fields['txn_id'],
                              'payment_name' => $name,
                              'payment_amount' => $pp_data->fields['mc_gross'],
                              'payment_type' => 'PP',
                              'date_posted' => 'now()',
                              'last_modified' => 'now()');

    $pp_data->MoveNext();
  }

  foreach ($new_pp_payment as $key => $payment) {
    zen_db_perform(TABLE_SO_PAYMENTS, $payment);
  }
}

}

> I'd also like to hear from those of you who use PayPal extensively (I don't at all).  What other stuff can I do here to make this more useful?
15 Sep 2008, 1:58 AM
#1114
carlvt88 avatar

carlvt88

Zen Follower

Join Date:
Aug 2007
Location:
Williston, Vermont
Posts:
180
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

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:

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:

    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!

17 Sep 2008, 10:50 AM
#1115
tslav avatar

tslav

New Zenner

Join Date:
Aug 2008
Posts:
22
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

After reviewing SO features, I must say that I am impressed. It seems like a great mod for my store. I just have couple of question regarding SO implementation in multi Language/ currency environment.

Is SO supports multiple Currencies/Languages (Invoice, Package slip, Shipping Label and etc)?

Tzachi

18 Sep 2008, 2:29 AM
#1116
yrakc avatar

yrakc

New Zenner

Join Date:
May 2007
Posts:
1
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

I have installed Super Orders and don't see the PO Payment Module under Admin> Modules> Payment

Anyone know a reason I may have this issue?

I made sure all of the files got installed in their place and all of the sql patch executed.

Any help is much appreciated.

25 Sep 2008, 4:00 AM
#1117
tyroneneous avatar

tyroneneous

New Zenner

Join Date:
May 2006
Posts:
16
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

Hi,

I have a question about closing the orders.

Can someone help me or tell me how I can have the "Close Order" function be batch processed? I know we can do it with the other statuses, but if I have a hundred orders that I want to close off how can I do it?

Also is it possible for it to do it automatically after the last status has been selected? e.g. when we change it to be dispatched it should close the order off?

Thank you

Tyrone.

28 Sep 2008, 9:53 AM
#1118
tslav avatar

tslav

New Zenner

Join Date:
Aug 2008
Posts:
22
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

tslav:

After reviewing SO features, I must say that I am impressed. It seems like a great mod for my store. I just have couple of question regarding SO implementation in multi Language/ currency environment.

Is SO supports multiple Currencies/Languages (Invoice, Package slip, Shipping Label and etc)?

Tzachi

Any help? Are there things i need to know about before installing SO module?

28 Sep 2008, 8:51 PM
#1119
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

tslav:

Any help? Are there things i need to know about before installing SO module?My suggestion is to do what I did.. Back your store up (files and DB) install SO and test it out.. I would suggest that you not install this on your live store.. You need to setup a test store. That you can test this mod out without any worries about messing up your live store..

30 Sep 2008, 2:54 PM
#1120
djjase avatar

djjase

New Zenner

Join Date:
Jun 2008
Posts:
29
Plugin Contributions:
0

Re: OLD Super Orders 2.0 (See v3.0 thread instead)

is there a fix for the issues of not reciving order email notifications?

I am using 1.3.8a with Super Orders 2. I can only accept payments via PayPal, Moneybookers, Direct deposit.

I am not reciving any email notifications for orders placed and paid using PayPal.

I really need this fixed urgently as the first I know about the order is when I receive a email from PayPal.

Can someone please advise if there is a fix for this urgently.

Thanks.