Ive started the form I need, however having difficulty with the data being inserted into the URL.
I need to gather the following information and insert it into the following link, which the user can then copy upon clicking generate.
Appreciate support
Client First Name
Client Last Name
Order Reference
Main Amount
Todays Date
//payments.XXXXX.net/process/payments/choice?charset=UTF-8&billingemail=&billingfirstname=Joe&billinglastname=Bloggs¤cyiso3a=GBP&locale=en_GB&mainamount=1000.00&orderreference=12345&settleduedate=2022-07-27&settlestatus=0&sitereference=&stprofile=default&version=2
function process() {
var url =
location.href = url;
return false;
}
<form onSubmit="return process();">
<input type="text" name="Payment Amount" id="amount">
<input type="text" name=“Client First Name” id="fname">
<input type="text" name=“Client Last Name” id="sname">
<input type="text" name=“Booking Reference” id="bookref">
<input type="submit" value="Create Unique Payment Link">
</form>