Commit Graph

51 Commits

Author SHA1 Message Date
Raphael Michel
efbddc2486 Log failed payments 2018-10-01 13:48:47 +02:00
Raphael Michel
be3b890e2f PayPal error handling 2018-08-16 09:36:16 +02:00
Raphael Michel
18a378976b Fix #571 -- Partial payments and refunds 2018-08-06 12:24:36 +02:00
Raphael Michel
7bccd62a4f Fix #678 -- Data shredders for personally identifiable information (#817)
* Add data shredders for PII

* First working shredder

* Add more shredders

* Add new shredders and download confirmation

* tmp

* PayPal, Stripe, banktransfer

* Add icon to logs

* Untested payment log shredders

* Add waiting list shredder

* First tests

* Add tests for shredders

* Improve templats, link to shredder

* Test payment info shredders

* More tests

* Documentation

* Fix enabled flag in payment provider overview

* Fix minor issues
2018-05-02 15:59:59 +02:00
Raphael Michel
c9f9668e52 PayPal: Fix support for CLP 2018-04-11 13:03:01 +02:00
Raphael Michel
3a7e0da80b Backend UX: Restructure payment settings 2018-03-24 18:18:28 +01:00
Raphael Michel
3c3e59e932 Refs #99 -- Improve support for currencies with less than 2 decimal places (#783)
* Refs #99 -- Fix stripe support for zero-decimal currencies

* Add new money formatting method

* Force decimal places in many places

* Locale-aware currency rendering

* Fix currencies in more places

* More currency fixes
2018-02-26 10:46:07 +01:00
Jakob Schnell
9ab39904e8 Implement automatic spell-check for docs (#688)
* [WIP] Implement automatic spell-check for docs

fixes #663

The only thing unclear to me so far is how the output of `make spelling`
should be checked - is there a possibility to check for a file (i.e.
`_build/spelling/output.txt`) to be empty, and report a failed build
otherwise?

* fix typo in requirements.txt

* add enchant library

* travis should report errors, order spelling wordlist

* change travis.yml to easier troubleshoot build issues

* fixed more typos, added more words

* add more words, fix more typos

* added more words

* added more words

* revert changes to .travis.yml
2017-12-11 11:41:59 +01:00
Tobias Kunze
e7f38abd77 Use rel="noopener" with target="_blank". (#682)
Required reading: https://mathiasbynens.github.io/rel-noopener/
2017-11-13 18:52:15 +01:00
Raphael Michel
184c91cfbc Catch PaymentException on paypal return view 2017-11-01 21:28:19 +01:00
Raphael Michel
9767243a6d Fix #277 -- Embeddable shop (#622)
* Vendor vue.js

* Refactor item_group_by_category to support vouchers

* Widget: Show product list

* Widget: free prices

* Widget: pictures and loading indicator

* Widget: First iframe steps

* Widget: Do not rerender iframe

* Widget: Error handling

* Improve widget

* Widget: localization tech

* Fix invoice style

* Voucher attribute and waiting list

* Add some iframe chrome

* First step to namespaced carts

* More isolation steps

* More cart isolation things

* More cart isolation things

* Mobile stuff

* Show cart on checkout pages

* PayPal and Stripe support

* Enable downloads

* Locale handling

* change text "save URL to this exact page"

* Widget: voucher redemption

* Widget: CSS

* CSS: Responsive

* Widget: CSS improvements

* Widget: Add embedding code generator

* Widget: Error messages and SSL check

* First tests

* Widget: tests

* Don't use IDs in widgets

* Widget: static files caching
2017-10-28 21:54:27 +02:00
Raphael Michel
92d4566a54 Make stripe refund call optional, add request parameter to order_control_refund_render 2017-07-25 16:11:42 +02:00
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