Text Size

Doculicious PayPal Form

                <title>PayPal Form</title>
                //Check that the doculicious URI is set - It should be
                        $uri = $_GET['dclcs_entry_uri'];
                        //Put all the parts of the URI into an array
                        $uri_parts = explode("/", $uri);
                        //Get the last item in the array. This is the uniqeID of the submitted form 
                        $document_id = array_pop($uri_parts);
                <!-- Display a message to the customer. -->
                <div style="width: 450px; margin: 0 auto;">
                        <p>Thank you for using our service. Please click the button below to pay for your form using PayPal. Once confirmed we will send through a link where you can download the completed PDF file.</p>
                        <div align="center">
                                <form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
                                        <input type="hidden" name="cmd" value="_s-xclick">
                                        <input type="hidden" name="hosted_button_id" value="957FC8G74KTR4">
                                        <input name="custom" type="hidden" value="<?php echo($document_id);?>" />
                                        <input type="image" src="https://www.sandbox.paypal.com/WEBSCR-640-20110429-1/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
                                        <img alt="" border="0" src="https://www.sandbox.paypal.com/WEBSCR-640-20110429-1/en_US/i/scr/pixel.gif" width="1" height="1">