Jump to content

Ozmooseus

Members
  • Content count

    17
  • Joined

  • Last visited

  1. Ozmooseus

    PDF Invoice 162 Order date format change

    germ, Yep that is a very good work around. Thanks for the help. Ryan.
  2. Ozmooseus

    PDF Invoice 162 Order date format change

    Thanks germ, However this is what I have; define('DATE_FORMAT_SHORT', '%d/%m/%Y'); // this is used for strftime() define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime() define('DATE_FORMAT', 'd/m/Y'); // this is used for date() define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S'); //// // Return date in raw format // $date should be in format mm/dd/yyyy // raw date is in format YYYYMMDD, or DDMMYYYY function tep_date_raw($date, $reverse = false) { if ($reverse) { return substr($date, 0, 2) . substr($date, 3, 2) . substr($date, 6, 4); } else { return substr($date, 6, 4) . substr($date, 3, 2) . substr($date, 0, 2); } } Thanks, Ryan.
  3. Hi, I have successfully formatted and customised my PDF invoice created using; http://addons.oscommerce.com/info/3027 Quick question is how do I alter the date formating of the order date from mm/dd/yy to dd/mm/yy ? Formatting of tep_date_short is my issue I assume. //Draw Date of Order Text $temp = str_replace(' ', ' ', PRINT_INVOICE_DATE); $pdf->Text(50,113,$temp . tep_date_short($order->info['date_purchased'])); Thanks Heaps, Ryan.
  4. Ozmooseus

    Need Pay Pal module to offer Australian currency

    Which payment module are you using? I am using PayPal IPN v2.3.4.6, which allows you to nominate "only AUD". This works well for my store. Ryan.
  5. Ozmooseus

    PayPal and SSL

    Paul, You don't need SSL unless you want your potential customers to feel that their information is safe. I don't trust any store that won't spend the few dollars on SSL. I recently implemented Geotrust SSL on my new site that only accepts PayPal. I was amazed at how easy and cheap this was. Ryan.
×