Repository navigation
Feat/connector fedapay - #5
Merged
Merged
Conversation
The first real sandbox run confirmed authentication, transaction creation and token generation, and that a non-activated operator fails at the push with "Opération non autorisée", correctly mapped to ROUTE_UNSUPPORTED. - FEDAPAY_SANDBOX_NETWORK selects the operator (mtn, moov, celtiis) - Clear failure message when the operator is not activated - QUIRKS.md: record what the sandbox verified Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Jules Mahounou <234069818+jules-mahounou@users.noreply.github.com>
The FedaPay sandbox removed its per-operator test servers (MTN, Moov...): every push must go to the single `momo_test` mode. Pushing to `/mtn_open` in the sandbox fails with "Opération non autorisée", which an earlier commit wrongly attributed to operator activation. - Sandbox maps every network to `momo_test` by default, so application code is identical in sandbox and live - Sandbox tests use the documented test numbers and wait for the final status: +22964000001 settles as succeeded, any other number as failed (declined → CUSTOMER_DECLINED). Both pass against the real API. - QUIRKS.md corrected and updated with what the sandbox verified Source: https://docs.fedapay.com/fr/integration-api/sending-requests#serveur-de-test Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Jules Mahounou <234069818+jules-mahounou@users.noreply.github.com>
`pnpm demo` starts a small web page (Node built-in http, no framework) that collects a sandbox mobile money payment through Payenv and follows its status live. It masks phone numbers, refuses live keys, and shows the webhook verification endpoint. Verified against the FedaPay sandbox: +22964000001 settles as succeeded, another number as failed. test(connector-fedapay): always use the documented sandbox success number, so a leftover FEDAPAY_SANDBOX_PHONE in .env can no longer break the test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Jules Mahounou <234069818+jules-mahounou@users.noreply.github.com>
A payment accepted as pending and later declined showed `status: failed` with `outcome: accepted` on its attempt (found while testing the FedaPay demo). `refresh` now updates the attempt outcome (failed / accepted), and clears the payment error once the provider confirms an unresolved payment. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Jules Mahounou <234069818+jules-mahounou@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Checklist
git commit -s) — see DCOCHANGELOG.md(Unreleased) updated if behavior changed