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

Not able to log back in as Sample User #128

Closed prakhar897 closed 9 months ago

prakhar897 commented 1 year ago
  1. I used an alternate email to start trial of my product.
  2. Then I delete and reinstall my chrome extension.
  3. When I try to start trial again, it displays the following message "That email has already been used."
  4. When I click login and try to login as my free trial is running, it displays the following message: "Sorry, we don't have that email in our records. Please try another or contact the extension developer."

It seems the system gets in a deadlock if a trial user reinstalls the app. Can you look into it?

Capture image

Glench commented 1 year ago

Yeah, right now "log in" means for paid customers only, not trial users. It should be fixed for sure but it's not a very high priority right now.

mpienkowski commented 1 year ago

@Glench is there a workaround for this? How can I login when I started a trial, but reinstalled the extension?

dm1014 commented 1 year ago

@Glench I also ran into this issue during development. It seems like the user record should exist since extpay.getUser() works after starting a trial

dm1014 commented 1 year ago

@Glench is there a workaround for this? How can I login when I started a trial, but reinstalled the extension?

a possible workaround would be to alert the user to use a different email. it's not very user-friendly though and could lead to users just starting trials with different emails

imvedanshmehra commented 1 year ago

As @dm1014 mentioned it's not a very user-friendly way to do this and it becomes more complicated during the development when I have to test the trail flow locally.

Every time I have to test the flow I would have to use a new email.

Glench commented 1 year ago

As @dm1014 mentioned it's not a very user-friendly way to do this and it becomes more complicated during the development when I have to test the trail flow locally.

Every time I have to test the flow I would have to use a new email.

This is a completely separate issue. You might consider creating a new discussion for it where you discuss in detail the issue you're getting.

Also, if you use your developer email for trials in development mode you won't have to use different emails every time.

jww316 commented 11 months ago

I have a few people testing extensions for me. After I make changes and they install a revision of the extension they have to use a new email. That process is not practical or sustainable. I would propose that you provide an API call that would allow the removal of trial emails. That would allow the use of something like Postman to do a simple 'reset' of testing emails. It would be even better if this was offered through the UI, but I could get by with an API call for now.

Glench commented 9 months ago

This has been fixed! See #108