itc-reporter icon indicating copy to clipboard operation
itc-reporter copied to clipboard

How to get SubscriptionEvent's SalesReport?

Open wulimazhiwei opened this issue 5 years ago • 3 comments

wulimazhiwei avatar Jun 11 '20 08:06 wulimazhiwei

my code:

  $subreport = $Reporter->getSalesReport(
                    $vendorNumber,
                    'SubscriptionEvent',
                    'Summary',
                    'Daily',
                    $date
                );

but it return null. Actually the report exists.

wulimazhiwei avatar Jun 11 '20 08:06 wulimazhiwei

Apologies for the delay in getting back to you on this. Are you able to show any of the other code on the page and more info about what version you are currently running?

The package was designed to either throw exceptions or return an array. So the package should not be returning null at any point. Have you modified the package in any way which may result in it returning null rather than throwing an exception or returning an array?

mikebarlow avatar Jun 24 '20 06:06 mikebarlow

Hi there! Did you found and fixe something in order to get Subscriptions events? Thanks in advance

brizzly avatar Dec 13 '21 13:12 brizzly