Commit Graph
115 Commits
Author SHA1 Message Date
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
Cédric Krier 444338dcd9 Update payment from charge event of payment intent
Once the payment intent is succeeded or failed, only charge events are sent.
This successful charge represents the full payment as a payment intent can have
only one successful charge.

issue8782
review264521002
2019-11-01 23:02:56 +01:00
Cédric Krier 01cc8c4b41 Ensure payment instance has the right company context
The call to save restore the context when the record was instantiated.

issue8780
review256151003
2019-11-01 23:01:43 +01:00
Cédric Krier 3715b5cee8 Create charge with token only if chargeable
issue8777
review288331002
2019-11-01 23:00:05 +01:00
Cédric Krier 4f0ffbdc2e Do not create payment intent if it already exists
issue8778
review268281002
2019-11-01 22:54:50 +01:00
Cédric Krier 2f837bb4ec Do not fail to render checkout html if there is no payment_method 2019-10-26 18:26:21 +02:00
Cédric Krier 0c55c3e698 Manage Setup Intent and Payment Intent
issue8456
review254141002
2019-10-10 18:45:36 +02:00
Cédric Krier 4dfa033bfa Add expand on tree view
and unify layout of form view.

issue8644
review262131002
2019-09-28 23:59:08 +02:00
Cédric Krier 73df5ce0b8 Remove _event argument when calling webhook_source_failed
This argument does not exist on webhook_source_failed.

issue8647
review252111337
2019-09-12 22:58:57 +02:00
Sergi Almacellas Abellana bc29ae4380 Use grouped attribute on message.xml
issue8556
review272001002
2019-08-09 16:33:57 +02:00
Cédric Krier fd756161aa Correct signing secret link in README rst 2019-08-01 23:28:27 +02:00
Cédric Krier dfb1f74958 Support charge.expired webhook event
issue8455
review257651004
2019-07-22 23:58:15 +02:00
Cédric Krier 8d7fa04db2 Use clear cache after a commit
issue8449
review251651002
2019-07-08 21:18:18 +02:00
Cédric Krier 2bcc086bfd Increase version number 2019-05-06 14:57:35 +02:00
Cédric Krier 1293b6098c Added tag 5.2.0 for changeset f40da3a0f2f0 2019-05-06 14:57:26 +02:00
Cédric Krier c6f05b05b2 Prepare release 5.2.0 2019-05-06 14:57:26 +02:00
Cédric Krier 8099bdf7ce Update translations 2019-05-01 18:05:23 +02:00
Cédric Krier e1681f05b5 Add Finnish
issue7237
review44951002
2019-05-01 16:38:55 +02:00
Cédric Krier 7556f1ef87 Add Turkish
issue6745
review48261002
2019-05-01 16:18:47 +02:00
Cédric Krier cfd474c829 Search cron by method name
issue8201
2019-04-12 16:48:49 +02:00
Cédric Krier ffffb8296f Simplify cron
issue8201
issue6117
issue2286
2019-04-12 15:59:24 +02:00
Cédric Krier 4c2025e527 Add cache for sources
issue8247
review265221002
2019-04-11 18:50:54 +02:00
Cédric Krier 2996322a23 Fix meaning of msg_stripe_receivable
The meaning of the message was mistakenly changed by changeset a8550d684cac.

issue8121
review279131002
2019-04-08 10:18:49 +02:00
Cédric Krier 80874abb1c Drop support of python 3.4
issue8203
review279171002
2019-04-07 19:50:02 +02:00
Cédric Krier 7e7cdc0728 Merge README and doc and remove INSTALL
issue7397
review253271002
2019-04-06 17:38:55 +02:00
Cédric Krier d3ef98eafe Add setter to stripe_customer_source and write stripe_token in scenario
Since issue7985, Function fields must have a setter method if they are not
read only. And proteus does not save anymore readonly fields.
2019-03-31 13:31:29 +02:00
Cédric Krier 8f3fea326b Update links in package description
issue7921
2019-03-31 00:15:09 +01:00
Cédric Krier 1112787574 Use find_packages to discover packages
issue7963
review253111002
2019-03-22 15:33:43 +01:00