Raphael Michel
3fc8e12d9a
Revert "PayPal: Migrate to Order v2 API and ISU authentication ( #2493 )"
...
This reverts commit 9af1565db1 .
2022-04-28 20:58:39 +02:00
Raphael Michel
6671d01c19
Fix typo in source string
2022-04-28 20:33:20 +02:00
Martin Gross
9af1565db1
PayPal: Migrate to Order v2 API and ISU authentication ( #2493 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2022-04-28 18:42:19 +02:00
Raphael Michel
e2adf1fdb3
Layout refresh for plugin settings page ( #2490 )
...
Co-authored-by: Richard Schreiber <schreiber@rami.io >
2022-03-21 16:42:03 +01:00
Augustin Cavalier
5bde98e349
PayPal: Fail early on invalid webhook payload ( #2528 )
...
Co-authored-by: Raphael Michel <michel@rami.io >
2022-03-17 16:50:58 +01:00
Martin Gross
9772d43235
Move PayPal postfix to end of settings list
2021-07-05 15:33:33 +02:00
Martin Gross
d04f93d45c
Revert the revertion + Fix "PayPal: Add postfix-field and pass information to custom-field"
2021-07-02 13:58:03 +02:00
Raphael Michel
ef70209ba8
Revert "PayPal: Add postfix-field and pass information to custom-field ( #2137 )"
...
This reverts commit 32f690e9d0 .
2021-07-02 13:50:01 +02:00
Martin Gross
32f690e9d0
PayPal: Add postfix-field and pass information to custom-field ( #2137 )
2021-07-02 09:44:38 +02:00
Raphael Michel
573284c480
PayPal refunds: Actively fetch sale ID if not known ( #2134 )
...
Co-authored-by: Martin Gross <gross@rami.io >
2021-06-25 11:12:52 +02:00
Raphael Michel
f19a74990f
Remove RequiredAction model ( #2078 )
2021-05-17 17:41:59 +02:00
Raphael Michel
403b8191e4
Upgrade to Django 3.2 ( #2056 )
2021-05-07 12:00:30 +02:00
Raphael Michel
a93287207b
pretix Community Edition moves to AGPLv3-based license ( #2023 )
2021-04-12 10:33:47 +02:00
Raphael Michel
33b34f31d1
Add BasePaymentProvider.payment_control_render_short and use it on refund page
2021-01-27 10:34:59 +01:00
Raphael Michel
d132cd27f3
PayPal: Do not allow refund if payment is older than 180 days
2021-01-07 17:11:03 +01:00
Martin Gross
5cc0bd5d36
Optional PayPal Reference Prefix (Z#2359330) ( #1696 )
...
* Optional PayPal Reference Prefix (Z#2359330)
* Move prefix to end
2020-06-15 18:23:01 +02:00
Raphael Michel
c992de341f
Revert "PayPal: Add additional protection against invalid sessions"
...
This reverts commit 99e02bde36 .
2020-06-14 12:29:20 +02:00
Raphael Michel
9eacd38ec7
PayPal: Improve handling of exceptions form paypalrestsdk
2020-06-12 13:21:44 +02:00
Raphael Michel
d1c96aa77c
PayPal: Remove unused session key
2020-06-12 13:21:44 +02:00
Raphael Michel
99e02bde36
PayPal: Add additional protection against invalid sessions
2020-06-12 13:21:44 +02:00
Raphael Michel
e7da2aec53
PayPal: Fix critical bug leading to wrong order being paid in a rare session constellation
2020-06-12 13:21:44 +02:00
Martin Gross
7895729c38
Do not hard fail on Unauthorized PayPal Userinfo-calls (Fixes PRETIXEU-XQ)
2020-05-29 13:48:37 +02:00
Raphael Michel
7e80ec93d5
Hide PayPal secret key in global settings
2020-04-29 11:27:38 +02:00
Raphael Michel
4ec24fc884
PayPal: Show sale ID in backend
2020-04-27 11:39:57 +02:00
Martin Gross
0783add3b9
Restrict PayPal plugin to supported PayPal currencies ( Fix : #1160 )
2020-04-17 18:56:00 +02:00
Martin Gross
5400d26c60
Log the reason for failed PayPal refunds
2020-04-17 12:02:43 +02:00
Raphael Michel
a1caa65776
Revert "Upgrade jQuery version (but keep old one around for now for plugins)"
...
We've got to many instances of this around:
https://stackoverflow.com/questions/38871753/uncaught-typeerror-a-indexof-is-not-a-function-error-when-opening-new-foundat
This reverts commit cc46d55f5e .
2020-04-02 16:42:54 +02:00
Raphael Michel
cc46d55f5e
Upgrade jQuery version (but keep old one around for now for plugins)
2020-04-01 16:06:46 +02:00
Raphael Michel
af23d6e4bf
Upgrade to Django 3.0 and other dependencies ( #1568 )
...
* Upgrade Django to 3.0 and other dependencies to recent versions
* Fix otp version contsraint
* Remove six dependency
* Resolve some warnings
* Fix failing tests
* Update django-countries
* Resolve all RemovedInDjango31Warnings in test suite
* Run isort
* Fix import
* Update PostgreSQL version on travis
2020-03-23 15:02:20 +01:00
Raphael Michel
f484eb65df
PayPal: Do not crash on failed refund
2020-03-22 11:04:51 +01:00
Raphael Michel
af84354e51
Resolve some warnings in the test suite
2020-03-09 14:57:19 +01:00
Raphael Michel
162b7c1b52
Fixed subsequent issue with failed paypal payments
2020-02-14 14:22:05 +01:00
Raphael Michel
755f3d53b6
Fix issue with failed paypal payments
2020-02-14 13:24:18 +01:00
Raphael Michel
bb5c7c5ad7
Re-introduce plugin categories
2020-02-08 12:38:43 +01:00
Raphael Michel
9984fe97ba
Add OrderPayment.fail() to prevent race conditions ( #1572 )
2020-02-07 09:00:35 +01:00
Raphael Michel
889dd651ef
Add BasePaymentProvider.matching_id()
2020-01-27 21:46:36 +01:00
Martin Gross
2a9c105e51
PayPal: Show payment ID on paid invoices ( #1471 )
...
* Always call render_invoice_text - even if order is already paid
* Print PayPal payment ID on invoice if available and invoice is paid
* Also display Sale ID on invoice
* try/except for paymentId/SaleId
2019-10-30 10:48:15 +01:00
Raphael Michel
aa99dbc830
Add payment provider specific details to the API
2019-08-30 17:04:22 +02:00
Martin Gross
bf54222cac
Handle PayPal-declines if organizer-account is blocked by risk
2019-08-05 12:16:29 +02:00
Martin Gross
34d1fcf077
Add PayPal-Partner-Attribution-Id to PayPal API-Calls
2019-07-26 10:59:57 +02:00
Raphael Michel
93cca34eab
PayPal: Add scopes decorator to oauth_return
2019-06-20 19:29:23 +02:00
Raphael Michel
d85ddb5bda
Integrate django-scopes ( #1319 )
...
* Install django-scopes
* Fix tests.api
* Update tasks and cronjobs
* Fix remaining tests
* Remove unused import
* Fix tests after rebase
* Disable scopes for get_Events_with_any_permission
* Disable scopes for a management command
2019-06-17 10:46:55 +02:00
Raphael Michel
87c7a3d26f
PayPal: Even a canceled payment can still succeed
2019-03-08 11:33:03 +01:00
Raphael Michel
67059fe323
Add a simple test mode ( #1181 )
...
- [x] Provide data model and configuration toggle
- [x] Allow to delete individual test orders
- [x] Add tests
- [x] Add a prominent warning message to the backend if test mode orders exist (even though test mode is off), as this leads to wrong statistics
- [x] Decide if and how to generate invoices for test orders as invoice numbers cannot be repeated or should not have gaps.
- [x] Decide if and how we expose test orders through the API, since our difference pull mechanism relies on the fact that orders cannot be deleted.
- [x] Decide if and how we want to couple test modes of payment providers?
- [ ] pretix.eu: Ignore test orders for billing
- [ ] Adjust payment providers: Mollie, bitpay, cash, fakepayment, sepadebit

2019-02-20 17:51:26 +01:00
Raphael Michel
2d8b3d1c79
PayPal: Fix backwards compatibility
2019-01-02 09:20:35 +01:00
Raphael Michel
cf01e04101
PayPal: Improve log display
2018-11-21 11:24:44 +01:00
Martin Gross
a3a63def55
Fix #369 -- Connect with PayPal ( #1084 )
...
* Connect with PayPal
* PayPal connect code-review fixes
* PayPal Connect: Global Env selection; Fix for payee-dict
* Fix missing PayPal Connect indicator for Endpoint
* Fix backwards compatibility
2018-11-21 11:14:33 +01:00
Raphael Michel
a3489eea04
PayPal: Properly detect pending sales
2018-11-21 11:14:03 +01:00
Raphael Michel
863165caaa
Gracefully handle PayPal exceptions
2018-10-31 15:21:26 +01:00
Raphael Michel
0787adcb8e
Fix AttributeError in paypal module
2018-10-02 17:12:26 +02:00