fix problem of testing must add sleep
fix twice submit, because application.js also including the payments.js, so not need using javascript_include_tag
using date form_now to guarantee the testing always pass