Describe the bug
Under certain circumstances, the payment checkout is skipped, and paid tickets are issued without charging money
To Reproduce
Environment: backend 1.3.0 + frontend 1.1.0.
Browsers used: Safari and Chrome on OS/X
Steps to reproduce the behaviour:
Expected behaviour
Give the user an error. e.g. that the payment processor couldn't be reached.
Additional detail:
You're very welcome to register on my staging server and reproduce it there:
https://open-event-server.casapu.pro/ or deploy a compatible environment from: https://github.com/yitzikc/open-event-integration
Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
I explored the issue and its possible fixes. I found few things -
@iamareebjamal should I start with this approach?
Thanks for the quick response! I believe the issue could be broader and affect PayPal as well, although I haven't finalised the PayPal setup so I'm not sure about that.
@shreyanshdwivedi This should be mostly handled on server without any complex check. Before issuing any paid ticket, simply check the payment mode and use the API stripe/paypal to confirm that the payment has actually been made.
@yitzikc can you please add a gif or screenshot of the page you are finally getting to
I can later (tonight your time). In the meantime you're very much invited to try this use-case on my staging site, at the link I provided in the ticket.
Thanks. Have checked it out on your site. Saw your error
Will work on the fix right away