Closed (works as designed)
Project:
Commerce order2pdf
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Oct 2013 at 05:36 UTC
Updated:
23 Oct 2013 at 07:35 UTC
Hi,
The module seems to work fine except that the access callback always return FALSE while viewing/downloading PDF (case "validate") of order. When I've checked the code it was taking order ID from URL with following code which is wrong
<?php
$arg2 = arg(2);
?>
Where as the menu callback has only "order2pdf/%" i.e. arg(0) and arg(1).
Also I didn't understand how can the HASH (of order ID and Order created) and Order Id can match with each other. Can some one please help me understand this or I'm correct that this will never match?
Yogesh
Comments
Comment #1
yogeshchaugule8 commentedFound it. The module adds a link using views field, where it adds hash to verify.