Skip to content
Weave templates

Payment with 3-D Secure

Cart → checkout → PSP → bank 3DS → result.

Template previewWeave
Rendering…

Make it your own.

{
  "nodes": [
    { "id":"u","type":"ellipse","label":"Customer","x":40,"y":160,"fill":"#dbeafe","stroke":"#2563eb" },
    { "id":"ck","type":"rect","label":"Checkout","x":220,"y":160,"fill":"#ede9fe","stroke":"#6d28d9" },
    { "id":"psp","type":"rect","label":"PSP","x":420,"y":160,"fill":"#fed7aa","stroke":"#c2410c" },
    { "id":"bk","type":"rect","label":"Issuing bank","x":620,"y":160,"fill":"#fef3c7","stroke":"#a16207" },
    { "id":"otp","type":"diamond","label":"3DS challenge","x":820,"y":145,"fill":"#fef3c7","stroke":"#a16207" },
    { "id":"ok","type":"ellipse","label":"Authorise","x":1040,"y":80,"fill":"#dcfce7","stroke":"#15803d" },
    { "id":"no","type":"ellipse","label":"Decline","x":1040,"y":240,"fill":"#fee2e2","stroke":"#b91c1c" },
    { "id":"cap","type":"rect","label":"Capture","x":1240,"y":80,"fill":"#dcfce7","stroke":"#15803d" }
  ],
  "edges": [
    { "id":"a","source":"u","target":"ck" },
    { "id":"b","source":"ck","target":"psp" },
    { "id":"c","source":"psp","target":"bk","label":"auth req" },
    { "id":"d","source":"bk","target":"otp" },
    { "id":"e","source":"otp","target":"ok","label":"pass" },
    { "id":"f","source":"otp","target":"no","label":"fail" },
    { "id":"g","source":"ok","target":"cap" }
  ]
}