Skip to content

simplestore: auto-complete fully digital orders after delivery#769

Open
karamble wants to merge 1 commit into
companyzero:masterfrom
karamble:simplestore-auto-complete-digital-orders
Open

simplestore: auto-complete fully digital orders after delivery#769
karamble wants to merge 1 commit into
companyzero:masterfrom
karamble:simplestore-auto-complete-digital-orders

Conversation

@karamble

Copy link
Copy Markdown

Auto-completes a fully digital order once its files have been delivered.

After invoiceSettled sends the order files, advance the order to completed when every cart item is a digital download (has a SendFilename) and all files were sent successfully. Orders with a physical item, or whose files did not all send, stay paid for the merchant to ship and complete manually. The completion re-reads the order and only advances it if it is still paid, so a merchant status change during delivery is not clobbered.

Closes #768

When an order's invoice settles, simplestore sends any digital files and leaves the order paid. An order with no physical items needs no further merchant action once its files are delivered, so advance it to completed automatically after every file has been sent successfully. Orders that contain a physical item, or whose files did not all send, stay paid for the merchant to ship and complete manually.
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.

simplestore: auto-complete fully digital orders once files are delivered

1 participant