Quantcast
Channel: WHMCS Community Forums
Viewing all articles
Browse latest Browse all 13458

Bulk transfer page not accepting POST requets

$
0
0
Hi All,

Iv'e been working on integrating WHMCS into our main site. We have a hosting page, into which I have inserted the form from Utilitys->Intergration Code for domain lookups. This works flawlessly, and I applaud the developers for the ease and speed that the system can be integrated into other sites.

However, we were also aiming to have a bulk transfer textarea, similar to /domainchecker.php?search=bulktransfer , on our hosting page, to post to our WHMCS system. However, whenever the form is posted, I get redirected to the logon, wether I'm logged in or not.

You can access the page, by navigating to it, without having to log in. The form code, on the normal site, is as follows:

<form action="https://whmcs.mydomain.co.uk/domainchecker.php?search=bulktransfer" method="post">
<input type="hidden" name="token" value="therandomtokengoeshere" />
<input type="hidden" name="direct" value="true" />
<textarea name="bulkdomains" srows="1" cols="30" style="resize: none;width:98%"></textarea><br/><br/>
<input type="submit" id="domtranbutton" value="Transfer Domains" />
</form>

I have obsured our domain, as it is still in development, and the token for obvious reasons.
The Id on the button is purely for styling.

Submission of the form leads to whmcs.mydomain.co.uk/clientarea.php, via a 302 Found redirect at https://whmcs.mydomain.co.uk/domainchecker.php?search=bulktransfer

I have scoured the documentation, and can find no reason as to why this isnt working.

If anyone has any advice unto why this behaviour is occouring, it would be very much appriciated.

Best,

Arrowe

Viewing all articles
Browse latest Browse all 13458

Trending Articles