SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 23, 2012, 01:05:37 pm

Login with username, password and session length
Members
Total Members: 10069
Latest: tetsujrock
Stats
Total Posts: 28682
Total Topics: 4975
Online Today: 94
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 42
Total: 42
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: CHMOD for classifiedsipn  (Read 7851 times)
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« on: August 24, 2008, 09:16:05 pm »

can someone tell what the chod setting for classifiedsipn.php should be?

when purchasing ad credits, the transaction is going through paypal ok, but the credits never show up in the user's acct
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #1 on: August 25, 2008, 07:27:28 am »

Should be at least 755
Logged
healthboss.com.
Newbie
*
Offline Offline

Posts: 1


View Profile WWW
« Reply #2 on: August 26, 2008, 01:25:26 pm »

Should be at least 755
great day to you all, peace!
Logged

Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #3 on: August 27, 2008, 10:24:52 pm »

i've been trying to get my classifieds working but cannot get past purchasing credits

the money transfers ok through paypal (from buyer to me), but the credits never show up in the buyer's account.

i turned on debugging and created a txt file in my root "paypal_class_logs.txt" (writalble) but i receive nothing there or in email

i also noticed in my Classifieds Admin that it calls for the following IPN

Your Version: 1.2.7 Latest Version: 1.2.7
Settings
IPN Url: http://tiltbuster.com/classifieldsipn.php

notice the L in classifieLds


i thought maybe if renamed classifiedsipn.php to classifieldsipn.php it might help - but still no joy

any ideas?

Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #4 on: August 27, 2008, 10:34:31 pm »

Fixed the ipn url display setting for next update

I clicked on that link and got an error on
Fatal error: Call to undefined function: file_put_contents() in /home/content/t/i/l/tiltbuster/html/classifieldsipn.php on line 46

To fix disable debug mode
Find
$paypal_debug = true;
Change to
$paypal_debug = false;

In classifiedsipn.php
Logged
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #5 on: August 27, 2008, 11:33:51 pm »

ok set things back to normal

http://tiltbuster.com/classifiedsipn.php

debug set to false

same problem - when buying credits - transaction takes place in paypal ok, but no ad credits are given to buyer  Huh
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #6 on: August 28, 2008, 10:13:21 pm »

Ok. A couple other questions since this is strange. You have SMF Store which uses basically the same IPN code as the classifieds.

What PHP version are you running?

Do you see anything related in your forum's error log that could be from the classifieds?

The classifieds and store both require fscockopen to verify with paypal
Logged
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #7 on: August 29, 2008, 07:58:08 pm »

PHP Version: PHP 5.x

these errors show up in my log - Bent Poker is my alias login as regular member i have been using to test the ads

Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #8 on: August 30, 2008, 08:47:36 am »

i also noticed that when i go to the transactions page, there are no transactions
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #9 on: August 30, 2008, 01:03:09 pm »

Released an Update 1.2.9
Added sandbox option under payment modules
Adding a lot more debugging

Do the following
check permissions on classifiedsipn.php is 755
Change
define('DEBUG_CLASSIFIEDS','0');
to
define('DEBUG_CLASSIFIEDS','1');

Create a file in the root of your forum called classifieds_debug.txt and make it writable or 777

Run a transaction and look at the classifieds_debug.txt
Logged
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #10 on: August 31, 2008, 05:11:21 pm »

Quote
August 31, 2008, 3:05 pm
Entering New Debug request
August 31, 2008, 3:05 pm
PayPal Post Variables: cmd=_notify-validate&mc_gross=5.00&address_status=confirmed&payer_id=JG4PMV5JU3YFG&tax=0.00&address_street=3466+N+Main+St&payment_date=15%3A05%3A09+Aug+31%2C+2008+PDT&payment_status=Completed&charset=windows-1252&address_zip=46714&first_name=Douglas&mc_fee=0.45&address_country_code=US&address_name=Douglas+Hoag&notify_version=2.4&custom=98%7Ca4bc4973d48181bb601539b3830d6c91&payer_status=verified&business=barnuthin%40tiltbuster.com&address_country=United+States&address_city=Bluffton&quantity=1&verify_sign=AsC6XWAK.mD9b8DQxy3wAs8VoLAOAvKHcNhkaiogwhdpTCiDWEMcRX4G&payer_email=barnuthin%40psthemes.com&txn_id=57072008KB1052010&payment_type=instant&last_name=Hoag&address_state=IN&receiver_email=barnuthin%40tiltbuster.com&payment_fee=0.45&receiver_id=3F4H4JZJUYWW8&txn_type=web_accept&item_name=Listing+Credit+for+Hard+Goods+For+Sale&mc_currency=USD&item_number=cat1&residence_country=US&payment_gross=5.00&shipping=0.00

this is the text returned to classifieds_debug.txt
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #11 on: August 31, 2008, 08:10:22 pm »

Closer added some more debugging to help see where it is going on.
Download the latest from:
http://www.smfhacks.com/index.php/topic,1149.msg6645.html#msg6645
Logged
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #12 on: September 01, 2008, 10:36:03 am »

Quote
September 1, 2008, 8:32 am
Entering New Debug request
September 1, 2008, 8:32 am
PayPal Post Variables: cmd=_notify-validate&mc_gross=5.00&address_status=confirmed&payer_id=JG4PMV5JU3YFG&tax=0.00&address_street=3466+N+Main+St&payment_date=08%3A32%3A29+Sep+01%2C+2008+PDT&payment_status=Completed&charset=windows-1252&address_zip=46714&first_name=Douglas&mc_fee=0.45&address_country_code=US&address_name=Douglas+Hoag&notify_version=2.4&custom=98%7Ca4bc4973d48181bb601539b3830d6c91&payer_status=verified&business=barnuthin%40tiltbuster.com&address_country=United+States&address_city=Bluffton&quantity=1&verify_sign=AnqGr.bUBPAKqaHVqvy1hyuvLH0HANHPO5x3YAOVnQlvZxGlXxh-PRKb&payer_email=barnuthin%40psthemes.com&txn_id=8AA234955B356253K&payment_type=instant&last_name=Hoag&address_state=IN&receiver_email=barnuthin%40tiltbuster.com&payment_fee=0.45&receiver_id=3F4H4JZJUYWW8&txn_type=web_accept&item_name=Listing+Credit+for+Hard+Goods+For+Sale&mc_currency=USD&item_number=cat1&residence_country=US&payment_gross=5.00&shipping=0.00

not sure how to interpret this, but this is with the newest download 1.2.9.1
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9676


View Profile
« Reply #13 on: September 01, 2008, 04:41:08 pm »

Check to make sure the following is set to false then try to run the transaction again.
$paypal_debug = false;



Noticed: when I went to http://tiltbuster.com/classifiedsipn.php and saw the error
Logged
Bar Nuthin
SMF Store Customer
Jr. Member
*****
Offline Offline

Posts: 98



View Profile WWW
« Reply #14 on: September 01, 2008, 05:14:36 pm »

Quote
September 1, 2008, 2:40 pm
Entering New Debug request
September 1, 2008, 2:40 pm
PayPal Post Variables: cmd=_notify-validate
September 1, 2008, 2:42 pm
Entering New Debug request
September 1, 2008, 2:42 pm
PayPal Post Variables: cmd=_notify-validate
September 1, 2008, 3:09 pm
Entering New Debug request
September 1, 2008, 3:09 pm
PayPal Post Variables: cmd=_notify-validate&mc_gross=5.00&address_status=confirmed&payer_id=JG4PMV5JU3YFG&tax=0.00&address_street=3466+N+Main+St&payment_date=15%3A09%3A02+Sep+01%2C+2008+PDT&payment_status=Completed&charset=windows-1252&address_zip=46714&first_name=Douglas&mc_fee=0.45&address_country_code=US&address_name=Douglas+Hoag&notify_version=2.4&custom=98%7Ca4bc4973d48181bb601539b3830d6c91&payer_status=verified&business=barnuthin%40tiltbuster.com&address_country=United+States&address_city=Bluffton&quantity=1&verify_sign=A7JgjqJMuOEnIYjauU.XetI3n07PA66tJw6IInjgDiZ9CNpbMSBH-5c3&payer_email=barnuthin%40psthemes.com&txn_id=3H691739CU0968646&payment_type=instant&last_name=Hoag&address_state=IN&receiver_email=barnuthin%40tiltbuster.com&payment_fee=0.45&receiver_id=3F4H4JZJUYWW8&txn_type=web_accept&item_name=Listing+Credit+for+Hard+Goods+For+Sale&mc_currency=USD&item_number=cat1&residence_country=US&payment_gross=5.00&shipping=0.00
September 1, 2008, 3:09 pm
Begin fsock test:
September 1, 2008, 3:09 pm
End fsock test:
September 1, 2008, 3:09 pm
Entering FP check
September 1, 2008, 3:09 pm
Doing Get:POST /cgi-bin/webscr HTTP/1.0

Content-Type: application/x-www-form-urlencoded

Content-Length: 921



cmd=_notify-validate&mc_gross=5.00&address_status=confirmed&payer_id=JG4PMV5JU3YFG&tax=0.00&address_street=3466+N+Main+St&payment_date=15%3A09%3A02+Sep+01%2C+2008+PDT&payment_status=Completed&charset=windows-1252&address_zip=46714&first_name=Douglas&mc_fee=0.45&address_country_code=US&address_name=Douglas+Hoag&notify_version=2.4&custom=98%7Ca4bc4973d48181bb601539b3830d6c91&payer_status=verified&business=barnuthin%40tiltbuster.com&address_country=United+States&address_city=Bluffton&quantity=1&verify_sign=A7JgjqJMuOEnIYjauU.XetI3n07PA66tJw6IInjgDiZ9CNpbMSBH-5c3&payer_email=barnuthin%40psthemes.com&txn_id=3H691739CU0968646&payment_type=instant&last_name=Hoag&address_state=IN&receiver_email=barnuthin%40tiltbuster.com&payment_fee=0.45&receiver_id=3F4H4JZJUYWW8&txn_type=web_accept&item_name=Listing+Credit+for+Hard+Goods+For+Sale&mc_currency=USD&item_number=cat1&residence_country=US&payment_gross=5.00&shipping=0.00
September 1, 2008, 3:09 pm
Res:</BODY></HTML>

with debug=false
Logged

see my smf stores at www.psthemes.com and www.tiltbuster.com
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  

Recent
[May 21, 2012, 08:54:11 am]

[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 4.804 seconds with 19 queries.