Subscription Error

Subscription Error

Laraship QuestionsCategory: TechnicalSubscription Error
Sebastian Wong asked 3 weeks ago
for the subscription cycle, when i am using this code, it will appear error
UsageManager::recordAUsage(Credit::class, \’test\’);
 
please advise the solution
Attachments

1 Answers
laraship Staff answered 3 weeks ago
Hello,
The error is clear, seems you’re passing Subscription Reference, not Subscription Cycle-ID, each subscription can have multiple cycles

Happy New Year!

40% DISCOUNT ON OUR ENTIRE STORE
COUPON CODE : Hello2021
GO TO STORE
LIMITED TIME OFFER
close-link
40% Off on all of LARASHIP platforms, plugins, and themes NO EXCLUSIONS
CODE: Hello2021
close-image