It might be that the create payment part of your workflow triggers and the user starts payment, but the subsequent actions in your workflow continue before the payment is completed.