Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how i can integrate Paypal in osCommerce


naveedramzan

Recommended Posts

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]

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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=&amp ....

 

Now please tell me solution of this problem

 

 

 

thanks in advance

Muhammad Naveed Ramzan

Software Engineer

Discretelogix (Pvt.) Ltd.

Islamabad, Pakistan

Mail: [email protected]

Link to comment
Share on other sites

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=&amp ....

 

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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

$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.

Link to comment
Share on other sites

$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]

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...