Commit Graph
66 Commits
Author SHA1 Message Date
Cédric Krier 1050494552 Use binary version of psycopg for tests
(grafted from 844c3d391796ffe89afce54d12f6bf5f4aa8ef4e)

--HG--
branch : 7.0
2026-07-17 22:16:19 +02:00
Cédric Krier d19e064d34 Increase version number
--HG--
branch : 7.0
2026-04-16 23:26:44 +02:00
Cédric Krier d38d5272c6 Prepare release account_payment_stripe-7.0.8
--HG--
branch : 7.0
2026-04-16 23:26:35 +02:00
Cédric Krier ab71734228 Always convert JSON payload to stripe Event and replace dict methods by StripeObject methods
Since Stripe 15.0.0 the StripeObject no longer inherits from dict. This means
that we can no more manage payload as simple JSON but we must convert it to stripe.Event.
And we must replace dict method by their StripeObject equivalent.

Closes #14714
(grafted from 5993be1ee56f1d5b51917b19f4b9379c0caee8db)

--HG--
branch : 7.0
2026-03-26 16:23:55 +01:00
Cédric Krier 7bb66a5950 Increase version number
--HG--
branch : 7.0
2026-03-02 22:56:03 +01:00
Cédric Krier b7b47dd0d0 Prepare release account_payment_stripe-7.0.7
--HG--
branch : 7.0
2026-03-02 22:55:55 +01:00
Cédric Krier 541969fb97 Show approve button on Stripe refund payment when submitted
Closes #14599
(grafted from 0359c8ecc314160ac16e60af001b2d3ae1aebd1a)

--HG--
branch : 7.0
2026-02-10 19:30:10 +01:00
Cédric Krier 984c560eb6 Increase version number
--HG--
branch : 7.0
2026-01-02 11:00:46 +01:00
Cédric Krier a7c69740e0 Prepare release account_payment_stripe-7.0.6
--HG--
branch : 7.0
2026-01-02 11:00:37 +01:00
Cédric Krier 07b088fa9f Define request body when there is no signing secret defined
Closes #14447
(grafted from 3561242b561a96629cd1c8af18141e5ffc5c139d)

--HG--
branch : 7.0
2025-12-23 12:09:31 +01:00
Cédric Krier 2f27356e3f Increase version number
--HG--
branch : 7.0
2025-10-20 14:44:47 +02:00
Cédric Krier d71f8b8c66 Prepare release account_payment_stripe-7.0.5
--HG--
branch : 7.0
2025-10-20 14:44:37 +02:00
Cédric Krier 8fa02c042e Limit stripe version before 13.0.0
The version 13.0.0 removed the deprecated stripe.error module.

Closes #14278
(grafted from d7df006333a02e34d775a6ecb9a2b3db025aa2e1)

--HG--
branch : 7.0
2025-10-07 15:27:45 +02:00
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