Commit Graph

39 Commits

Author SHA1 Message Date
Raphael Michel
1d2d9d8b99 PayPal: Event-independent webhooks 2017-07-23 12:38:41 +02:00
Raphael Michel
8123effa65 Add sub-events and relative date settings (#503)
* Data model

* little crud

* SubEventItemForm etc

* Drop SubEventItem.active, quota editor

* Fix failing tests

* First frontend stuff

* Addons form stuff

* Quota calculation

* net price display on EventIndex

* Add tests, solve some bugs

* Correct quota selection in more places, consolidate pricing logic

* Fix failing quota tests

* Fix TypeError

* Add tests for checkout

* Fixed a bug in QuotaForm

* Prevent immutable cart if a quota was removed from an item

* Add tests for pricing

* Handle waiting list

* Filter in check-in list

* Fixed import lost in rebase

* Fix waiting list widget

* Voucher management

* Voucher redemption

* Fix broken tests

* Add subevents to OrderChangeManager

* Create a subevent during event creation

* Fix bulk voucher creation

* Introduce subevent.active

* Copy from for subevents

* Show active in list

* ICal download for subevents

* Check start and end of presale

* Failing tests / show cart logic

* Test

* Rebase migrations

* REST API integration of sub-events

* Integrate quota calculation into the traditional quota form

* Make subevent argument to add_position optional

* Log-display foo

* pretixdroid and subevents

* Filter by subevent

* Add more tests

* Some mor tests

* Rebase fixes

* More tests

* Relative dates

* Restrict selection in relative datetime widgets

* Filter subevent list

* Re-label has_subevents

* Rebase fixes, subevents in calendar view

* Performance and caching issues

* Refactor calendar templates

* Permission tests

* Calendar fixes and month selection

* subevent selection

* Rename subevents to dates

* Add tests for calendar views
2017-07-11 13:56:00 +02:00
Raphael Michel
394c206133 Link PayPal and Stripe documentation in the respective forms 2017-05-02 19:07:19 +02:00
Jakob Schnell
c251a48e31 Fix #248 -- Failed Payment error handling (#333)
* [WIP] Failed Payment error handling

When finished, this should fix #248

* rename PaymentFailedException to PaymentException\nimported Exception where neccessary

* comments fixed

* minor style fixes

* Fixed a name error
2017-02-24 14:11:41 +01:00
Raphael Michel
2d370aaf5a Refresh order after PayPal call 2017-02-03 12:37:07 +01:00
Raphael Michel
cd61c0833d More safety against duplicate PayPal payments 2017-02-01 18:40:27 +01:00
Raphael Michel
221526c979 Prevent duplicate payment confirmation mails 2017-01-22 17:46:56 +01:00
Raphael Michel
b23d95b6c3 Fix #74 -- Warn if quota exceeds after payment 2017-01-04 19:19:58 +01:00
Raphael Michel
847997ea9b Fix #32 -- Add a PayPal webhook listener 2017-01-04 16:45:57 +01:00
Raphael Michel
d698313f1d Do not allow initiating stripe/paypal payments after the last payment
date
2016-12-23 13:29:41 +01:00
Raphael Michel
982a622e88 Improve PayPal item texts 2016-11-29 17:05:07 +01:00
Raphael Michel
82b68bf7e0 Fix #304 -- Send consistent metadata to PayPal 2016-11-29 16:50:37 +01:00
Raphael Michel
2efde1669d PayPal: Refactor callback view 2016-11-29 16:33:27 +01:00
Tobias Kunze
d13198167a Fix #275 -- Pass user executing a refund (for logging) (#287)
Except when triggered by a webhook.
2016-10-27 14:59:35 +02:00
Raphael Michel
022e02d913 Fix #177 - Allow to change the payment method 2016-08-31 19:54:45 +02:00
Tobias Kunze
3c8f9f5a62 Catch and display mail sending errors (#215) 2016-08-30 16:49:52 +02:00
Raphael Michel
bc0c171921 Use native payment retrials for PayPal (fixes #33) 2016-03-10 15:58:14 +01:00
Raphael Michel
cbc8ea44cc Fixed bugs in the PayPal implementation 2016-03-10 15:57:47 +01:00
Raphael Michel
58b85819bc Added logging for all basic operations 2015-12-12 22:53:11 +01:00
Raphael Michel
d133d2abff Removed CleanerVersion layer [backwards-incompatible!] 2015-12-12 13:08:33 +01:00
Raphael Michel
3fa0cfb077 Added multi-domain capabilities 2015-10-18 14:01:28 +02:00
Raphael Michel
c4638a3402 Enabled asynchronous cart/order actions 2015-10-05 11:33:53 +02:00
Raphael Michel
e828d711bd Used isort to order all import statements 2015-07-19 20:46:34 +02:00
Raphael Michel
ae5eab628c Refs #74 -- Hide retry button if the ticket is sold out 2015-06-25 19:25:55 +02:00
Raphael Michel
f04c43abdc Refs #33 -- Added UI and Stripe support for retrying failed payments 2015-06-25 15:50:46 +02:00
Raphael Michel
224eaeee48 PayPal: Fixed URL names and exception handling 2015-06-24 17:18:28 +02:00
Raphael Michel
8b3eb14d73 Fixed script prefixes in absolute URLs 2015-06-18 15:35:11 +02:00
Raphael Michel
7f6e89213f Fixed #71 -- Consistent building of absolute URIs 2015-06-16 23:04:10 +02:00
Raphael Michel
fc907a2ec7 Refactor mark_paid out of models 2015-06-03 13:59:12 +02:00
Raphael Michel
d981998a40 Proper namespaces for plugin URLs 2015-04-16 09:35:18 +02:00
Raphael Michel
df524f31d5 Properly implement quota handling when receiving payments (closes #11) 2015-04-14 16:20:05 +02:00
Raphael Michel
6d73267912 Refund process (closes #26) 2015-04-06 16:23:51 +02:00
Raphael Michel
320fd78a62 Proper support for required fields in payment provider settings
Closes #22
2015-04-06 13:30:08 +02:00
Raphael Michel
8a81d4859d The use of Context is deprecated since Django 1.8 2015-04-01 09:23:37 +02:00
Raphael Michel
5664177bbb Order details: Display payment information 2015-03-20 23:20:12 +01:00
Raphael Michel
13f88346d4 Documentation for the payment provider plugin API 2015-03-15 19:48:42 +01:00
Raphael Michel
41f816388b Re-work API for payment settings fields 2015-03-15 19:02:38 +01:00
Raphael Michel
b8d9e6e295 PayPal: Proper configuration 2015-03-15 17:37:05 +01:00
Raphael Michel
a67e09215b Add payment provider PayPal 2015-03-15 17:33:50 +01:00