Forums / Managing Customers and Orders / Transaction details not showing on saved PDF/print

Transaction details not showing on saved PDF/print

Started by saplanet on 1 Sep 2012, 3:51 AM · Views: 977

Results 1 to 4 of 4
1 Sep 2012, 3:51 AM
#1
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Transaction details not showing on saved PDF/print

I have upgraded the cart to V1.5.

I always keep a PDF copy of the order on file for tax filing purpose. Before the upgrade, when I save the order page to PDF, it captures everything; after the upgrade, the whole section of paypal details are not showing in the saved PDF file.

The transaction details still show on screen of the order, just not transferring to print/saved PDF file. Anyone knows how to fix this? I want the information on the saved file.

Attachment 11056Attachment 11057

1 Sep 2012, 4:46 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Transaction details not showing on saved PDF/print

For Express Checkout, that data is set in the template to not print.
If you want to change that, go to /includes/modules/payment/paypal/paypalwpp_admin_notification.php and remove the "noprint" from this line:```
$outputStartBlock .= '<td><table class="noprint">'."\n";

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Sep 2012, 2:04 AM
#3
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Re: Transaction details not showing on saved PDF/print

Attachment 11071

Thank you DrByte.

I have checked, the noprint has been removed all this time. Now, it shows the paypal 'order refunds' box too. I didn't do anything actually, except to upload the unmodified orders.php.

How can I remove the order refund box?

3 Sep 2012, 2:22 AM
#4
saplanet avatar

saplanet

New Zenner

Join Date:
Jun 2008
Location:
Singapore, Australia, America
Posts:
97
Plugin Contributions:
0

Re: Transaction details not showing on saved PDF/print

Sorry, earlier, I was actually looking at paypal_admin_notification.php, and saw that there 'no print' wasn't there. Then, I saw that DrBytes mentioned paypalwpp_admin_notification.php instead. So, I looked, indeed the 'no print' was there, and I removed it. Now it's all good.

The upper grey box is showing on PDF; and the order refund box is gone.

Thanks!