Skip to content

Instantly share code, notes, and snippets.

@efasel
Created May 10, 2022 12:34
Show Gist options
  • Save efasel/b5582f976260595149e5f8177dfe9acf to your computer and use it in GitHub Desktop.
Save efasel/b5582f976260595149e5f8177dfe9acf to your computer and use it in GitHub Desktop.
flowchart TD 

A[Checkout try to render verify page] --> B
B[Simulate Order to SAP] --> C
C[SAP Response] --> D{supports proforma?}
D -->|yes| E{has digital product \nor invalid country?}
D -->|no| F{is TradeCustomer}
E -->|no| G[advanced pay + \nCreditCard, PayPal]
E -->|yes| H[only CreditCard, PayPal]
F -->|yes| I[Invoice pay + \nCreditCard, PayPal]
F -->|no| H
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment