Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

Admin UI: View Order -> Decrypt Credit Card delivers 0byte file

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


me at paulrollo

Oct 6, 2008, 6:49 AM

Post #1 of 1 (456 views)
Permalink
Admin UI: View Order -> Decrypt Credit Card delivers 0byte file

Hi List,

I have recently upgraded an installation from 5.4.0 to 5.6.0 and this
problem has presented itself since upgrade. When I go to Order
Manager: View Order and click "Decrypt Credit Card" I am presented
with a 0byte download. Prior to the upgrade this delivered the gpg
encrypted credit card info in a file which would open automatically by
the pc based gpg decrypt utility and the cc info was thus available.

The section of code at the top of
/usr/local/interchange/lib/UI/pages/admin/order_view.html as follows
seems to be responsible for getting the order content and delivering
it through the browser:

$Tag->deliver({
file => "orders/$ord",
get_encrypted => 1,
type => 'application/pgp-encrypted',
});

I have checked that permissions on the orders/* are ok to be accessed
by an interchange user.

I've tried substituting $ord for a filename I know to exist, still get
an empty file delivered through the browser. I assume the
"get_encrypted => 1" is an instruction to take the gpg block from the
file though I can't find anything in docs to confirm this. And I
assume the type is just the mime type to deliver the file as.

If anybody has any ideas or pointers that I could follow up I'd be
very grateful.

Thanks,
Paul.

_______________________________________________
interchange-users mailing list
interchange-users [at] icdevgroup
http://www.icdevgroup.org/mailman/listinfo/interchange-users

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.