Fix bug cannot create payment