Glench / ExtPay

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

Unable to re-login to the same account from different browser #108

Closed jellohouse closed 9 months ago

jellohouse commented 1 year ago

Describe the bug I'm unable to re-login to the same ExtPay account from a different browser. Using my developer login (should be free).

To Reproduce

If I try to login with my email it says: Sorry, we don't have that email in our records. Please try another or contact the extension developer.

If I try to sign up with the same email it says: That email has already been used.

Expected behavior It should work as before - I should be able to login with the same email I've signed up with before (especially dev email).

Glench commented 1 year ago

Hey! I need a little more clarity in order to see what the issue is. Are you trying to log in to an extension you own with your extensionpay developer email? If so, are you doing this when developing your extension or with your published extension?

And then what is the second step that caused you to see the message "that email has already been used"?

And what do you mean it should "work as before"? This functionality hasn't changed in a while.

jellohouse commented 1 year ago

Right sorry I forgot to mention this only happens in the published version. Login works fine in development version.

But maybe I'm misunderstanding something - in the published version once you sign up (in my case for a free trial period) should you be able to go to another browser, install the extension and use the same login email you signed up with? My thought was that yes.

jellohouse commented 1 year ago

It just doesn't add up - How is it possible that when i try to sign up I get That email has already been used. But if i try to login with that same email (which is already in use) I get Sorry, we don't have that email in our records. Please try another or contact the extension developer.

henriquesousapt commented 1 year ago

We are also facing this issue, if we re-install the extension and try to resume a trial with an email that is still in the trial period, it returns the following error:

Screenshot 2023-03-17 at 16 54 07

In this case the trial should be resumed, since it's still within the trial period.

Is it possible to have this behavior?

Glench commented 1 year ago

Ah, thank you both for the clarity! You're right, it would be a good feature to "resume" a free trial from a different device or chrome profile.

henriquesousapt commented 1 year ago

@Glench do you think this feature could be implemented soon?

vuciv commented 1 year ago

Hey, just wanted to say this is still the case. Any updates?

Glench commented 9 months ago

So, we've added this!

Users can now log in to an existing trial. Their trialStartedAt will be the same after they log in. This means users will no longer see an error message saying they've already started a trial if they attempt to put the same email in twice. It's up to you to show appropriate messages if they log in and their trial period is over.

Cheers!