Reported by beifler.

If the cron runs more than once a day, recurring payments will be recorded (not charged) additional times.

Comments

kwinters’s picture

The following changes have been made and committed to devel:

* Process each recurring profile once per day, rather than some combination of every cron run (order creation) and never (profiles deactivated through manager.paypal.com)
* Update the pnref to use the most recent payment (original is stored in a separate column already)
* Only do order processing if a new payment was found

I'm not 100% sure that recurring payments that fail will be handled gracefully. There are multiple status code fields, and I can't easily tell how failed payments will come back through the web service. I'm planning on adding more info to the order / payment comment to track this.

kwinters’s picture

Additional logging is now in place.

kwinters’s picture

Status: Active » Fixed

Fixed in 6.x-1.2

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.