naveedramzan Posted May 14, 2008 Posted May 14, 2008 Hello All, i installed paypal payment module in admin side but there is appearing button of install, is that module installed or not, or please guide how i can send or receive request to paypal and from paypal ... thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 Hello All, i installed paypal payment module in admin side but there is appearing button of install, is that module installed or not, or please guide how i can send or receive request to paypal and from paypal ... thanks in advance Which payment module you are using?? You need to install through clicking on install button. After that set it according to your paypal account. 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 14, 2008 Author Posted May 14, 2008 i want to install paypal standard after clicking button INSTALL ... there will again apearing INSTALL button instead of Remove or edit .... in db there are 37 to 8 records are inserted but no any change in application in both sides(admin & client) so please help me out i have only 24 hours for this task, i have made two test paypal accounts on developers side .... thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 i want to install paypal standard after clicking button INSTALL ... there will again apearing INSTALL button instead of Remove or edit .... in db there are 37 to 8 records are inserted but no any change in application in both sides(admin & client) so please help me out i have only 24 hours for this task, i have made two test paypal accounts on developers side .... thanks in advance Please install PayPal Express Checkout after install PayPal Express Checkout click on PayPal Express Checkout. and tell me what you see.??? 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 14, 2008 Author Posted May 14, 2008 well .... thx for your replying .. but i have found my mistake ... but now facing problem in check_payment.php file .. where a image of paypal below checkout button is appeared ... which is linked at http://localhost/E-com/ext/modules/payment...pal/express.php this page redirect to shopping_cart.php because there is nothing in cart .... and there an argument in url .... error_message=& .... Now please tell me solution of this problem thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 well .... thx for your replying .. but i have found my mistake ... but now facing problem in check_payment.php file .. where a image of paypal below checkout button is appeared ... which is linked at http://localhost/E-com/ext/modules/payment...pal/express.php this page redirect to shopping_cart.php because there is nothing in cart .... and there an argument in url .... error_message=& .... Now please tell me solution of this problem thanks in advance First you must select a product for buying otherwise you cant redirect to paypal!! 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 14, 2008 Author Posted May 14, 2008 First you must select a product for buying otherwise you cant redirect to paypal!! i have selected 3 items and still in cart but when i click on PAYPAL EXPRESS then on that page there is nothing in cart Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 i have selected 3 items and still in cart but when i click on PAYPAL EXPRESS then on that page there is nothing in cart That's the error with shopping cart. Have you installed it properly.? Whats the cause i cant say without see the code... try to reinstall OSC after backup of old one. then you remove these problem. is products shown in orders_products table? if yes then after logining in they will certainly go to the next step... 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 14, 2008 Author Posted May 14, 2008 That's the error with shopping cart.Have you installed it properly.? Whats the cause i cant say without see the code... try to reinstall OSC after backup of old one. then you remove these problem. is products shown in orders_products table? if yes then after logining in they will certainly go to the next step... dear, cart will be empty at next page when i select PAYPAL express otherwise order is successfullly worked and also cart is filled till order confirmation ..... so can u diagnose that where is problem ... ? Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
naveedramzan Posted May 14, 2008 Author Posted May 14, 2008 dear, cart will be empty at next page when i select PAYPAL express otherwise order is successfullly worked and also cart is filled till order confirmation ..... so can u diagnose that where is problem ... ? I m debuging step by step and now i found error at this line $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); i also uncomment curl from php.ini and restart wamp ... but still curl_init() function is not returning any thing ... its returning false ... please help me out .. and thanks in advance Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 I m debuging step by step and now i found error at this line $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); i also uncomment curl from php.ini and restart wamp ... but still curl_init() function is not returning any thing ... its returning false ... please help me out .. and thanks in advance is it on your local server?? If not plz post a link so I can check it. 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.
prafulkr Posted May 14, 2008 Posted May 14, 2008 $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : '')); this is on paypal page so most probably there is no problem. I think you make a mistake in any other page so when you clicking on checkout button then the result returns empty cart (mean table is set as empty) 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 14, 2008 Author Posted May 14, 2008 $curl = curl_init($server['scheme'] . '://' . $server['host'] . $server['path'] . (isset($server['query']) ? '?' . $server['query'] : ''));this is on paypal page so most probably there is no problem. I think you make a mistake in any other page so when you clicking on checkout button then the result returns empty cart (mean table is set as empty) yes u r right but i got empty ... at the function called in express.php of paypal $response = $paypal_express->sendTransactionToGateway($api_url, $post_string); so that's why i was debuging there ... Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
prafulkr Posted May 14, 2008 Posted May 14, 2008 Yaah The problem is you are not redirect to the payapl page and after clicking on conform order it will through you at shopping cart page. Am I right?? The main problem is in payment standerd page. have you set properly API in this 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 14, 2008 Author Posted May 14, 2008 Yaah The problem is you are not redirect to the payapl page and after clicking on conform order it will through you at shopping cart page. Am I right?? The main problem is in payment standerd page. have you set properly API in this page?? Please guide where i have to redirect to paypal page .... Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
naveedramzan Posted May 14, 2008 Author Posted May 14, 2008 on the page of shopping_cart.php ... below side of checkout button, an image "Check out with paypal" is appearing ... on clicking this image page is redirecting to shopping_cart.php with empty cart. while i have debuged and facing problem at the function senttotransaction ... some like that which i pasted at above post .... Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
naveedramzan Posted May 14, 2008 Author Posted May 14, 2008 1 thing more .... when empty cart page displayed .... there is an error with black blackground .. "Secuirty header is not valid " why this is . . . . . Muhammad Naveed Ramzan Software Engineer Discretelogix (Pvt.) Ltd. Islamabad, Pakistan Mail: [email protected]
psg Posted May 15, 2008 Posted May 15, 2008 Sorry to hijack this post! prafulkr, can you guide me on how to set API please ? I have downloaded the certificate from PayPal, but I’m not sure where to put the certificate in the catalog or how to actually set it up :) I want to use “PayPal website payments pro (UK) express checkout” payment method. Thanks in advance Psg
Recommended Posts
Archived
This topic is now archived and is closed to further replies.