basic payment working