Jump to content

ckoymen

Members
  • Content count

    2
  • Joined

  • Last visited

  1. ckoymen

    [CONTRIBUTION] PDF Customer Invoice

    Perfect! Thanks BlackCap it worked! Much appreciated. Chris, thanks for your reply as well.
  2. ckoymen

    [CONTRIBUTION] PDF Customer Invoice

    Hi Chris, first of all thank you for making this contribution. It's so useful and looks our shop more proffesional. I've installed admin module of your pdf invoice contrib. I've got a small problem which I couldn't resolve. If you could help me I'd appreciate. when I click invoice link (create pdf invoice) that shows on admin page the path of the link shows as something like "http://xxxx.com/admin/HTTPS_SERVER/pdfinvoice.php?order_id=000014&passthruID=xxxxx&osCAdminID=xxxxxxx" I believe that "HTTPS_SERVER" is the source of the problem, but I couldn't eliminate this problem. refere code is in the orders.php; $contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . tep_href_link('../pdfinvoice.php', 'order_id=' . $oInfo->orders_id . '&passthruID=' . $pass_phrase_hash, 'SSL') . '" TARGET="_blank">' . tep_image_button('button_invoice_pdf.gif', IMAGE_ORDERS_PDF_INVOICE) . '</a> <a href="' . tep_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . tep_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>'); isthere any way to get rid of this problem chris, I'm not sure where I'm doing wrong. thank you in advance.
×