Sponsored Links:

myPaymentPal Forums >> myPaymentPal Support Forum

Pages: 1
smilesforu
journeyman


Reged: 08/31/03
Posts: 85
renewal bug
      #3097 - 05/03/05 11:39 AM

I have trouble with the automatic renewal. MPP accepts the payment but doesn't update the expiration date. Then when I manually expire accounts they get the boot. I been manually adding them back in or trying to update before running the manual cron expire.

Post Extras: Print Post   Remind Me!   Notify Moderator  
JoshAdministrator
Second Banana


Reged: 06/10/03
Posts: 1185
Loc: United States
Re: renewal bug [Re: smilesforu]
      #3107 - 05/19/05 06:58 PM

You mean recurring? Recurring subscriptiosn won't have an expiration date. If the user cancels the automatic recurring charge, then paypal sends another IPN to remove them from the group. The cron job should only remove one time subscriptions and manually entered subscriptions. Recurring subs only get 2 IPNs from the paypal site, one for signup and one when it's been cancelled.

--------------------
Josh
www.ThreadsDev.com
www.VertexHost.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
JoshAdministrator
Second Banana


Reged: 06/10/03
Posts: 1185
Loc: United States
Re: renewal bug [Re: Josh]
      #3108 - 05/19/05 07:44 PM

Ah - I see the issue. Towards the end of April, PayPal made some changes in the format in which they transmit some of the IPN info. i wasn't aware, but was just reading about the loads of problems over at paypaldev.com. They do now transmit an ending date with recurring (in the past there hasn't been an ending date on recurring). So the cron script is expiring stuff with an ending date.

The Fix to the /cron/expiresubs.php cron script.

Near the top find this:

Code:

WHERE t1.U_Number = t2.Sd_UserId



Change to:
Code:

WHERE t1.U_Number = t2.Sd_UserId
AND t2.Sd_recurring != 1



I will post updated whole scripts shortly for those that don't want to edit the file. Marty, I updated yours. Also did a test purchase on your site. When you get a moment, if you woulnd't mind logging into paypal and cancelling/refunding my transaction I'd appreciate it.

--------------------
Josh
www.ThreadsDev.com
www.VertexHost.com


Post Extras: Print Post   Remind Me!   Notify Moderator  
smilesforu
journeyman


Reged: 08/31/03
Posts: 85
Re: renewal bug [Re: Josh]
      #3113 - 05/20/05 12:48 AM

all set thanks

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 0 anonymous users are browsing this forum.

Moderator:  Josh 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1764

Rate this topic

Jump to

Contact Us Home

*
UBB.threads™ 6.5
Modified by Joshua Pettit


free website counter


Loans - Debt Consolidation - Phoenix Pools - Credit Cards