OpenMAVN / PM

OpenMAVN project management
MIT License
0 stars 3 forks source link

SME sending vouchers to customers with the app #144

Open ElenaBelyavskaya opened 4 years ago

ElenaBelyavskaya commented 4 years ago

As an SME issued some vouchers, I want to be able to present vouchers to some of my customers registered on the platform

AC's

  1. SME's should be able to send some created vouchers to their customers GIVEN I am logged in as SME WHEN I open a created voucher THEN I can reserve certain amount of vouchers by email/s y listing the emails in the "Email/s" field (with hint/tooltip "List emails separated by comma") Or by uploading a file with emails listed in one column * AND if the customers already have the app they get the voucher immediately AND the voucher stock is decreased by the number of successfully presented vouchers AND if the number of input emails is higher than the number of available vouchers the SME gets the error "Not enough vouchers in the stock. Please review the mailing list and try again." AND verification of the email format should be done (SEND button should be disabled in case of incorrect format, hint "Please make sure all the emails are correct and try again") AND as a result of successful sending I get a confirmation message: "Voucher was successfully sent"

'* Not obligatory in this sprint

  1. SME's should be informed if some of the emails are not registered in the app GIVEN I am logged in as SME AND in the mailing list I have listed some emails that are Not registered in the platform WHEN I try to send voucher THEN emails of customers who don't have the app are ignored during the sending AND the voucher stock is Not decreased by the number of listed emails not registered in the platform AND as a result of sending I get the following message: "Voucher could not be sent to the following email/s: ... . Please make sure the customers are registered in the platform."
MarlonMaercz commented 4 years ago

We need to split this story into 2 parts: 1) Customer exists in the system, 2) Customer does not exist and needs to download the app.

Story is not high priority at the moment, and we can defer to later sprint.

ElenaBelyavskaya commented 4 years ago

Story is adjusted a bit and can be considered as part 1 (sending vouchers to customers with the app).

starkmsu commented 4 years ago

@ElenaBelyavskaya , it's not clear - how SME is supposed to enter emails for sending vouchers - 1 by 1, or with uploading CQV file with a list of emails or using some other way.

ElenaBelyavskaya commented 4 years ago

@starkmsu we can start with a text field: SME enters one email or several emails via separator - this is a min requirement (because in case of one or two emails it doesn't make sense to ask SME to upload a file); If in this sprint it's doable, please add the ability to import a list of emails via CSV/Excel file - this is optional for this sprint.

ElenaBelyavskaya commented 4 years ago

@starkmsu I also added requirement for the format verification of the emails to the desc

starkmsu commented 4 years ago

@ElenaBelyavskaya , it's not clear - what should happen when a customer with provided email is not registered in the system?

ElenaBelyavskaya commented 4 years ago

@starkmsu the SME should get warning in the confirmation message. I have divided the desc into two cases to make it more obvious.

starkmsu commented 4 years ago

@ElenaBelyavskaya , @MarlonMaercz , who can give such presents for existing customers, only admin user who created the corresponding voucher campaign? Or super admin as well?

MarlonMaercz commented 4 years ago

@starkmsu From the Admin Portal, we should only allow admin users who created the voucher campaign. We should not allow super admins to have this capability at the beginning.