When a supplier import changes an order that already has a payment
The supplier file describes what is available. The payment record describes money movement. The office needs a traceable decision before either changes what the buyer is told.
Review a supplier file before importing catalogue changes
A supplier sends a spreadsheet containing revised product information. Importing it directly can replace a carefully reviewed description, erase a value represented by an empty cell or create duplicates when a code changes format. Treat the incoming file as proposed changes. The first useful output is a comparison a product owner can review, rather than a report saying that every row was processed.
Agree the meaning of each column and identify the stable product key. Confirm whether a blank value means unchanged, unknown or deliberately removed. Keep identifiers as text when leading zeros matter. Turkish names and descriptions should survive the file's encoding and the import path unchanged. Save a small approved example file alongside the mapping so later operators can recognise a format change.
Separate technical validation from business review. A valid number can still be an implausible dimension, and a well-formed URL can point to the wrong document. Flag unexpected additions, removals and unusually large changes for the relevant owner. Do not quietly accept a new column as authoritative simply because its heading resembles an existing field or appeared in a previous supplier's spreadsheet.
Review upload handling as its own boundary. Limit accepted file types, sizes and access, and process files in an appropriate isolated location. OWASP's file upload guidance describes several layers worth reviewing. A filename or browser-supplied content type alone is insufficient evidence that a document is safe or that its contents are suitable for the intended import operation.
Choose the owner of a shared record before connecting systems
Two connected applications can both contain an order without both being entitled to change every part of it. A sales tool may own the customer's requested specification, while an operations system owns fulfilment progress. Without an explicit ownership decision, an integration can repeatedly overwrite a valid correction and leave each team convinced that the other system is unreliable.
Map ownership at field level where the distinction matters. Identify the source of a customer reference, delivery address, approved quotation version and payment state. Record whether another system receives a copy, can propose a change or may directly update the authoritative value. A diagram with arrows is useful only when those arrows have a clear meaning and an accountable owner.
Design the identifier strategy alongside the data flow. Keep the originating record identifier and any destination identifier so staff can investigate the same transaction across systems. Do not match customers solely by a mutable display name. Plan what happens when records are merged, a company changes its name or a user accidentally creates a duplicate during a service interruption.
Define how conflicts reach a person. An address changed after an order is released may need review rather than automatic replacement. Keep enough context to explain the proposed change without distributing unnecessary personal information through logs or alerts. The KVKK authority's materials help frame data handling questions, while the integration design must reflect the actual approved purpose and access decisions.
Use failure examples in acceptance testing. Disconnect the destination, send an update twice, deliver messages out of order and reject one invalid field. Check that staff can see what remains unresolved and safely retry the right operation. A successful connection test proves very little if a partial failure can duplicate an order or hide a customer's later correction.
Give every order status an owner and a reason
An order marked processing can mean that payment is being checked, stock is being reserved or a colleague has simply opened the record. Customers cannot choose a sensible next step from that label. Staff may interpret it differently too. Define the decision behind each status before choosing colours, badges or an attractive progress bar for the account page.
For each proposed state, write who can enter it, what evidence supports it and what happens next. Awaiting customer confirmation should identify the requested decision. Awaiting supplier information should belong to a named team rather than imply the customer has work to do. Separate an internal operational state from the shorter explanation appropriate for a customer to read.
Be careful with automatic transitions. Receiving a carrier event does not necessarily prove that the correct items reached the correct recipient. A payment event may arrive before a separate reconciliation check. Record which external signal was received and how it relates to the business decision. Avoid translating an uncertain upstream signal into a confident customer-facing promise.
Design recovery for late or conflicting events. A cancelled order might receive a shipment update after staff have started a refund review. Keep the original event and place the record in a reviewable exception state where appropriate. Replaying an old message should not erase a later human decision or send the same notification repeatedly without any additional context.
Test the wording with someone who does not use the internal system every day. Ask what they would do after reading each status and whether the date is an estimate or a confirmed event. Include an order split across shipments, a request requiring revision and an unresolved cancellation. These examples reveal gaps that a perfect single-item purchase will not expose.
Keep payment confirmation separate from the order decision
A customer returns from a payment provider and sees a successful-looking page. That browser journey alone should not decide whether an order is ready for fulfilment. The customer may close the page early, return twice or arrive before a separate provider event. Define the authoritative payment confirmation method with the selected provider and keep it distinct from the customer's navigation through the website.
Record a stable order reference and the provider's relevant transaction reference using the agreed integration contract. Match the amount, currency and intended operation where required. The provider's current official documentation should determine its exact message verification and reconciliation requirements. Do not implement those details from an old example or assume that a different provider uses an equivalent event model and security mechanism.
Show a customer explanation that reflects the known state. Awaiting confirmation can be more truthful than a premature success message, while a confirmed payment may still leave another order review outstanding. Separate those decisions visibly. If the transaction result remains uncertain, provide a reference and an appropriate support route rather than encouraging an immediate repeat payment without checking the first attempt.
Apply the business approval rules to consequential changes. Refunding, changing an amount or releasing a held order may require different permissions from reading its status. OWASP's transaction authorization guidance helps frame technical checks around the intended action. The provider, business owner and appropriate financial or legal advisers must still establish the policy for the actual transaction and service.
Further reading: OWASP file upload guidance, W3C multilingual form encoding, KVKK guidelines, Ministry of Trade electronic commerce questions, OWASP transaction authorization guidance.
