Square reader turns smartphone to become POS to accept credit card