roam/aweber/ecommerce-products.svg

32 lines
10 KiB
XML
Raw Normal View History

2021-09-01 20:57:39 +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="589px" preserveAspectRatio="none" style="width:759px;height:589px;" version="1.1" viewBox="0 0 759 589" width="759px" zoomAndPan="magnify"><defs><filter height="300%" id="fw5ya5pvsuddy" 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(#fw5ya5pvsuddy)" height="90.8867" style="stroke:#000000;stroke-width:2.0;" width="534" x="135" y="338.6621"/><rect fill="#FFFFFF" height="44.2656" style="stroke:none;stroke-width:1.0;" width="534" x="135" y="385.2832"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="70" x2="70" y1="88.4883" y2="505.1699"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="222" x2="222" y1="88.4883" y2="505.1699"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="540" x2="540" y1="88.4883" y2="505.1699"/><line style="stroke:#A80036;stroke-width:1.0;stroke-dasharray:5.0,5.0;" x1="718.5" x2="718.5" y1="88.4883" y2="505.1699"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="5" y="85.5352">AWeber Customer</text><ellipse cx="70" cy="15" fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" rx="8" ry="8" style="stroke:#A80036;stroke-width:2.0;"/><path d="M70,23 L70,50 M57,31 L83,31 M70,50 L57,65 M70,50 L83,65 " fill="none" filter="url(#fw5ya5pvsuddy)" style="stroke:#A80036;stroke-width:2.0;"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="124" x="5" y="517.7051">AWeber Customer</text><ellipse cx="70" cy="530.6582" fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" rx="8" ry="8" style="stroke:#A80036;stroke-width:2.0;"/><path d="M70,538.6582 L70,565.6582 M57,546.6582 L83,546.6582 M70,565.6582 L57,580.6582 M70,565.6582 L83,580.6582 " fill="none" filter="url(#fw5ya5pvsuddy)" style="stroke:#A80036;stroke-width:2.0;"/><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="151" x="145" y="53"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="137" x="152" y="73.5352">Landing Page Editor</text><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="151" x="145" y="504.1699"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="137" x="152" y="524.7051">Landing Page Editor</text><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="233" x="422" y="53"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="219" x="429" y="73.5352">Stripe Payments (Authenticated)</text><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="233" x="422" y="504.1699"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="219" x="429" y="524.7051">Stripe Payments (Authenticated)</text><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="54" x="689.5" y="53"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="696.5" y="73.5352">Stripe</text><rect fill="#FEFECE" filter="url(#fw5ya5pvsuddy)" height="30.4883" style="stroke:#A80036;stroke-width:1.5;" width="54" x="689.5" y="504.1699"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacing" textLength="40" x="696.5" y="524.7051">Stripe</text><rect fill="#EEEEEE" filter="u
@startuml
actor "AWeber Customer" as customer
participant "Landing Page Editor" as lp
participant "Stripe Payments (Authenticated)" as sp
participant "Stripe" as stripe
== Load product information ==
customer -> lp : Edit landing page
lp -> sp : GET /stripe-authenticated/products
sp -> stripe : Get products with prices
sp -> lp : Return list of products with pricing
== Save product information ==
customer -> lp : Save landing page
alt create a new product & price
lp -> sp : POST /stripe-authenticated/products
else update an existing product & price
lp -> sp : PATCH /stripe-authenticated/products/{UUID}
end
sp -> stripe : Store product and price
sp -> lp : 200 Return product and price IDs
@enduml
PlantUML version 1.2021.00(Sun Jan 10 05:25:05 EST 2021)
(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>