flowchart TD
A(create-payment-attempt) --> B(initiate-authorisation)
B --> C(redirect-to-provider*)
B --> D(mx-bank-account-connected)
C --> E(confirm-account)
D --> E(confirm-account)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use server"; | |
export async function signInWithEmail(_: any, formData: FormData) { | |
// Sign in | |
return { | |
errors: null, | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"terminal.integrated.defaultProfile.linux": "zsh", | |
"workbench.iconTheme": "vscode-icons", | |
"vsicons.dontShowNewVersionMessage": true, | |
"[javascriptreact]": { | |
"editor.defaultFormatter": "biomejs.biome" | |
}, | |
"[javascript]": { | |
"editor.defaultFormatter": "biomejs.biome" | |
}, |
Existing Design:
sequenceDiagram
autonumber
User->>+Payment: Bank just sent me here, where do I go next?
Payment->>+Payment: Is this callback valid
Payment->>+User: Go to this checkout page
User->>+Checkout: Checkout just sent me here, where do I go next?
Checkout->>+Checkout: Determine how to get the user back to the merchant page