Skip to content

osCommerce connector: add manual CSV order handoff smoke test #314

Open

Description

@sridharkalaibala

Parent: #34

Goal

Give very old stores a simple bridge before live API work exists.

Scope

Add a smoke test or fixture for importing osCommerce order CSV into Posnic sale drafts.

Acceptance criteria

  • CSV fixture includes one paid order, one pending order, and one cancelled order.
  • Expected result says which rows become sale drafts and which are skipped.
  • Test proves duplicate external order ids do not create duplicate sale drafts.
  • Docs state this is manual handoff, not live synchronization.

Out of scope

  • No production credentials, customer records, tax IDs, payment data, or private payloads in the repo or issue comments.
  • Do not claim a live integration is supported until a maintainer accepts the matching fixture and evidence.

Activity

  1. added
    enhancement
    good first issue
    help wanted
    area: integrations
    size: small
    community edition
    area: ecommerce
    on Sep 2, 2026
  2. soyeladice-svg commented on Sep 27, 2026

    @soyeladice-svg

    Hi, I reviewed the manual osCommerce CSV handoff smoke-test request in #314 and the related documentation issue #140.

    I propose a small synthetic fixture covering paid, pending and cancelled orders, plus a repeated external order ID. The test would assert the agreed mapping to sale drafts or skipped rows and verify that replaying the same order does not create another draft. The accompanying notes would make clear that this covers a manual handoff, not live synchronization.

    I have an existing synthetic retry/idempotency sample with explicit expected outcomes, which can guide the fixture design; it does not establish how the current Posnic importer behaves.

    Before implementation, which existing import entry point and status-to-draft mapping should the fixture use? If this scope is still available, I would keep #314 and #140 coordinated so the test and documentation are not duplicated.

  3. sridharkalaibala commented on Sep 27, 2026

    @sridharkalaibala
    ContributorAuthor

    Thanks—this scope is still available. There is not yet an osCommerce CSV importer to target, so please do not add or imply a production import endpoint. Build the synthetic smoke test around the existing external-sale idempotency contract (connectors/sdk/external-sale-idempotency, with the pattern in ests/external-sale-idempotency.test.js and ests/fixtures/external-sales/).\n\nFor this fixture, use a clearly documented provisional mapping: paid creates one candidate sale draft; pending and cancelled are skipped; replaying the same provider/store/external-order ID is a duplicate retry and creates no second draft. Include the missing-SKU and invalid-amount error cases from #94. Keep the fixture and test work in #314/#94, and have the documentation PR for #140 only describe that manual, synthetic handoff and its limitations. Please link all three issues from the PR.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ecommercearea: integrationscommunity editionenhancementgood first issuehelp wantedsize: small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions