naveedramzan Posted May 15, 2008 Posted May 15, 2008 Hello All, i have installed PAYPAL EXPRESS CHECKOUT but when i clicked on image PAYPAL CHECKOUT on shopping_cart.php, page redirection is on shopping_cart.php with an empty cart with appearing a statement "Security header is not valid ... ". i debugged the files and in paypal_express.php and function is sendTransactionToGateway($url, $parameters) $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); the above function is returning empty ... can any body help me out in this issue .... thanks in advance .... Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 15, 2008 Posted May 15, 2008 Hello All, i have installed PAYPAL EXPRESS CHECKOUT but when i clicked on image PAYPAL CHECKOUT on shopping_cart.php, page redirection is on shopping_cart.php with an empty cart with appearing a statement "Security header is not valid ... ". i debugged the files and in paypal_express.php and function is sendTransactionToGateway($url, $parameters) $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); the above function is returning empty ... can any body help me out in this issue .... thanks in advance .... check that image link. what it be send after clicking on it you need to send some hidden information through this to paypal page. When I was born, I was cryed and everyone around me was smiling. Live our life so at the end, I am the one who is smiling and everyone around me is crying.
naveedramzan Posted May 15, 2008 Author Posted May 15, 2008 check that image link. what it be send after clicking on it you need to send some hidden information through this to paypal page. yes link is not sending any thing .... so plz tell me what info we have to send business test account password signature total amount of orders and wht's more ? Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 15, 2008 Posted May 15, 2008 yes link is not sending any thing .... so plz tell me what info we have to send business test account password signature total amount of orders and wht's more ? Pass user info like this: <form action="https://www.paypal.com/cgi-bin/webscr"'>https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="item_name" value="Item Name Goes Here"> <input type="hidden" name="item_number" value="Item Number Goes Here"> <input type="hidden" name="amount" value="100.00"> <input type="hidden" name="no_shipping" value="2"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="bn" value="IC_Sample"> <input type="image" src="https://www.paypal.com/ en_US/i/btn/x-click-but23.gif" name="submit" alt="Make payments with payPal - it's fast, free and secure!"> <img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> When I was born, I was cryed and everyone around me was smiling. Live our life so at the end, I am the one who is smiling and everyone around me is crying.
naveedramzan Posted May 15, 2008 Author Posted May 15, 2008 I have uncomment curl library line form php.ini and also marked after clicked in wamp menu > Php > php extenstions > php_curl .... but still there is an error htat method not allowed ... please help me out in this issue .. thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
naveedramzan Posted May 16, 2008 Author Posted May 16, 2008 Dear please tell me ... where i have to type the return path .. 2nd "Item Number Goes Here", is this item_id or number of items .... thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
Recommended Posts
Archived
This topic is now archived and is closed to further replies.