feat(stripe): webhook endpoint and one-off reconciliation#240
feat(stripe): webhook endpoint and one-off reconciliation#240Tarunkumar0601 wants to merge 5 commits into
Conversation
|
Tick the box to add this pull request to the merge queue (same as
|
Confidence Score: 3/5The Hosted Checkout path creates unbounded orphaned Integration Requests on retries, and the ERPNext settlement import is unguarded against version drift. Two incomplete fixes in the new code: the orphan-IR problem was solved for embedded checkout but not for the new hosted checkout flow, and the stripe_settings.py ( Reviews (28): Last reviewed commit: "feat(stripe): webhook endpoint and one-o..." | Re-trigger Greptile |
2b8fff3 to
8c9b945
Compare
1193e93 to
e3e967e
Compare
5625163 to
d423355
Compare
d423355 to
917965e
Compare
917965e to
8679386
Compare
2c5925e to
877a839
Compare
877a839 to
04a6e33
Compare
04a6e33 to
760b548
Compare
760b548 to
f0cf329
Compare
f0cf329 to
617d15a
Compare
27ae54d to
41fb1f3
Compare
96ea5c1 to
77c4595
Compare
6bbaa73 to
52d8806
Compare
52d8806 to
b8a5501
Compare
b8a5501 to
fbaf89c
Compare
fbaf89c to
f2c7d67
Compare
f2c7d67 to
80bc117
Compare
80bc117 to
27b0755
Compare
| billing_interval_count = cint(billing_interval_count) or 1 | ||
| if billing_interval_count == 1: | ||
| recurrence = _("per {0}").format(_(billing_interval)) | ||
| else: |
There was a problem hiding this comment.
still this is not resolved.
use PHRASES = {"Day": _("daily"), "Week": _("weekly"), "Month": _("monthly"), "Year": _("yearly")}
recurrence = PHRASES.get(billing_interval, "") if billing_interval_count == 1
else _("every {0} {1}").format(billing_interval_count, {"Day": _("days"), ...}.get(billing_interval, ""))
Adds a signed Stripe webhook endpoint as the authoritative backstop for reconciling payments server-to-server.
Ensures payments reconcile even if the customer never returns to the site. Depends on feat/stripe-customers-saved-cards.
Backport Needed: V15 & V16