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
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
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
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
Adrià Tarroja Caubet
960c220329
Remove migrations previous to 5.0
...
Closes #11324
2023-01-19 11:25:25 +01:00
Cédric Krier
b9c4b8230d
Return instance in on_change_with methods
2023-03-26 09:49:00 +02:00
Cédric Krier
d000dc17e8
Fetch new Stripe events until being exhausted
...
#12100
2023-02-17 23:57:45 +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
4deb7fc7a1
Prepare migration to monorepo
2022-12-16 20:24:39 +01:00