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]
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
1 |
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
#!/bin/bash | |
for pid in $(cd /proc && find . -maxdepth 2 -type f -name status | grep -o '[0-9]*'); do grep -q VmSwap /proc/$pid/status > /dev/null 2>&1 && echo -n "$(grep VmSwap /proc/$pid/status)" && ps h -p $pid -o args ; done | sort -k 2 -n -r | cut -c 1-200 |