snowpity / concrescent

CONcrescent is the fandom convention registration system.
Mozilla Public License 2.0
2 stars 1 forks source link

Purchasers are randomly redirected to empty order form #2

Closed CorpulentBrony closed 6 months ago

CorpulentBrony commented 7 months ago

Sometimes, after completing a purchase at PayPal, instead of seeing a successful payment message, the user is redirected to a blank badge order form. A lot of users take this to mean there was a payment processing issue and make a duplicate order which we then need to refund.

For customer service purposes, this should be a high priority issue.

Wolvan commented 6 months ago

Current assumption is that it has to do with either cookies being disabled or an adblocker. This is entirely unconfirmed though.

CorpulentBrony commented 6 months ago

I want to note I've experienced both normal behavior and this aberrant behavior on the same browser, same computer, same plugins. Seems very random

KahasKahas commented 6 months ago

I've tested a normal successful payment without reproducing this bug yet, with various adblock or forceful crashes.

A possible alternative solution would be to cross check the second badge form against the database to notify the user there is possibly already an order with that name being processed and ask them to check their emails before posting another one.

Would that make sense to you ?

KahasKahas commented 6 months ago

Also I have fixed a strange edge case where a payment is already successful, and if the checkout page is still open and being refreshed it would crash (the incomplete order cannot be found because it's already completed). In that scenario, the impossible checkout page tries to redirect to the review order page for this completed order instead.