diff --git a/docs/SagePayREST.pdf b/docs/SagePayREST.pdf new file mode 100644 index 0000000..e15f966 Binary files /dev/null and b/docs/SagePayREST.pdf differ diff --git a/docs/SagePayREST.signalling b/docs/SagePayREST.signalling new file mode 100644 index 0000000..2ef5348 --- /dev/null +++ b/docs/SagePayREST.signalling @@ -0,0 +1,19 @@ +# Sage Pay REST API + +B [label="Browsing Session"], +M [label="Merchant Site"], +U [label="User Browser"], +S [label="Sage Pay"]; + +M=>S: "CreateSessionKey"; +join S=>M: "MerchantSessionKey"; +M->B: "Store\nMerchantSessionKey"; + +M->U: "Present Payment Form"; +box U..U: "Payment Form" +{ + box U--U: "Credit Card Fields"; + box U--U: "Address Fields"; +}; + +# To be completed... \ No newline at end of file