mrc-india-csr / katha-utsav-2021-registration

Backend service for User registration for Katha utsav 2021
Apache License 2.0
0 stars 0 forks source link

Generate Registration ID #7

Open DineshKumarVasudevan opened 3 years ago

DineshKumarVasudevan commented 3 years ago

As a participant I want a registration number (unique identifier) So that I can use it as my ID during the competition. Acceptance Criteria (1 of 2): Given a student/parent user has uploaded the content When the payment is successful Then a unique registration ID must be generated for the individual and the details should be shared over e-mail. Acceptance Criteria (2 of 2): Given a school coordinator user has uploaded all the contents When the payment is successful Then a unique registration ID must be generated for each student and the details should be shared over e-mail to the school coordinator.

From e-mail ID: event@katha.org

Email Content:

Subject: Successful Registration for KATHA Utsav 2021

Body: <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

Successful registration email:

Dear ___________

 

Greetings of the day!

 

You have made a successful registration with the following details:

Name School Number Email ID Amount Unique transaction ID (created by Razorpay)

 

Your unique Katha Utsav'21 ID: _______

Request you to keep a tab on www.utsav.katha.org for more updates and results.

We wish you all the best.

Let us know if you have any other queries or concerns. Happy to help!

 

// FOR school we will add a column of unique IDs in the table itself.

Dev Comp: 8/31

BharathMelomaniac commented 3 years ago

This testing was done only from Individual Registration form.

On successful payments, It gives the success message. However, the success message shows the transaction ID number as a registration ID. Either the Key name should be updated as TransactionID or the value should be pointed to the corresponding key name.

Email is getting triggered to the registered email address. However, emails to gmail accounts go into the Spam folder. The email format is good but in amount column it shows the incorrect value. 150 rs(default amount) was the payment made however, emails shows that amount paid was 15000.

Need to check if event@katha.org is a do not reply email address, if so a link to contact us page can be added in the email body.

No unique records. Multiple times same information can be submitted and it will provide unique registration ID for each payment submission of same info. @Nizarahammed @Hemanth10081999

BharathMelomaniac commented 3 years ago

image

BharathMelomaniac commented 3 years ago

Validated the changes. Payment amunt is showing correctly in the email. Success message is updated as per the discussion. Emails are still going to spam folder when it is sent to gmail account. Everything else looks good. Validation completed even from school registration form.

BharathMelomaniac commented 3 years ago

Emails are going to Inbox folder as expected also found success message is updated asking the users to check spam folder.

Currently, the phone no is a free text. So it can be any no and it is not necessary to be exactly 10 digit. But when we try to make payment, the razor pay automatically takes the phone no and email address that is entered in the form. Say If the school co ordinator is interested to use a land line no (04442620613) for school registration form, it is taking the same landline no in below format for Payment. image Asked the developer not to fetch the phone no from the registration form in case if Razorpay payment wizard says phone no is mandatory to make payment. So that users can enter the mobile no they want to make payment.

BharathMelomaniac commented 3 years ago

Dev fixed all mentioned bugs. Validated everything. @DineshKumarVasudevan