Commit Graph
142 Commits
Author SHA1 Message Date
Cédric Krier f52d94ccbb Allow distinct FROM addresses for envelope and header
issue9948
review324741004
2021-02-03 23:26:07 +01:00
Cédric Krier a1e56225c4 Add preferred locales and update Stripe Customer
The Stripe Customer is updated each time the party is modified in such way that
the parameters are also changed. We do not manage any retry on the update
because it is just a best effort.

issue9887
review305021002
2020-12-26 23:55:17 +01:00
Cédric Krier 3482ad3411 Add support for Python 3.9
issue9685
2020-12-19 17:08:44 +01:00
David Harper d20225829c Test long_description using twine check
issue9781
review337181002
2020-12-15 11:42:55 +00:00
Cédric Krier 41e3c91019 Manage local version in tox and do not set local_version when no CI
issue9928
2020-12-11 13:51:51 +01:00
Cédric Krier 77844c98f8 Add support for local_version on trydevpi.tryton.org
issue9928
2020-12-10 23:05:55 +01:00
Cédric Krier 2dc1efd4a2 Do not depend on context for cache of customer payment methods
issue9747
review292541002
2020-11-12 21:56:17 +01:00
Cédric Krier bb19b99fd7 Increase version number 2020-11-02 15:47:11 +01:00
Cédric Krier 9e6a3f5711 Add tag 5.8.0 [skip ci] 2020-11-02 15:47:02 +01:00
Cédric Krier 09776925c1 Prepare release 5.8.0 [skip ci] 2020-11-02 15:47:02 +01:00
Cédric Krier 0138e658ee Update translations [skip ci] 2020-10-31 12:14:29 +01:00
Cédric Krier 8208d5e23f Remove support for Python 3.5
issue9733
2020-10-24 13:45:10 +02:00
Cédric Krier 452fa4de88 Ignore flake8 E741 2020-10-16 19:19:57 +02:00
Cédric Krier 1637ea5f65 Restore drone secrets to tox environment
They were wrongly removed by issue8866
2020-10-08 23:08:25 +02:00
Cédric Krier 0bc088c792 Allow going back to processing state
This allows to avoid to use the failed state when updating a succeeded payment
as specific workflow may be plugged to the fail transition.

issue9525
review302001002
2020-08-29 18:17:51 +02:00
Cédric Krier 114ce02096 Add wizard to delete customer source
issue9501
review323711002
2020-08-11 21:47:51 +02:00
Cédric Krier c181e32b21 Deduce dispute amount only if smaller than amount
The dispute amount is based on the initial amount of the charge. So if there
was already refunds that reduced the payment amount, we must not set a negative
amount.

issue9452
review290491002
2020-07-13 20:54:31 +02:00
David Harper 8189f9e341 Use Activate modules as test scenario section name
issue9395
review291901002
2020-07-09 10:21:06 +01:00
Cédric Krier e0c3022953 Add model, record and records attribute on Wizard
issue9421
review309861012
2020-07-07 23:56:09 +02:00
Cédric Krier ea3a458d2a Add webhook for payment intent canceled
issue9387
review295711002
2020-06-19 00:31:20 +02:00
Cédric Krier f0f35b0a20 Allow to charge on-session
issue9375
review299791002
2020-06-19 00:29:55 +02:00
Cédric Krier d45fffb15b Use proper event names when logging for payment not found 2020-06-03 17:36:17 +02:00
Cédric Krier d566b0aa1c Replace form by link in email
Using form in email raises warnings on most client.

issue9273
review321271002
2020-05-19 18:52:22 +02:00
Cédric Krier 7b9d44b9e3 Increase version number 2020-05-04 12:11:10 +02:00
Cédric Krier 984d0e9fb6 Add tag 5.6.0 [skip ci] 2020-05-04 12:11:00 +02:00
Cédric Krier b68e6cbf27 Prepare release 5.6.0 [skip ci] 2020-05-04 12:11:00 +02:00
Cédric Krier 16408f9ca8 Update translations 2020-05-02 10:29:23 +02:00
Cédric Krier 7495505515 Set non-durable setting for postgresql testing service
issue9100
review286831003
2020-04-25 23:53:50 +02:00
Cédric Krier 2798c66395 Add configuration for max_network_retries
issue9118
review256691003
2020-04-11 00:26:18 +02:00
Cédric Krier abee351300 Add refund of payment
issue9177
review286911002
2020-04-11 00:22:48 +02:00
Cédric Krier e1e2eaa572 Add some extra time to Stripe
Add 1 second to Stripe to process the request before fetching new events.

issue9184
review319071002
2020-04-01 23:53:38 +02:00
Sergi Almacellas Abellana 89bac36ac7 Add support for python3.8
issue8866
review274421004
2020-03-19 19:00:47 +01:00
Cédric Krier 1c12574b55 Always set error code
and set param for all exception with param code.

issue9119
review278691005
2020-03-17 23:19:20 +01:00
Cédric Krier 7f61d4c6c7 Set auth-method to trust for drone build
issue9063
2020-03-01 16:12:38 +01:00
Cédric Krier 64accb375a Fix flake8 errors and warnings
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.

issue9082
review297061002
2020-03-01 12:33:51 +01:00
Cédric Krier e5113f5ae5 Set proper event name for webhook_charge_refunded 2020-02-19 22:58:26 +01:00
Cédric Krier a588b9a8da Add dependency to werkzeug
issue9055
review250671002
2020-02-19 22:55:53 +01:00
Sergi Almacellas Abellana fc826667c6 Use process method instead of stripe journal
issue8990
review260831007
2020-02-17 11:20:07 +01:00
Cédric Krier 44e0bd5e47 Retry later on some StripeError depending of the code
The code lock_timeout and token_in_use must be retried as it is an unexpected
behavior from Stripe service.
Also some calls did not catch APIConnectionError for retry.

issue8871
review270611002
2019-12-05 21:32:58 +01:00
Cédric Krier 522b6e6650 Correctly activate share extension in drone pipeline
issue8830
2019-12-04 11:09:35 +01:00
Cédric Krier ea319e8936 Replace echo with interpretation of backslash escapes by multiple commands
drone escape the echo option.

issue8830
2019-12-04 09:53:35 +01:00
Cédric Krier cd1fa7108f Use pooled storage for clone in done
issue8830
review284451002
2019-12-03 22:59:31 +01:00
Cédric Krier e2a2a9ebde Support replacing party on customer
issue8851
review252661002
2019-11-30 22:46:42 +01:00
Cédric Krier 5b8f1e4149 Add __href__ and is_secure, host and http_host to url module
This ease the composition of URL pointing to Tryton route.

issue8767
review264461005
2019-11-26 22:16:00 +01:00
Cédric Krier 88df004676 Append CI build number to package version
This makes them unique and avoid collision with the shared cache.

issue8831
review254651002
2019-11-25 21:55:20 +01:00
Cédric Krier 3d6b1170d4 Increase version number 2019-11-04 12:53:52 +01:00
Cédric Krier a7f68986d0 Added tag 5.4.0 for changeset fcc32914cc37 2019-11-04 12:53:42 +01:00
Cédric Krier d34db18647 Prepare release 5.4.0 2019-11-04 12:53:42 +01:00
Cédric Krier 332d2531bb Update translations 2019-11-02 18:07:41 +01:00
Cédric Krier d5ffa1022a Add Indonesian
issue8184
review285461002
2019-11-01 23:34:58 +01:00