I will add a patch later today to this issue that allows for subscription payments to be made via the WPS module.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

rszrama’s picture

Would be great to get some test IPNs going, too. I won't have time to run those tests myself for a while, and my live site using this module doesn't need subscriptions.

fenda’s picture

Patch attached. I agree, would be nice to have some automated tests on this.
However, I am using this patch on my live site with subscriptions and it's working beautifully.

fenda’s picture

Status: Active » Needs review
rszrama’s picture

Ahh, no, I wasn't worried about automated tests; just wanted to basically ensure you were testing the code against actual IPNs from PayPal, whether on a live site or in their sandbox server. Sounds like you have good live testing going on. : )

tribsel’s picture

ok, so in this case u set subscriptions at payment method level?
how this will be different from commerce_subscription and commerce_sp + commerce_sp_paypal?

andregriffin’s picture

Is there a way to support WPP subscriptions?

aasarava’s picture

Issue summary: View changes

@fenda, this patch you wrote a couple years ago looks really helpful and seems to fill in a missing piece of the puzzle that many people are looking for. Does the patch generate new orders and then attach the incoming payments to them? Or is it all up to the implementer to set up custom rules to do whatever's necessary once the code in the patch triggers a payment event?

Thanks for your help!