Webmastersite.net
Register Log In

Paypal payment hides new listing?

Comments on Paypal payment hides new listing?

RedstoneMG
Member

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada

Total Topics: 7
Total Comments: 33
Posted May 04, 2006 - 7:30 AM:

Anyone found this problem? I'm testing my link submission, and after making a payment through paypal the listing is hidden.

My member group settings:
Members can submit: Links
Requires validation of: Links & Link Edits

After paypal I have to go to Search/Edit and unhide the listing choice, and then it will show up. Is this a type of validation? If this is - shouldn't you show links that are hidden on the Validate Item page?

I don't know if this is a glitch or supposed to happen. Maybe there should be another option on the Manage Usergroups area for sponsored links.

Example: Require Validation of: Links, Categories, Link Edits, Sponsored Links, Comments

Realistically I don't want to validate the people who have paid through paypal. If someone is paying to be in the directory they are more than likely to be legit. But I do want to validate the free postings - I want to make sure they aren't spammers. Also kind of a nice marketing tool - be listed immediately with paypal...free listings allow 2-3 business days for validation...
zippo
Forum Regular

Usergroup: Customer
Joined: Jan 11, 2006

Total Topics: 48
Total Comments: 166
zippo
Posted May 04, 2006 - 8:43 AM:

I haven't tried the paypal support but as I recall there was some reliance on specific paypal settings and/or API calls in order for the script to know the payment was made and correct.

I forget if those settings at paypal mandates a "Pro" or commecial paypal account or not.. Anyhow, is it a possibly that the link is hidden because the script is not able to determine if the payment was made successfully?

After re-reading your post, it seems that you're needing to create a new usergroup -- one for 'sponsors' that does not require link validation.

Again, I only have cursory experience with that so far..

FWIW, I set members as not requiring link validation since I do have to validate their membership. That might be an option you could use.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 04, 2006 - 1:21 PM:

This sounds familiar from somewhere, what version are you using?
RedstoneMG
Member

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada

Total Topics: 7
Total Comments: 33
Posted May 05, 2006 - 9:24 AM:

Hi, I'm using 3.3.15 (also happened with previous versions)

PAYPAL INFO:
I'm a verified business account with Paypal
Instant Payment Notification (IPN): ON
Instant Payment Notification (IPN) URL: /dir/paypal.php
API is not setup
Payment Data Transfer (optional): ON
Auto Return for Website Payments: ON - linking to custom thanks page (working link)
Encrypted Website Payments: OFF


I want everyone to be a member. Members will be able to use/submit to the forums, events, classifieds & directory. I may have to just validate everything, after I figure out what is causing this glitch to hide the paypal submissions.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted May 06, 2006 - 5:06 PM:

Well if you look in paypal.php it says
$thelink->validated = 1;
$thelink->hide = 0;
$thelink->update('funds,type,ip,origtype,validated,hide');

It doesn't look logically possible for the validation=1 part to process without the hide=0 part processing.

What do you mean by talking about members? Isn't this link type sponsorship?
finsandfur
Forum Regular

Usergroup: Customer
Joined: Apr 18, 2006

Total Topics: 28
Total Comments: 103
Posted May 06, 2006 - 7:27 PM:

I'm getting the same thing in 3.3.13, but I was testing it without a PayPal payment.

I edited a link and changed it to "Sponsor", and then edited the "link fund" field to an actual dollar amount instaed of zero, and it automatically hid the link.
finsandfur
Forum Regular

Usergroup: Customer
Joined: Apr 18, 2006

Total Topics: 28
Total Comments: 103
Posted May 06, 2006 - 9:24 PM:

shaking head scratch that...sorry folks.
I had my html add-in screwed up in the "show links in category" tpl.

They show up now with their own style...(when edited to be sponsors). I haven't tested the PayPal submission yet. Will do on Monday.
RedstoneMG
Member

Usergroup: Customer
Joined: Jun 15, 2005
Location: Ontario, Canada

Total Topics: 7
Total Comments: 33
Posted May 08, 2006 - 6:56 AM:

Sorry for the delay - was gone this weekend.

The member stuff was just for zippo who was suggesting some options about validating members etc...

I understand your point Paul - it doesn't seem to make any sense. It shows hide=0 for me too in my paypal.php.

I'm going to install a completely fresh wsn links and try my paypal again to see if it could be paypal hiding my listing.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted May 13, 2006 - 2:05 PM:

Anyone found this problem? I'm testing my link submission, and after making a payment through paypal the listing is hidden.

I have done lot of tests with paypal sandbox and,

Yes, the link is hidden after completing the payment for link sponsorship.

I have tested multilingual with spanish, and also default template set with fullenglish. At both cases behaviour is the same, the link does not presents in the directory, it's hidden.

After looking for hidden links and edited for not to be hidden it shows correctly with the funds added and presents with the correct layout of the sponsor type.

Going further and paying for increase the funds for this link, its hidden again.

Paul,
I would like to coment that for completing the tests at sandbox
I had to change, at "paypal.php" :
$fp = fsockopen ("www.paypal.com", 80, $errno, $errstr, 30);
to
$fp = fsockopen ("www.sandbox.paypal.com", 80, $errno, $errstr, 30);

Hope you can test it too.

To complete the information: Tested at WSNLinks versions 3.3.15 and 3.3.17
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#10 - Quote - Permalink
Posted May 15, 2006 - 1:42 AM:

After spending 3 hours setting up sandbox stuff, I've discovered it's impossible to test -- it doesn't allow sandox payments that use a credit card which is associated with real accounts (and doesn't accept fake info either) and I don't have any other credit cards.

That credit card number is already assigned to another PayPal account. For security purposes, each credit card may only be assigned to one PayPal account. Please use a different card.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
#11 - Quote - Permalink
Posted May 15, 2006 - 7:09 PM:

When paying, at checkout window of the sandbox enviropment you have to
login (at the bottom of the window) at Paypal Login with the email and password of the personal paypal account you have created for the sandbox enviropment. When paying you will not have to enter this credit card data.

Just a brief steps in case others need to check at paypal sandbox:

1. Register at developer.paypal.com
2. Create a personal account(test-user to pay).

2.1 Take note that the system gives you a the test credit card account
(do not change it, except the expiration date):
You will not have to enter this information when paying as when testing a payment, you will be login with the email and password of the test personal paypal account you have created.

3. At development.paypal.com follow (copy and paste) the link emailed to this new user to activate the paypal personal account
4. Create a business account
5. Enter the correct IPN for this business account.
6. At WSNLinks admin panel, Customization->Templates, change the corresponding URL at sponsor.tpl template in order to post to www.sandbox.paypal.com.
7. At WSNLinks admin panel,Settings->Sponsorship, enter the corresponding email for your test business sandbox paypal account.

8. At paypal.php I have changed:

$fp = fsockopen ("www.paypal.com", 80, $errno, $errstr, 30);
to
$fp = fsockopen ("www.sandbox.paypal.com", 80, $errno, $errstr, 30);

As suggested by Paul I have also added the following notification to check paypal has being accessed, just below <?php :

mail("name@mysite.com", "TESTING PAYPAL.PHP ACCESS", "The paypal.php file was accessed.", "From: mysite@mysite.com");

9. Finally you have to be loged in at developer.paypal.com to test trial payments.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#12 - Quote - Permalink
Posted May 16, 2006 - 3:22 PM:

They didn't give me any such info, unless it was in 1pt font hidden off screen. After confirming the email on the main account there were no more emails.

Turning debug mode on to show all queries should cause it to email you as well.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
#13 - Quote - Permalink
Posted May 16, 2006 - 6:20 PM:

a) At " https://developer.paypal.com/" Create a main account.
b) Loged in this main account click at sandbox menu
c) At sandbox menu click at Create Account:
Here you will have to create two accounts:

- First you will create a business account (select business). The email of this account is the one to enter at WSNLinks admin panel,Settings->Sponsorship

- Then you will create another account and select this to be a personal type account. The system will generate a credit card automatically (just correct the expire date). *Take note of the email and password of this personal account, as you will use them to login when testing the payments as a user.

Please PM me the steps you have follow in order to know what you may have missed.
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
#14 - Quote - Permalink
Posted May 19, 2006 - 8:39 AM:

You skipped the hardest part:
2.2. Confirm your email, not by looking at your email but by finding the camoflagued "email" tab in developer central.

That's what I couldn't get past.

Anyhow after getting a payment sent, I find it reports the payment as invalid to the script. To test, replace
else if (strcmp ($res, "INVALID") == 0) {
// log for manual investigation
}

with
else if (strcmp ($res, "INVALID") == 0) {
// log for manual investigation
mail("you@yourdomain.com", "Invalid test payment", "Didn't work.", "From: test@test.com");
}


Can't find a way to make a valid payment.
peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
#15 - Quote - Permalink
Posted May 20, 2006 - 1:25 AM:

Really I was thinking that I should have mentioned that point.

I was having my test payments validated. In order you to test it at sandbox too,
have you changed at paypal.php the point 8 I mentioned ?


I believe all the difficulty of hidden links is solved just by replacing at paypal.php.

$thelink->hide = 0;
to
$thelink->hide = no;

Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.