"Invalid Link ID" message when submitting paid link
Hi,
I have a message "invalid link id" displayed on the payment page whenever a paid submission is submitted on the directory.
This is not on return from PayPal, this is straight after filling out the submission form, choosing a paid option and clicking on submit, which then goes to the payment page which should show the confirmation details and the paypal button to make the payment.
The problem is that the link id is not being sent to the payment page in the query string of the URL, the code that should send the ID is in the submit.php page:
//Move to payment page
@ header("Location: payment.php?id=".$data['ID']);
@ exit;
}
However the $data['ID'] does not have any value when the redirect is made to the payment page, so the invalid id message is displayed on the payment page.
The problem can be seen at the site: www.theaace.com
I have looked around the forum and found no answer to this, but possibly I missed it.
I would appreciate any help with this 
Thanks
|