This website requires JavaScript.
Explore
Help
Sign In
jamey
/
berrypod
Watch
1
Star
0
Fork
0
You've already forked berrypod
Code
Issues
Pull Requests
Actions
Packages
Projects
1
Releases
Wiki
Activity
7f6fd012a5
berrypod
/
test
/
support
/
mocks.ex
4 lines
82 B
Elixir
Raw
Normal View
History
Unescape
Escape
rename project from SimpleshopTheme to Berrypod All modules, configs, paths, and references updated. 836 tests pass, zero warnings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-18 21:23:15 +00:00
Mox
.
defmock
(
Berrypod.Providers.MockProvider
,
for
:
Berrypod.Providers.Provider
feat: add Printify order submission and fulfilment tracking Submit paid orders to Printify via provider API with idempotent guards, Stripe address mapping, and error handling. Track fulfilment status through submitted → processing → shipped → delivered via webhook-driven updates (primary) and Oban Cron polling fallback. - 9 fulfilment fields on orders (status, provider IDs, tracking, timestamps) - OrderSubmissionWorker with retry logic, auto-enqueued after Stripe payment - FulfilmentStatusWorker polls every 30 mins for missed webhook events - Printify order webhook handlers (sent-to-production, shipment, delivered) - Admin UI: fulfilment column in table, fulfilment card with tracking info, submit/retry and refresh buttons on order detail - Mox provider mocking for test isolation (Provider.for_type configurable) - 33 new tests (555 total), verified against real Printify API Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 09:51:51 +00:00
)
Reference in New Issue
Copy Permalink