-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fixes the broken order flow #5951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes the broken order flow #5951
Conversation
app/api/orders.py
Outdated
| elif current_user.id == order.user_id: | ||
| if order.status != 'pending': | ||
| print(order.status) | ||
| if order.status != 'initializing': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is again wrong. Pending orders can be updated. Users can pay and complete them.
Codecov Report
@@ Coverage Diff @@
## development #5951 +/- ##
===========================================
Coverage 66.4% 66.4%
===========================================
Files 285 285
Lines 13893 13893
===========================================
Hits 9225 9225
Misses 4668 4668
Continue to review full report at Codecov.
|
|
@CosmicCoder96 I've tried ordering a ticket -
However, when I tried to click on |
|
It wasn’t present before. Maybe the PR which updated the dependencies
caused this. Either way please open an issue on FE to fix this. The library
might have changed after upgrade.
…On Fri, 24 May 2019 at 1:49 PM, Shreyansh Dwivedi ***@***.***> wrote:
@CosmicCoder96 <https://github.com/CosmicCoder96> I've tried ordering a
ticket -
- paid and free tickets for logged in user
- paid and free tickets for non-guest logged out user
- paid and free tickets for guest user
However, when I tried to click on Pay via card from non-superadmin
account, nothing happened and an error appeared on console - Error:
[ember-cli-stripe] Missing required key param. Don't know if this issue
was present earlier or not.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5951?email_source=notifications&email_token=AEDUDRMPHM6JHPIGP22P2M3PW6FYRA5CNFSM4HPMN3GKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWEKDSQ#issuecomment-495493578>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEDUDRIFQ7DIYCQLVUB3F63PW6FYRANCNFSM4HPMN3GA>
.
|
|
Need to merge this urgently to find out other broken things. |
Fixes fossasia/open-event-frontend#2994
Checklist
developmentbranch.Short description of what this resolves:
Currently, order flow is broken due to one of the recent merged PR.