con2 / con2/kompassi

When an order has zero price, mark it as paid immediately when created

Open
#770 1 comment 0 reactions 0 assignees View on GitHub
python
Dominant language
Python
Stars
29
Forks
33
Avg merge
1d 22h
Merged PRs (30d)
19

Description

There is a NullProvider that (only) supports orders with zero price. Direct zero price orders to that no matter what `event.provider` says.

Remember to update both implementations of `create_order`:

* [ ] `tickets_v2/optimized_server/models/order.py`
* [ ] `tickets_v2/utils/create_order.py`

While setting `cached_status` _might_ be enough, there is an inherent assumption that payment information is always conveyed by `PaymentStamp`s, so better make one.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.