Commit Graph
53 Commits
Author SHA1 Message Date
Cédric Krier 7597c9039f Increase version number
--HG--
branch : 7.0
2024-08-01 22:04:21 +02:00
Cédric Krier 7d9e3f5dc2 Prepare release account_payment_stripe-7.0.4
--HG--
branch : 7.0
2024-08-01 22:04:12 +02:00
Cédric Krier dc8f9d64da Update payment using stripe charge object on refund failure
The refund may fail after the charge.refunded has been triggered.

Closes #13355
(grafted from 024ca55cf0ab1b9eda456dce7db62b652d20b2c5)

--HG--
branch : 7.0
2024-06-27 17:32:22 +02:00
Cédric Krier 7e43496f48 Add property to retrieve stripe charge object
(grafted from 9115d7e49c6c4cdb60a2d9c6b72da1dcd6452b7e)

--HG--
branch : 7.0
2024-06-21 14:16:32 +02:00
Cédric Krier a6d9f4dca3 Allow stripe refund to transition from succeeded to failed
For asynchronous charge the refund may fail after being succeeded.

#13355
(grafted from 7e6e4b67e5284df713a1022cba6a457d88e7e281)

--HG--
branch : 7.0
2024-06-21 14:26:49 +02:00
Cédric Krier 30c158ba82 Do not always update stripe amount with amount received on payment intent succeeded
The amount received is never updated once the payment intent has been created.
So we should update the payment amount only if the amount received is less
because the payment amount may have been already reduced by refunds.

#13355
(grafted from 68c907791977a33d228077bcf2c0f1acbb4fcb3f)

--HG--
branch : 7.0
2024-06-21 14:19:20 +02:00
Cédric Krier b3fedde0dc Increase version number
--HG--
branch : 7.0
2024-04-17 12:42:12 +02:00
Cédric Krier 47b7a31e07 Prepare release account_payment_stripe-7.0.3
--HG--
branch : 7.0
2024-04-17 12:42:03 +02:00
Cédric Krier e8794458f1 Fix typo when processing refund on charge refund updated webhook from Stripe
Closes #13137
(grafted from 97365472565f7863c23a576e7d1eaf92f78ef0d0)

--HG--
branch : 7.0
2024-03-27 19:38:52 +01:00
Cédric Krier c4d4951525 Remove readthedocs
(grafted from 2f67994e59b0bca29d7b0632a51540774b109140)

--HG--
branch : 7.0
2024-02-18 18:35:54 +01:00
Cédric Krier a5c03e9717 Increase version number
--HG--
branch : 7.0
2024-03-03 13:25:53 +01:00
Cédric Krier d4f807e8df Prepare release account_payment_stripe-7.0.2
--HG--
branch : 7.0
2024-03-03 13:25:45 +01:00
Cédric Krier 4ef1675faf Increase maximal number of retries in test scenario
When many scenario are run with the same account in parallel, the processing
time of Stripe can increase a lot so we need to wait longer.
(grafted from f199648a5965ac38dbcebf9205b3527b5dcffea5)

--HG--
branch : 7.0
2024-02-20 11:28:45 +01:00
Cédric Krier 5a483de1b3 Format direct debit name of Stripe payment method
Closes #12990
(grafted from a92e0525c8a8dd570e6b4bca38e8f8ad7097c641)

--HG--
branch : 7.0
2024-02-02 19:52:35 +01:00
Cédric Krier a29ced8303 Return all Stripe payment methods instead of only card
Closes #12990
(grafted from c14c04f42a434770cfb93310b0ffd15e8335b4d4)

--HG--
branch : 7.0
2024-02-02 19:51:34 +01:00
Cédric Krier f424227dce Wait for dispute status change in Stripe scenario
Closes #12221
(grafted from f733b75a83da63df017c55517a73c9de9895e99c)

--HG--
branch : 7.0
2024-02-03 16:12:12 +01:00
Cédric Krier b4a2d88346 Increase version number
--HG--
branch : 7.0
2024-02-03 12:30:12 +01:00
Cédric Krier 260b7d87a3 Prepare release account_payment_stripe-7.0.1
--HG--
branch : 7.0
2024-02-03 12:30:02 +01:00
Cédric Krier 7103966e82 Wait until the expected result is fetched in Stripe test scenario
Closes #12221
(grafted from 308c41a979f1ed1ffdd713f2dd00a729c902bb0d)

--HG--
branch : 7.0
2023-12-02 12:02:10 +01:00
Cédric Krier 6c91d493b6 Increase version number
--HG--
branch : 7.0
2023-10-30 18:49:03 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 2d88ad118c Use explicit Stripe API version
Since Stripe v6 the API version is set by the library instead of using the
configured default.

Closes #12641
2023-10-12 20:26:35 +02:00
Cédric Krier 96a24bcaf6 Remove extra button group access
Since ab05d05bb811 there is no need to have access defined on button if they
are the same as the write access on the model.

Closes #12578
2023-09-20 09:45:20 +02:00
Cédric Krier 70ebb98abb Replace payment wizard confirmation by button
A button is easier for the user to discover than a keyword action.
There is a small risk that user does not group the processing of payments but
it existed also wizard the keyword action and it is compensated largely by the
benefit of discoverability.
2023-08-04 18:29:30 +02:00
Cédric Krier 8a38e435fc Set a return url when confirming setup intent in test scenario
A return URL is now required if the payment methods do not disable it.

Closes #12509
2023-09-04 23:38:57 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier 1aa704e18f Update link to signing secret documentation of Stripe
Closes #12442
2023-08-01 09:07:01 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00
Adrià Tarroja Caubet 960c220329 Remove migrations previous to 5.0
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier 1a11e103bf Increase version number 2023-05-01 14:11:22 +02:00
Cédric Krier 1901135502 Prepare release 6.8.0 2023-05-01 13:19:11 +02:00
Cédric Krier 84a2b5e271 Update translations 2023-04-29 10:07:40 +02:00
Cédric Krier b9c4b8230d Return instance in on_change_with methods 2023-03-26 09:49:00 +02:00
Cédric Krier 5cc5a8f672 Update tox.ini to set py311 and remove py37 2023-03-03 00:17:18 +01:00
Cédric Krier 084c74f268 Always sleep before fetching new Stripe events in scenario
Closes #12100
2023-02-17 23:58:19 +01:00
Cédric Krier d000dc17e8 Fetch new Stripe events until being exhausted
#12100
2023-02-17 23:57:45 +01:00
Nicolas Évrard 039761e061 Remove support for Python 3.7 2023-01-29 20:36:51 +01:00
Nicolas Évrard 777ee10f27 Add support for Python 3.11 2023-01-27 11:02:47 +01:00
Cédric Krier 68753ff402 Run action from button with proteus 2023-01-17 14:39:18 +01:00
Cédric Krier a228bb153b Cancel Stripe Setup Intent using the right id
Closes #12031
2023-01-23 16:24:14 +01:00
Cédric Krier 4683fde7ac Make scenario independent of the current day
The fiscal years are created centered on the passed date such that if the
current day change during the execution, the fiscal year is still usable.
Also fiscal year can be created for a range of dates such that it is guarantee
that the dates are in the fiscal year.
And finally remove datetime and dateutil import when they are not used.

Closes #9977
2023-01-01 10:36:03 +01:00
Cédric Krier 2b786d8c44 Add coverage reports 2023-01-08 11:18:56 +01:00
Cédric Krier 62e8201d5a Add unit test reports 2023-01-08 01:55:20 +01:00
Cédric Krier 5f8b891f62 Increase verbosity of tox 2022-12-28 00:26:31 +01:00
Cédric Krier 2327f6489c Remove direct dependency to Werkzeug
Closes #11407
2022-12-31 00:05:40 +01:00
Cédric Krier 98cbb23f58 Improve setup.py
get_required_version does not need to use .dev0 suffix anymore.
The download URL must be empty for development version.
Source Code must point to Heptapod repository.
Foundation email is used as author email.
2022-12-24 13:45:10 +01:00
Cédric Krier 8e7bd89b29 Replace label by literal in documentation 2022-12-20 14:07:50 +01:00