| r.ParseForm() | r.ParseForm() | ||||
| //assuming form has been parsed | //assuming form has been parsed | ||||
| row = LeanworkRequest{} | row = LeanworkRequest{} | ||||
| pickupUrl, _ := retrieveFormValue(r.Form, "pickupUrl") | |||||
| receiveUrl, _ := retrieveFormValue(r.Form, "receiveUrl") | |||||
| signType, _ := retrieveFormValue(r.Form, "signType") | |||||
| orderNo, _ := retrieveFormValue(r.Form, "orderNo") | |||||
| orderAmount, _ := retrieveFormValue(r.Form, "orderAmount") | |||||
| orderCurrency, _ := retrieveFormValue(r.Form, "orderCurrency") | |||||
| customerId, _ := retrieveFormValue(r.Form, "customerId") | |||||
| sign, _ := retrieveFormValue(r.Form, "sign") | |||||
| pickupUrl := r.FormValue("pickupUrl") | |||||
| receiveUrl := r.FormValue("receiveUrl") | |||||
| signType := r.FormValue("signType") | |||||
| orderNo := r.FormValue("orderNo") | |||||
| orderAmount := r.FormValue("orderAmount") | |||||
| orderCurrency := r.FormValue("orderCurrency") | |||||
| customerId := r.FormValue("customerId") | |||||
| sign := r.FormValue("sign") | |||||
| valid := isLeanworkFormValid(r.Form) | valid := isLeanworkFormValid(r.Form) | ||||
| ip4 := getClientIPLong(r) | ip4 := getClientIPLong(r) | ||||