Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send email to remind users to complete checkout if they exit during zkSync checkout #7497

Closed
mds1 opened this issue Sep 22, 2020 · 9 comments

Comments

@mds1
Copy link
Contributor

mds1 commented Sep 22, 2020

During zkSync checkout, you have to wait on the page for a few minutes to complete checkout. Some users close the page before this process is complete, and when this happens their contributions are not sent to grant owners. To complete checkout, all they need to do is visit the /grants/cart page, and they'll see a prompt to complete checkout.

The set of users can be identified by looking for contributions where the validator_comment contains the string "Found deposit but no transfer. User likely closed page before transfers were sent and should revisit cart to complete checkout. User may not be aware so send them email reminders". This string is set here

Things to consider:

  • Typically there will be n contributions with this message for one user, so after filtering contributions by this comment make sure to filter out duplicate users to avoid sending the same user multiple emails
  • When do we want to send these emails, e.g. 1 day after abandoning the checkout? And how many reminders should a user get / how frequently? @owocki any thoughts here?

@PixelantDesign and @willsputra — Is there any specific copy you want to provide for these emails?

@zoek1 Are you able to tackle this issue?

@mds1
Copy link
Contributor Author

mds1 commented Sep 24, 2020

Let's send emails to the user only one time, and before sending we should make sure their transaction has been mined first

@PixelantDesign
Copy link
Contributor

PixelantDesign commented Sep 28, 2020

Subject: Complete Grant Contribution Checkout

Title: Contribute to the Projects You Care About!

Hey Name,

Looks like your transaction didn’t go through, 59 complete the checkout, please visit click < grants/cart link>to complete checkout.

-The Gitcoin Team

@willsputra
Copy link
Contributor

willsputra commented Sep 29, 2020

@PixelantDesign @zoek1 here's the design:

zksync

@PixelantDesign
Copy link
Contributor

Could we add zksync branding similar to in the grants experience so that users make the connection? Are we able to show where it failed @mds1 and give details on what happened?

@mds1
Copy link
Contributor Author

mds1 commented Sep 29, 2020

These emails are all sent for failure at the same point—after the "deposit into zkSync" transaction is completed, but before the actual contribution transfers are sent on zkSync.

Feel free to add some branding or update the copy! We do need to get this deployed pretty quickly though since the grants round is coming to an end soon, so probably good to keep it fairly simple for now. cc @zoek1

@willsputra
Copy link
Contributor

something like this?
contribution success email

@PixelantDesign
Copy link
Contributor

Looks good. Maybe the Subject line is : Unsuccessful Grant Checkout. Should we change the colors of the lines:
If I didn't read the email. I would think things are fine. Nothing I should be aware e of or act on.

@owocki
Copy link
Contributor

owocki commented Sep 30, 2020 via email

@owocki
Copy link
Contributor

owocki commented Sep 30, 2020

@zoek1 can this get coded today? if not, we should probably punt until next round

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants