An implementation of Square's single input payment for iOS