No, it does the deductions for all links at once so it's just once every 24 hours from an essentially random point.
So I noticed that when I made my first successful payment, the link type changed and funds were added about 12 hours later. Is this the way it's supposed to work (as with deductions)??
Also wanted to ask: If ad Admin changes the value for "Expiration", does that affect the sponsorship funds remaining?
Likewise, is the Expiration calculated from the remaining funds?
For "expiration", I had that confused with {LINKFUNDSPROJECTION}. My mistake.
OK, so if the funds aren't added immediately, there is a problem. I've been reading over the forum postings when you were first developing the Paypal integration, and I've placed lines in paypal.php that e-mail me when the file is accessed and e-mail me all the payment details when it is successful.
I've made 5 successful payments (with emails sent to me after) but only one has actually forced a link type sponsorship...
<?php mail("my@email", "TESTING PAYPAL.PHP ACCESS", "The paypal.php file was accessed.", "From: default@email");
and the end of the file:
$debug = 1; if ($debug) mail("my@email", "Debug info from sponsorship purchase", "linkid is $linkid , payment amount is $payment_gross $reportstuff ", "From: default@email"); ?>
I get both e-mails. I am thinking that I may need to edit the POSTBACK variables to include all the extra subscription fields. But on the Paypal side the payment processes without a problem, so WSN should recognize the funds....
Somewhere along the line I removed the "item_number" field, so WSN didn't know what the new link type was supposed to be. Seems to be working fine now.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on payment for link sponsorships
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
I am trying to implement Paypal subscriptions for link sponsorships. I set up the Sandbox and have made several successful payments.
I read https://www.webmastersite.net/forums/thread/5067 (ancient as it may be) and noticed the following info:
So I noticed that when I made my first successful payment, the link type changed and funds were added about 12 hours later. Is this the way it's supposed to work (as with deductions)??
Also wanted to ask:
If ad Admin changes the value for "Expiration", does that affect the sponsorship funds remaining?
Likewise, is the Expiration calculated from the remaining funds?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The funds are added as soon as paypal approves the payment and calls paypal.php.
The only "expiration" setting I recall has nothing whatsoever to do with sponsorship, which is why it's not on the sponsorship page.
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
For "expiration", I had that confused with {LINKFUNDSPROJECTION}. My mistake.
OK, so if the funds aren't added immediately, there is a problem. I've been reading over the forum postings when you were first developing the Paypal integration, and I've placed lines in paypal.php that e-mail me when the file is accessed and e-mail me all the payment details when it is successful.
I've made 5 successful payments (with emails sent to me after) but only one has actually forced a link type sponsorship...
I'll keep trying...
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Did you set the $debug=1 line to get debug info emailed?
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
As recommended in that old thread, I added
first line of the file:
mail("my@email", "TESTING PAYPAL.PHP ACCESS", "The paypal.php file was accessed.", "From: default@email");
and the end of the file:
if ($debug) mail("my@email", "Debug info from sponsorship purchase", "linkid is $linkid , payment amount is $payment_gross
$reportstuff
", "From: default@email");
?>
I get both e-mails. I am thinking that I may need to edit the POSTBACK variables to include all the extra subscription fields. But on the Paypal side the payment processes without a problem, so WSN should recognize the funds....
Nothing is impossible...
Usergroup: Customer
Joined: Aug 07, 2006
Location: Tampa, Florida
Total Topics: 36
Total Comments: 91
Sorry for wasting your time....
Somewhere along the line I removed the "item_number" field, so WSN didn't know what the new link type was supposed to be. Seems to be working fine now.