Skip to content

Conversation

@martinrogne
Copy link
Collaborator

Do not merge yet, this is just to see that it works. It seems that we have two options here:

  1. Say that this really is a type of payment that IS indeed pending, and that checkout should be allowed with it (which is what is done here), and that some process may or may not subsequently mark it as authorized. This seems a bit iffy.
  2. Treat it as any other payment, and have a hook in the CT base for paylater that just authorizes it. This could in principle be a conceptual substitute for "check that the customers line of credit is valid" or similar.

I'm leaning towards (2), and I'll take a look at putting that into the base composable (not as a credit check, but as a hook for accepting any paylater instruction).

@nx-cloud
Copy link

nx-cloud bot commented Jan 9, 2026

View your CI Pipeline Execution ↗ for commit 21d31e6

Command Status Duration Result
nx affected -t lint build ✅ Succeeded 1m 1s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-09 13:52:55 UTC

@asgerjensen
Copy link
Collaborator

Agree, #2 is the preferred

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants