Glench / ExtPay

The JavaScript library for ExtensionPay.com — payments for your browser extensions, no server needed.
https://extensionpay.com
Other
483 stars 62 forks source link

.OnPaid() is not triggered when registering for free trial #129

Closed prakhar897 closed 1 year ago

prakhar897 commented 1 year ago

When I register an email for free trial, onPaid function is not triggered. Free trial is same as the user paying so it should've been triggered.

The result is that I have to manually reload the extension whenever enabling free trials.

Is this the intended behaviour?

Glench commented 1 year ago

Use onTrialStarted as described in the docs.