Skip to content

Conversation

@chanbakjsd
Copy link
Contributor

This PR should address the issue of transitioning to thank you page by checking a special case for Stripe.
In addition, the order summary page now shows "Payment Pending" in case the user did get redirected for whatever reason.

[SCSE-196]

@linear
Copy link

linear bot commented Feb 18, 2023

SCSE-196 Fix transition to thank you page without payment

Thank you page is rendered after closing the payment QR code even without payment.

Frontend should validate that the order is not cancelled and not pending payment. If it is cancelled/pending payment, do not show the "Thank You" text.

@vercel
Copy link

vercel bot commented Feb 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
fe ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Feb 23, 2023 at 0:05AM (UTC)

@github-actions github-actions bot requested a review from yankai14 February 18, 2023 19:59
@chanbakjsd
Copy link
Contributor Author

chanbakjsd commented Feb 18, 2023

Copy link
Contributor

@YoNG-Zaii YoNG-Zaii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Payment Pending page:

"We are currently pending confirmation for your payment from our payment processor. If you have paid, please check back later.

Should the issue persist, please contact us at merch@ntuscse.com with proof of payment. We apologize for the inconvenience."

I believe the line spacing between the two sentences can be smaller. The button 'continue spacing' can have more top margin.

In Stripe, some payment methods (in our case PayNow) may redirect back
to the `return_url` and the PaymentIntent will have a status of
`requires_payment_method`. In this case, we should attempt to recollect
payment from the user.

[SCSE-196]
@chanbakjsd
Copy link
Contributor Author

@YoNG-Zaii The issue pointed out has been fixed.

@chanbakjsd chanbakjsd requested a review from YoNG-Zaii February 23, 2023 12:07
Copy link
Contributor

@YoNG-Zaii YoNG-Zaii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in terms of payment pending page.

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

Successfully merging this pull request may close these issues.

3 participants