2021-10-01 21:48:18 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="465px" preserveAspectRatio="none" style="width:772px;height:465px;background:#FFFFFF;" version="1.1" viewBox="0 0 772 465" width="772px" zoomAndPan="magnify"><defs><filter height="300%" id="f1b5p0k2q1lusu" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><rect fill="#FFFFFF" filter="url(#f1b5p0k2q1lusu)" height="75.9316" style="stroke:#000000;stroke-width:2.0;" width="519" x="40" y="57.4883"/><rect fill="#FFFFFF" filter="url(#f1b5p0k2q1lusu)" height="257.7949" style="stroke:#000000;stroke-width:2.0;" width="748" x="10" y="147.4199"/><rect fill="#FFFFFF" filter="url(#f1b5p0k2q1lusu)" height="167.8633" style="stroke:#000000;stroke-width:2.0;" width="728" x="20" y="230.3516"/><rect fill="#FFFFFF" filter="url(#f1b5p0k2q1lusu)" height="136.5527" style="stroke:#000000;stroke-width:2.0;" width="708" x="30" y="254.6621"/><rect fill="#FFFFFF" filter="url(#f1b5p0k2q1lusu)" height="46.6211" style="stroke:#000000;stroke-width:2.0;" width="519" x="40" y="337.5938"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="78" x2="78" y1="40.4883" y2="422.2148"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="487" x2="487" y1="40.4883" y2="422.2148"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="609" x2="609" y1="40.4883" y2="422.2148"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="699" x2="699" y1="40.4883" y2="422.2148"/><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="53" x="50" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="39" x="57" y="25.5352">Poller</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="53" x="50" y="421.2148"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="39" x="57" y="441.75">Poller</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="119" x="426" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="105" x="433" y="25.5352">StripePayments</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="119" x="426" y="421.2148"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="105" x="433" y="441.75">StripePayments</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="97" x="559" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="83" x="566" y="25.5352">Integrations</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="97" x="559" y="421.2148"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="83" x="566" y="441.75">Integrations</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="54" x="670" y="5"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="677" y="25.5352">Stripe</text><rect fill="#FEFECE" filter="url(#f1b5p0k2q1lusu)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="54" x="670" y="421.2148"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40
|
2021-09-01 20:57:39 +00:00
|
|
|
@startuml
|
|
|
|
loop until last page of results
|
|
|
|
Poller -> StripePayments : GET /stripe/events?since=<timestamp>[&last_id=<last_id>]
|
|
|
|
StripePayments - -> Poller : Return list of event IDs
|
|
|
|
end
|
|
|
|
loop until last page of results
|
|
|
|
Poller -> Integrations : Get list of connected accounts
|
|
|
|
Integrations - -> Poller : Return list of Stripe account IDs
|
|
|
|
loop for each account
|
|
|
|
loop until last page of results
|
|
|
|
Poller -> Stripe : GET /v1/events?created[gte]=<timestamp>&types[]=<...>[&starting_after=<last_id>]
|
|
|
|
StripePayments - -> Poller : Return list of event IDs
|
|
|
|
alt is an AWeber Ecommerce event and event not in processed
|
|
|
|
Poller -> StripePayments : POST /stripe/webhooks
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
@enduml
|
|
|
|
|
2021-10-01 21:48:18 +00:00
|
|
|
PlantUML version 1.2021.10(Mon Aug 30 09:43:48 EDT 2021)
|
2021-09-01 20:57:39 +00:00
|
|
|
(GPL source distribution)
|
|
|
|
Java Runtime: Java(TM) SE Runtime Environment
|
|
|
|
JVM: Java HotSpot(TM) 64-Bit Server VM
|
|
|
|
Default Encoding: UTF-8
|
|
|
|
Language: en
|
|
|
|
Country: US
|
|
|
|
--></g></svg>
|