Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: devoid pr of indirections #40830

Conversation

blaggacao
Copy link
Collaborator

Context

  • pr.flags.mute_email for ad-hoc silencing (no current use case)
  • Use already existing, but forgotten pr.mute_email for tx-wise silencing (shopping cart flow)
  • Use already existing, but forgotten pr.make_sales_invoice for the control flow to create an invoice upon payment (shopping cart flow)

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Apr 2, 2024
@blaggacao
Copy link
Collaborator Author

Detected while working on frappe/payments#53

@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch 2 times, most recently from e5a3baf to 798f172 Compare April 2, 2024 12:35
@blaggacao
Copy link
Collaborator Author

@ruthra-kumar @s-aga-r Since I'm sprinting on frappe/payments#53 to make payments more reliable in ERPNext (the current situation in production is brittle), this PR came up among the following more:

It would help me a lot if you can afford in some form or shape to "mirror" this sprint in the sense to review / merge acceptable increments somewhat swiftly.

My end goal remains to robustly implement PayZen atop frappe/payments#53 and face-lift the payment infrastructure so that implementing new payment gateways becomes more reliable and (hopefully also: easier) for the greater community.

The current situation is not really tenable and source of a major maintenance headache in our production deployment. We're iterating on this for the 3rd time, now, and the legacy spaghetti (I hope this is an undisputed claim 😄) really didn't help me nor the business bottom line. 😢

@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch from 798f172 to 1bfa905 Compare April 2, 2024 17:46
@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch from 1bfa905 to 5895961 Compare April 2, 2024 19:09
@blaggacao blaggacao marked this pull request as draft April 2, 2024 22:52
@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch 4 times, most recently from 7b03243 to 948de47 Compare April 2, 2024 23:33
@blaggacao blaggacao changed the title chore: devoid pr of hard to maintain code smells chore: devoid pr of indirections Apr 2, 2024
@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch from 948de47 to 2dc0338 Compare April 3, 2024 00:24
@blaggacao blaggacao marked this pull request as ready for review April 3, 2024 00:34
@blaggacao blaggacao force-pushed the chore/cleanup-payment-request-logic branch from 2dc0338 to 1cd9593 Compare April 3, 2024 09:46
@blaggacao
Copy link
Collaborator Author

blaggacao commented Apr 3, 2024

Now part of #40424 with better test coverage

@blaggacao blaggacao closed this Apr 3, 2024
@blaggacao blaggacao deleted the chore/cleanup-payment-request-logic branch April 3, 2024 11:32
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant