Conditional logic and credit card payment