Elxis CMS Forum
Extensions => Components => Topic started by: stepsdesigns on January 27, 2011, 19:21:19
-
iam using IOSR for a multi hotels
every thing is good
but when i make a reservation and pay it with pay pal
and the payment is completed
after that the reservations should mark as paid and confirmed
but it is not the reservation still not paid and not confirmed
note that all the files are taken permeation 755 and all files are taken 644 permeation
so where is the error???
some one can help me ?
-
Make sure the IOSR-paypal IPN page is accessible via web and does not generates internal server error.
If you use suphp and have the files mode to 666 or the parent folder to 777 you will get an error.
Chmod directories to 755 and files to 644.
1st check, make sure this file does not generates "internal server error", "forbidden" or similar errors.
http://www.example.com/components/com_reservations/pm/ipn.php
If yes, chmod ipn.php to 644, pm/ folder to 755, com_reservations/ folder to 755 and components/ folder to 755.
-
Make sure the IOSR-paypal IPN page is accessible via web and does not generates internal server error.
If you use suphp and have the files mode to 666 or the parent folder to 777 you will get an error.
Chmod directories to 755 and files to 644.
1st check, make sure this file does not generates "internal server error", "forbidden" or similar errors.
http://www.example.com/components/com_reservations/pm/ipn.php
If yes, chmod ipn.php to 644, pm/ folder to 755, com_reservations/ folder to 755 and components/ folder to 755.
all folders are chmod to 755 and files to 644
when i do tybe
http://www.example.com/components/com_reservations/pm/ipn.php
with my site address
i get just page with one word
BAD
note that iam using a php confegration file coz i have a sup php
with this confegrations
allow_url_fopen = Off
short_open_tag = Off
register_globals = Off
display_errors = Off
magic_quotes_gpc = Off
date.timezone = "Egypt/Cairo"
session.save_path = "/home/craftgr1/public_html/book2egypt/tmpr/"
disable_functions = "system, exec, passthru, shell_exec, suexec, dbmopen, popen, proc_open, disk_free_space, diskfreespace, set_time_limit, leak"
as book2egypt is the web site root folder
and i don't know what to do to fix it :S
-
It is OK to see the word BAD
This means that the IPN system works fine!
This page validates paypal's (only) IPN requests, so by accessing that page directly from the browser it validates you and says that you are not a valid paypal request. That's why it returns BAD as reply. For valid paypal's requests it will return OK. It is working fine.