-
Notifications
You must be signed in to change notification settings - Fork 551
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
Do not open tickets if the order status is not completed #2077
Comments
@liveHarshit I would like to work on this issue. |
Please go ahead. Also, we assign one issue at a time. For reference #1932 |
@liveHarshit I will work on this issue first. |
@liveHarshit Can you describe a little what exactly needs to happen? |
In the tickets section, order status is displaying for tickets. Sometimes an order is pending(due to incomplete payment), then instead of opening ticket details, it should redirect for payment. And for another status (canceled or expire), only a message should display. |
From order fragment and order under user view model. |
I am unable to create a pending order, need help |
Also every time I am trying to create order...snackbar appears with a message "unable to create order". |
@tusharr-98 Are you still working on this issue? |
@rob729 are you able to create Order ?? |
@liveHarshit help needed |
yes? |
@liveHarshit I am unable to create pending order |
You are a developer, not a user. We need more information like the logs and server endpoint, request and response of the failing call |
I mean what i have to do to create a pending order. I have gone through the code but cannot figure it out. |
Use API or frontend |
I'll work on this and do it. |
@nikit19 @liveHarshit @iamareebjamal I am not able to create a pending order. Can you please help me in creating one? |
Create order, do not make payment. |
I am getting "error in fetching tickets" error. Logs:- What could be the possible reason for this error? |
@dheerajkotwani Are you facing this issue?
|
while opening ticket it is giving error |
Can't help unless you give request URL and response |
https://open-event-api-dev.herokuapp.com/v1/events/126/tickets?include=event&fields {"data": [{"type": "ticket", "attributes": {"is-fee-absorbed": true, "min-price": 1.0, "min-order": 1, "price": 0.0, "is-checkin-restricted": true, "max-order": 10, "deleted-at": null, "position": 1, "max-price": 0.0, "type": "free", "sales-starts-at": "2020-01-14T13:03:49.335000+00:00", "is-description-visible": true, "name": "free2", "sales-ends-at": "2020-02-12T18:30:00+00:00", "auto-checkin-enabled": false, "description": null, "quantity": 50, "is-hidden": false}, "relationships": {"access-codes": {"links": {"self": "/v1/tickets/131/relationships/access-codes", "related": "/v1/tickets/131/access-codes"}}, "event": {"links": {"self": "/v1/tickets/131/relationships/event", "related": "/v1/tickets/131/event"}, "data": {"type": "event", "id": "126"}}, "attendees": {"links": {"self": "/v1/tickets/131/relationships/attendees", "related": "/v1/attendees?ticket_id=131"}}, "ticket-tags": {"links": {"self": "/v1/tickets/131/relationships/ticket-tags", "related": "/v1/tickets/131/ticket-tags"}}, "discount-codes": {"links": {"self": "/v1/tickets/131/relationships/discount-codes", "related": "/v1/tickets/131/discount-codes"}}}, "id": "131", "links": {"self": "/v1/tickets/131"}}, {"type": "ticket", "attributes": {"is-fee-absorbed": true, "min-price": 1.0, "min-order": 1, "price": 0.0, "is-checkin-restricted": true, "max-order": 10, "deleted-at": null, "position": 0, "max-price": 0.0, "type": "free", "sales-starts-at": "2020-01-13T16:30:14.088000+00:00", "is-description-visible": true, "name": "free", "sales-ends-at": "2020-02-12T18:30:00+00:00", "auto-checkin-enabled": false, "description": null, "quantity": 10, "is-hidden": false}, "relationships": {"access-codes": {"links": {"self": "/v1/tickets/128/relationships/access-codes", "related": "/v1/tickets/128/access-codes"}}, "event": {"links": {"self": "/v1/tickets/128/relationships/event", "related": "/v1/tickets/128/event"}, "data": {"type": "event", "id": "126"}}, "attendees": {"links": {"self": "/v1/tickets/128/relationships/attendees", "related": "/v1/attendees?ticket_id=128"}}, "ticket-tags": {"links": {"self": "/v1/tickets/128/relationships/ticket-tags", "related": "/v1/tickets/128/ticket-tags"}}, "discount-codes": {"links": {"self": "/v1/tickets/128/relationships/discount-codes", "related": "/v1/tickets/128/discount-codes"}}}, "id": "128", "links": {"self": "/v1/tickets/128"}}], "included": [{"type": "event", "id": "126", "links": {"self": "/v1/events/126"}}], "links": {"self": "/v1/events/126/tickets?include=event&fields%5Bevent%5D=id&page%5Bsize%5D=0"}, "meta": {"count": 2}, "jsonapi": {"version": "1.0"}} |
The URL is invalid |
Revert jsonapi-converter to previous version and see if it is working |
Add this DeserializationFeature to true - ALLOW_UNKNOWN_TYPE_IN_RELATIONSHIP |
Reverting the dependency worked |
It's better if you use ALLOW_UNKNOWN_TYPE_IN_RELATIONSHIP |
unable to resolve, how to use this |
@iamareebjamal Can you please tell me in which file this change has to be made? |
Read the docs of the library |
Describe the bug
Currently, tickets are fetching if the order status is incompleted.
Would you like to work on the issue?
Open for all
The text was updated successfully, but these errors were encountered: