0). Format: DD-MM-YYYY $host =''; # This is your host eg. http://localhost:8000 $dateTime = requestDateTime(); # Verification string $requestHash = subscriptionRequestHash($subscriptionMerchantRef,$secureCardMerchantRef, $dateTime, $startDate); $requestURL = $host."/merchant/subscriptionpage/".$subscriptionAction; # Write the HTML of the submission form echo "
\n"; writeHiddenField("TERMINALID", $terminalId); writeHiddenField("MERCHANTREF", $subscriptionMerchantRef); writeHiddenField("STOREDSUBSCRIPTIONREF", $storedSubscriptionMerchantRef); writeHiddenField("SECURECARDMERCHANTREF", $secureCardMerchantRef); writeHiddenField("DATETIME", $dateTime); writeHiddenField("STARTDATE", $startDate); writeHiddenField("HASH", $requestHash); # Write the JavaScript that will submit the form to Nuvei. echo '
Submitting Subscription setup request to Nuvei...'; ?>