Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fancier Invoice & Packingslip v1.0


PopTheTop

Recommended Posts

Quote from Install guide:

 

Please Note:

This contribution is not compatible with ANY PayPal IPN payment modules and I do not plan on making it so either. All the PayPal IPN payment modules are still way too buggy and conflict with MANY other contributions. With this contribution, you need to use the stock osC PayPal payment module.

 

 

Basically my question is-

 

What payment modules work with this addon that will populate the shipping address from the details given inside the shop? I don't want my customers to have to add their details, once inside the shop and then get transferred to the payment page and have to write it all out again.

 

Thanks

Link to comment
Share on other sites

Quote from Install guide:

 

Please Note:

This contribution is not compatible with ANY PayPal IPN payment modules and I do not plan on making it so either. All the PayPal IPN payment modules are still way too buggy and conflict with MANY other contributions. With this contribution, you need to use the stock osC PayPal payment module.

 

 

Basically my question is-

 

What payment modules work with this addon that will populate the shipping address from the details given inside the shop? I don't want my customers to have to add their details, once inside the shop and then get transferred to the payment page and have to write it all out again.

 

Thanks

This add on has nothing to do with populate the shipping address from the details given inside the shop. It is a means of getting a half decent invoice that you can print or send to the customer.

Link to comment
Share on other sites

This add on has nothing to do with populate the shipping address from the details given inside the shop. It is a means of getting a half decent invoice that you can print or send to the customer.

 

Yes, but the standard Paypal module will doesn't populate, and the IPN contribution is not compatible, so I'd like to know an alternative module and payment provider that will populate the shipping fields that others use along side this contribution.

 

if that makes sense

Link to comment
Share on other sites

Yes, but the standard Paypal module will doesn't populate, and the IPN contribution is not compatible, so I'd like to know an alternative module and payment provider that will populate the shipping fields that others use along side this contribution.

 

if that makes sense

 

It has NOTHING to do with this contribution.

Link to comment
Share on other sites

It has NOTHING to do with this contribution.

 

jesus dude, I know what the contribution does, I have it installed and working on my store, I'm asking what other people use as their payment gateway instead of Paypal's IPN with THIS contribution, if every other payment module other than Paypals IPN work perfectly with this contribution then say so, and maybe suggest one that has a populate function.

 

If someone else is also looking for an alternative payment module to work this contribution I'm sure they would also look on this thread, I'm not going to start a new topic called "I can't use Paypal IPN with my Fancy Invoice & Packingslip Contribuiton what do u guys use as an alternative?" because you don't think it has anything to do with this contribution.

 

Be constructive <_<

Link to comment
Share on other sites

jesus dude, I know what the contribution does, I have it installed and working on my store, I'm asking what other people use as their payment gateway instead of Paypal's IPN with THIS contribution, if every other payment module other than Paypals IPN work perfectly with this contribution then say so, and maybe suggest one that has a populate function.

 

If someone else is also looking for an alternative payment module to work this contribution I'm sure they would also look on this thread, I'm not going to start a new topic called "I can't use Paypal IPN with my Fancy Invoice & Packingslip Contribuiton what do u guys use as an alternative?" because you don't think it has anything to do with this contribution.

 

Be constructive <_<

Well, since you know all about it, we will wait for replies.

Link to comment
Share on other sites

hi, after adding this module i have got this error and web page is not opening:

 

 

Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/snmart/public_html/catalog/index.php on line 33

 

Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/snmart/public_html/catalog/index.php on line 33

 

Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in /home/snmart/public_html/catalog/index.php on line 33

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_DEFAULT' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/snmart/public_html/catalog/index.php on line 33

 

Unfortunately i have taken no BACKUP this is first time sucks

 

someone please help

 

thanks in advance

 

I'm having the same issue; I've deleted all of the languages apart from English, which is set as the default language via the admin control panel. Is there another option which needs to be defaulted to English? Tbh I'm pretty newb when it comes to oscommerce so any advice/ideas would be much appreciated :)

 

Best Regards

 

 

Andrew

Link to comment
Share on other sites

I'm having the same issue; I've deleted all of the languages apart from English, which is set as the default language via the admin control panel. Is there another option which needs to be defaulted to English? Tbh I'm pretty newb when it comes to oscommerce so any advice/ideas would be much appreciated :)

 

Best Regards

 

 

Andrew

Did this happen before or after your action?

 

As a guess, check the configure.php files.

Link to comment
Share on other sites

My account_history does not look anything like the oner int the documentation. It doesn't have very many line. Am I looking in the wrong place?

 

John

If you mean the knowledgebase, that is for the next version of osc.

Link to comment
Share on other sites

The contribution documentation says modify account_history.php at or about line 81 (>) I only have about 25 lines in this module.

The stock version of rc2a has 168 lines in account_history.php

 

Does the account history work?

 

Are you using a template or other non osc solution?

Link to comment
Share on other sites

jesus dude, I know what the contribution does, I have it installed and working on my store, I'm asking what other people use as their payment gateway instead of Paypal's IPN with THIS contribution, if every other payment module other than Paypals IPN work perfectly with this contribution then say so, and maybe suggest one that has a populate function.

 

If someone else is also looking for an alternative payment module to work this contribution I'm sure they would also look on this thread, I'm not going to start a new topic called "I can't use Paypal IPN with my Fancy Invoice & Packingslip Contribuiton what do u guys use as an alternative?" because you don't think it has anything to do with this contribution.

 

Be constructive <_<

 

I just edited catalog/includes/modules/payment/paypal_standard.php

Replaced all standard stuff with the Fancier Invoice stuff in the file...

If I remember correctly, between the lines:

// initialized for the email confirmation

and

// load the after_process function from the payment modules

Replace everything with the code from catalog/includes/modules/email_invoice/email_invoice.php

 

Then, in the newly pasted text from email_invoice.php, BEFORE the line:

require(DIR_FS_ADMIN . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

ADD (to get language name):

	$language_query = tep_db_query("select directory from " . TABLE_LANGUAGES . " where languages_id = '" . $languages_id . "'");
$language_array = tep_db_fetch_array($language_query);
$language = $language_array['directory'];

 

Done!

Seems to work perfectly, and keeps the store's email notifications 'in Sync' (did this also with the Dutch iDEAL payment plugin (iDealm)

Like Eek said... It never hurts to help!
----------------------------------------

Link to comment
Share on other sites

Hi everyone,

 

So I have installed this mod and love look and feel. Have a small problem in that in any of the invoices either emailed to customer, printed off or looked at in admin it shows everything except for the products. Shows the total and the header line but no product descriptions

 

Can anyone maybe lead me in the right direction to look why this is so?

 

Kind regards

Link to comment
Share on other sites

I just edited catalog/includes/modules/payment/paypal_standard.php

Replaced all standard stuff with the Fancier Invoice stuff in the file...

If I remember correctly, between the lines:

// initialized for the email confirmation

and

// load the after_process function from the payment modules

Replace everything with the code from catalog/includes/modules/email_invoice/email_invoice.php

 

Then, in the newly pasted text from email_invoice.php, BEFORE the line:

require(DIR_FS_ADMIN . DIR_WS_LANGUAGES . $language . "/" . FILENAME_ORDERS_INVOICE);

ADD (to get language name):

	$language_query = tep_db_query("select directory from " . TABLE_LANGUAGES . " where languages_id = '" . $languages_id . "'");
$language_array = tep_db_fetch_array($language_query);
$language = $language_array['directory'];

 

Done!

Seems to work perfectly, and keeps the store's email notifications 'in Sync' (did this also with the Dutch iDEAL payment plugin (iDealm)

 

Thx Zippo, I'm currently using the Nochex module, so i will try out your edit suggestion on it.

Link to comment
Share on other sites

Hi everyone,

 

So I have installed this mod and love look and feel. Have a small problem in that in any of the invoices either emailed to customer, printed off or looked at in admin it shows everything except for the products. Shows the total and the header line but no product descriptions

 

Can anyone maybe lead me in the right direction to look why this is so?

 

Kind regards

 

 

Hi does any one have any idea where to look?

Link to comment
Share on other sites

I have installed Fancier Invoice and love the improvement. However, I do have a glitch that I can't figure out. The Invoice and Packing Slip look fine in Admin but the email sent out to customer is messed up some. Take a look and notice the areas marked in blue.

 

email.gif

 

I searched through the source of the email and found the random characters multiple times. The only time it appeared in the open was when it appeared in the source between a <tr> and <td> tags, like this:

<tr>  (Ø&ÿÿÿÿlZb   <td background="http://www.xxxxxxxl.com/catalog/images/borders/mainwhite_04.gif">

Another time the random text appeared in the source it was in the middle of the Table tag "nowrap", like this:

<td align="center" class="pageHeading" N(Ø&ÿÿÿÿlZbOWRAP><em><b>Invoice</b></em></td>

Another time the source is this:

<img sr(Ø&ÿÿÿÿlZbc="http://www.xxxxxxxxx.com/catalog/images/borders/mainwhite_08.gif" width="24" height="18" alt="">

I've not been able to figure this one out. Did I not install something right? I've gone over it a couple of times already.

 

If you need more info to help just let me know what you need.

 

Alex

Link to comment
Share on other sites

We seem to be having some issues with the fancy invoice plugin. I have followed the instructions to the letter and still are coming up with this crazy issue. This is a heavily customised site so im not sure if this is the reason.

 

Any help is much appreciated.

 

broken1.jpg

There was a fix for this in the thread a while ago.

Link to comment
Share on other sites

Great contribution!

 

I'm trying to add the shipping method (not prices) to the packing slip - saw this was touched on briefly during an earlier post, but I can't figure the code to pull out just the shippng method - I either get nothing or the text and costs too.

 

Any ideas?

Thanks!

Link to comment
Share on other sites

Hello,

 

I have installed this contribution, before installing this contribution I also installed the SPPC contribution. This creating problem. and its giving error while accessing the site..

 

Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in d:\program files\easyphp\www\anand\anandint_perfectversion\index.php on line 40

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_DEFAULT' (include_path='.;d:\PROGRA~1\EasyPHP\\php\pear\') in d:\program files\easyphp\www\anand\anandint_perfectversion\index.php on line 40

 

 

Any solutions to rectify that please.

 

Thanks

Link to comment
Share on other sites

Hello,

 

I have installed this contribution, before installing this contribution I also installed the SPPC contribution. This creating problem. and its giving error while accessing the site..

 

Warning: main(includes/languages/english/FILENAME_DEFAULT): failed to open stream: No such file or directory in d:\program files\easyphp\www\anand\anandint_perfectversion\index.php on line 40

 

Fatal error: main(): Failed opening required 'includes/languages/english/FILENAME_DEFAULT' (include_path='.;d:\PROGRA~1\EasyPHP\\php\pear\') in d:\program files\easyphp\www\anand\anandint_perfectversion\index.php on line 40

 

 

Any solutions to rectify that please.

 

Thanks

 

It appears that this is on your local PC. It is referring a file on the d drive that does not exist. You have two \\ in the filename. This probabably means your have your configure.php mistyped.

 

John

Link to comment
Share on other sites

  • 3 weeks later...

Hi,

 

Help! I have just got my first order but can't see what they want to buy as the invoicing, packing slip and edit orders section admin do not show any products!!

 

All of the invoices either emailed to customer, printed off or looked at in admin it shows everything except for the products. Shows the total and the header line but no product descriptions

 

 

Can you help me please, I am stumped?

 

In admin\orders.php I have the following in the area I think is relevant....

 

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr class="dataTableHeadingRow">

<td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td>

<td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS_MODEL; ?></td>

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TAX; ?></td>

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_EXCLUDING_TAX; ?></td>

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_PRICE_INCLUDING_TAX; ?></td>

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_EXCLUDING_TAX; ?></td>

<td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_TOTAL_INCLUDING_TAX; ?></td>

</tr>

<?php

for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {

echo ' <tr class="dataTableRow">' . "\n" .

' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .

' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];

 

if (isset($order->products[$i]['attributes']) && (sizeof($order->products[$i]['attributes']) > 0)) {

for ($j = 0, $k = sizeof($order->products[$i]['attributes']); $j < $k; $j++) {

echo '<br><nobr><small> <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . $order->products[$i]['attributes'][$j]['value'];

if ($order->products[$i]['attributes'][$j]['price'] != '0') echo ' (' . $order->products[$i]['attributes'][$j]['prefix'] . $currencies->format($order->products[$i]['attributes'][$j]['price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . ')';

echo '</i></small></nobr>';

}

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...