Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

paypal redirection problem


cretbogdan

Recommended Posts

Posted

I am using PayPal Website Payments Standard and version 2.3.1 .After a lot of problems i manage to make a paypal module to work . I still got a problem when someone pay with credit card without having a paypal account . After he pays , he is not redirected to my website and the order is not registred . This happens only if he pays with credit card without a paypal account .

If he has a paypal account , then he is redirected back to the website and all is fine .

Does anyone has an idea how to solve this ?

Posted

Sorry for my bad english

Paypal says " Notice: if you chose to activate the function Count optional PayPal for the new users and activated a function called automatic return, the new users will not be automatically redirected towards your site but can return there if they want it. "

Posted

@@krokus

The return URL should be www.mysite.com/checkout_process.php. The paypal module uses IPN so you should have the order recorded whether they return or not.

Matt

Posted

That is all i am interested to have the order recorded , then i can notify the customer . There are some customers who pay and i don't know because they are not sending any email , nothing even they don't got a confirmation email .

 

Are you sure that this module is using IPN ?

 

I will turn on IPN and set the return URL as you suggested and hoping that it will record my orders .

 

Thank you very much for your time .

Posted

No change , i Changed the return url and activated IPN but it is not working .

 

No redirect back to website => no order registered . Only for credit card payments i have these problems .

Posted

where is the order registered ? I tried and it did not apper anything in back office if i didn't come back to my website . Should i look somewhere in database ? Is order registered in database ?

Posted

If you go to yoursite.com/admin/orders.php do you see the order there? I am using the standard module that came with osCommerce 2.3 and when I reach checkout_confirmation.php I can see the order in my admin on the orders.php admin page with the status: Preparing [PayPal Standard] .

 

If I then go to pay for the order on the paypal site the order is updated via IPN to my site whether I go back to my site or not. I won't get an email confirmation if the customer does not return but the order will still be completed and its status updated via the IPN call.

Matt

Posted

No order recorded in admin , i had looked and if i don't come back after i pay on paypal site , the order is not recorded at all . IPN is On and return ulr is set ....

Posted

I am receiving the following messages from paypal . It seems the IPN are failing and i don't know why . Could someone tell me the cause ? the return url of ipn messages is www.ecig-vapo.com/checkout_process.php

 

Subject: PayPal Instant Payment Notification Warning

Hello ,

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

http://www.ecig-vapo.com/it/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/ro/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/tr/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/ext/modules/payment/paypal/standard_ipn.html

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

Thank you for your prompt attention to this issue.

 

Thanks,

PayPal

Posted

@@cretbogdan

 

all of the files you listed end in .html and should end in .php. When paypal calls the standard_ipn.html it gets a 404 error and fails.

 

You have to configure those URLs properly.

Matt

Posted

Would having some sort of SEO/SEF add-on convert these .php addresses to .html? Do they go through tep_href_link()?

Posted

I really don't know how to fix this problem with URL .

I did not made the entire website by myselft . Who worked before i think he installed Ultimate SEO V2.2d

in .htaccess file i have these rewrite rules . maybe the problem is here somewhere ? I really don't know what to do ...

 

 

# Begin Ultimate SEO V2.2d 
#Options +FollowSymLinks
RewriteEngine On


 # RewriteBase instructions 
 # Change RewriteBase dependent on how your shop is accessed as below. 
  # http://www.mysite.com = RewriteBase /
 # http://www.mysite.com/catalog/ = RewriteBase /catalog/  
 # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ 

 # Change the following line using the instructions above  

RewriteBase / 

RewriteRule ^([a-z]{2})/(.*)-p-(.*).html$ product_info.php?products_id=$3&language=$1 [L,QSA]
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^([a-z]{2})/(.*)-c-(.*).html$ index.php?cPath=$3&language=$1 [L,QSA]
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}

RewriteRule ^([a-z]{2})/(.*)-m-(.*).html$ index.php?manufacturers_id=$3&language=$1 [L,QSA]
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}

RewriteRule ^([a-z]{2})/(.*)-pr-(.*).html$ product_reviews.php?products_id=$3&language=$1 [L,QSA]
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^([a-z]{2})/(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$3&language=$1 [L,QSA]
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}
# End Ultimate SEO V2.2d

RewriteRule ^([a-z]{2})/(.*)$ $2?language=$1 [L,QSA]

RewriteRule ^(.*).html$ $1.php
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Posted

I am receiving the following messages from paypal . It seems the IPN are failing and i don't know why . Could someone tell me the cause ? the return url of ipn messages is www.ecig-vapo.com/checkout_process.php

 

Subject: PayPal Instant Payment Notification Warning

 

Hello ,

 

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

 

http://www.ecig-vapo.com/it/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/ro/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/tr/ext/modules/payment/paypal/standard_ipn.html

http://www.ecig-vapo.com/ext/modules/payment/paypal/standard_ipn.html

 

If you do not recognize this URL, you may be using a service provider that is using IPN on your behalf. Please contact your service provider with the above information. If this problem continues, IPNs may be disabled for your account.

 

Thank you for your prompt attention to this issue.

 

 

Thanks,

 

PayPal

 

Paypal calls those files and gets a 404 because they don't exist, so they send you that message.

 

In your paypal account, go to profile > more options > my selling tools > instant payment notifications , click update, in the notification URL put http://www.ecig-vapo.com/ext/modules/payment/paypal/standard_ipn.php

~ Don't mistake my kindness for weakness ~

Posted

Thank you , i had modified and i tried to made an order with my credit card , but still no order recorded in database if i don't come back to website . It is possible that the IPN is not sent instantly ? and sent later ?

Posted

I think it's important to know for everyone that the site in question is using some version of a one page checkout. The standard paypal module works out of the box and this error is most likely caused by the checkout system being used. The reason I say this is because people are troubleshooting based on a standard install when in fact this not that at all. Just my opinion...

Matt

Archived

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

×
×
  • Create New...